diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2009-01-12 16:27:48 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2009-01-12 16:27:48 +0000 |
commit | 5786fe5eecb0e3561d2dd2b454e9beef3801f4b8 (patch) | |
tree | 337feef42d916f5c9217758ac5be93766f750104 | |
parent | josm-plugins new snapshot (diff) | |
download | gentoo-2-5786fe5eecb0e3561d2dd2b454e9beef3801f4b8.tar.gz gentoo-2-5786fe5eecb0e3561d2dd2b454e9beef3801f4b8.tar.bz2 gentoo-2-5786fe5eecb0e3561d2dd2b454e9beef3801f4b8.zip |
EAPI=2; add use-based dep
(Portage version: 2.1.6.4/cvs/Linux 2.6.27.8 i686)
-rw-r--r-- | games-kids/stickers/ChangeLog | 8 | ||||
-rw-r--r-- | games-kids/stickers/stickers-0.1.3-r2.ebuild | 23 |
2 files changed, 17 insertions, 14 deletions
diff --git a/games-kids/stickers/ChangeLog b/games-kids/stickers/ChangeLog index f4ad06bebcbd..40f74f3aa1c1 100644 --- a/games-kids/stickers/ChangeLog +++ b/games-kids/stickers/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-kids/stickers -# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-kids/stickers/ChangeLog,v 1.14 2008/02/29 19:28:54 carlo Exp $ +# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-kids/stickers/ChangeLog,v 1.15 2009/01/12 16:27:48 mr_bones_ Exp $ + + 12 Jan 2009; Michael Sterrett <mr_bones_@gentoo.org> + stickers-0.1.3-r2.ebuild: + EAPI=2; add use-based dep 29 Feb 2008; Carsten Lohrke <carlo@gentoo.org> ChangeLog: Remove icon extension from desktop entry to match Icon Theme Specification. diff --git a/games-kids/stickers/stickers-0.1.3-r2.ebuild b/games-kids/stickers/stickers-0.1.3-r2.ebuild index 4fde1802fc32..ceb0a4462e18 100644 --- a/games-kids/stickers/stickers-0.1.3-r2.ebuild +++ b/games-kids/stickers/stickers-0.1.3-r2.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-kids/stickers/stickers-0.1.3-r2.ebuild,v 1.3 2008/02/29 19:28:54 carlo Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-kids/stickers/stickers-0.1.3-r2.ebuild,v 1.4 2009/01/12 16:27:48 mr_bones_ Exp $ +EAPI=2 inherit eutils DESCRIPTION="Stickers Book for small children" @@ -13,26 +14,25 @@ SLOT="0" KEYWORDS="amd64 ppc x86" IUSE="nls" -RDEPEND="media-libs/imlib +RDEPEND="media-libs/imlib[gtk] x11-libs/libXext x11-libs/libX11 x11-libs/libXi - =x11-libs/gtk+-1.2* + x11-libs/gtk+:1 nls? ( virtual/libintl )" DEPEND="${RDEPEND} x11-proto/xextproto x11-proto/xproto nls? ( sys-devel/gettext )" -src_unpack() { - unpack ${A} +src_prepare() { # gcc34 fix? (bug #72734) sed -i \ - -e '/ONTRACE/d' "${S}/rc.c" \ + -e '/ONTRACE/d' rc.c \ || die "sed failed" } -src_compile() { +src_configure() { local myconf use nls || myconf="${myconf} --disable-nls" @@ -41,15 +41,14 @@ src_compile() { --infodir=/usr/share/info \ --mandir=/usr/share/man \ ${myconf} || die "configure failed" - emake || die "emake failed" } src_install () { - make \ + emake \ prefix="${D}/usr" \ infodir="${D}/usr/share/info" \ mandir="${D}/usr/share/man" install \ - || die "make install failed" + || die "emake install failed" newicon scenes/Aquarium.scene.xpm ${PN}.xpm - make_desktop_entry ${PN} Stickers ${PN} + make_desktop_entry ${PN} Stickers } |