Changeset 260 for openmoko/trunk/openmoko-target/x11-wm/e/e-20090313.ebuild
- Timestamp:
- 03/21/09 14:39:23 (3 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
openmoko/trunk/openmoko-target/x11-wm/e/e-20090313.ebuild
r216 r260 1 1 # Copyright 1999-2008 Gentoo Foundation 2 2 # Distributed under the terms of the GNU General Public License v2 3 4 EAPI=2 3 5 4 6 inherit enlightenment … … 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 ) … … 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 … … 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 }
