Ticket #128: e-20090313.ebuild.diff
| File e-20090313.ebuild.diff, 2.2 KB (added by alonbl, 3 years ago) |
|---|
-
.ebuild
old new 1 1 # Copyright 1999-2008 Gentoo Foundation 2 2 # Distributed under the terms of the GNU General Public License v2 3 3 4 EAPI=2 5 4 6 inherit enlightenment 5 7 6 8 DESCRIPTION="Enlightenment E17 window manager" … … 17 19 =dev-libs/eina-${PVR} 18 20 =dev-libs/efreet-${PVR} 19 21 =x11-libs/ecore-${PVR} 20 =x11-libs/evas-${PVR}[ eet]22 =x11-libs/evas-${PVR}[gif,jpeg,png,tiff,fontconfig,eet,X?] 21 23 =media-libs/edje-${PVR} 22 dbus? ( =x11-libs/e_dbus-${PVR} )24 dbus? ( =x11-libs/e_dbus-${PVR}[hal] ) 23 25 X? ( x11-libs/libX11 ) 24 26 alsa? ( media-libs/alsa-lib ) 25 27 pam? ( sys-libs/pam )" … … 30 32 31 33 S="${WORKDIR}/${PN}" 32 34 33 pkg_setup() {34 if use dbus && ! built_with_use x11-libs/e_dbus hal; then35 die "Please rebuild x11-libs/e_dbus with the hal use flag enabled!"36 fi37 }38 39 35 src_unpack() { 40 36 subversion_src_unpack 41 37 42 38 cd "${S}" 43 39 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 49 42 } 50 43 51 44 src_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) \ 60 51 --x-includes=${SYSROOT}/usr/X11R6/include \ 61 52 --x-libraries=${SYSROOT}/usr/X11R6/lib\ 62 53 --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 68 57 } 69 58 70 59 src_install () { 71 emake DESTDIR="${D}" install || die "emake install failed"60 emake DESTDIR="${D}" install || die 72 61 dodoc AUTHORS ChangeLog COPYING NEWS README 73 62 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 78 66 }
