Ticket #128: e-20090313.ebuild.diff

File e-20090313.ebuild.diff, 2.2 KB (added by alonbl, 3 years ago)

e-20090313.ebuild.diff

  • .ebuild

    old new  
    11# Copyright 1999-2008 Gentoo Foundation 
    22# Distributed under the terms of the GNU General Public License v2 
    33 
     4EAPI=2 
     5 
    46inherit enlightenment 
    57 
    68DESCRIPTION="Enlightenment E17 window manager" 
     
    1719        =dev-libs/eina-${PVR} 
    1820        =dev-libs/efreet-${PVR} 
    1921        =x11-libs/ecore-${PVR} 
    20         =x11-libs/evas-${PVR}[eet] 
     22        =x11-libs/evas-${PVR}[gif,jpeg,png,tiff,fontconfig,eet,X?] 
    2123        =media-libs/edje-${PVR} 
    22         dbus? ( =x11-libs/e_dbus-${PVR} ) 
     24        dbus? ( =x11-libs/e_dbus-${PVR}[hal] ) 
    2325        X?    ( x11-libs/libX11 ) 
    2426        alsa? ( media-libs/alsa-lib ) 
    2527        pam? ( sys-libs/pam )" 
     
    3032 
    3133S="${WORKDIR}/${PN}" 
    3234 
    33 pkg_setup() { 
    34         if use dbus && ! built_with_use x11-libs/e_dbus hal; then 
    35                 die "Please rebuild x11-libs/e_dbus with the hal use flag enabled!" 
    36         fi 
    37 } 
    38  
    3935src_unpack() { 
    4036        subversion_src_unpack 
    4137 
    4238        cd "${S}" 
    4339 
    44         touch README 
    45         touch ABOUT-NLS 
    46  
    47         autopoint -f || die "autopoint failed" 
    48         eautoreconf || die "eautoreconf failed" 
     40        autopoint -f || die 
     41        eautoreconf 
    4942} 
    5043 
    5144src_compile() { 
    52         local myconf 
    53  
    54         myconf="${myconf}             \ 
    55                 $(use_enable alsa)    \ 
    56                 $(use_enable files)   \ 
    57                 $(use_enable nls)     \ 
    58                 $(use_enable pam)     \ 
    59                 $(use_with   X     x) \ 
     45        econf \ 
     46                $(use_enable alsa) \ 
     47                $(use_enable files) \ 
     48                $(use_enable nls) \ 
     49                $(use_enable pam) \ 
     50                $(use_with   X x) \ 
    6051                --x-includes=${SYSROOT}/usr/X11R6/include \ 
    6152                --x-libraries=${SYSROOT}/usr/X11R6/lib\ 
    6253                --with-edje-cc=/usr/bin/edje_cc\ 
    63                 --with-eet-eet=/usr/bin/eet" 
    64  
    65         econf $myconf || die "econf failed" 
    66  
    67         emake || die "emake failed" 
     54                --with-eet-eet=/usr/bin/eet \ 
     55                || die 
     56        emake || die 
    6857} 
    6958 
    7059src_install () { 
    71         emake DESTDIR="${D}" install || die "emake install failed" 
     60        emake DESTDIR="${D}" install || die 
    7261        dodoc AUTHORS ChangeLog COPYING NEWS README 
    7362 
    74         keepdir /etc/xdg/menus 
    75         insinto /etc/xdg/menus 
    76         newins "${FILESDIR}/applications.menu" applications.menu 
    77  
     63        keepdir /etc/xdg/menus 
     64        insinto /etc/xdg/menus 
     65        newins "${FILESDIR}/applications.menu" applications.menu 
    7866}