diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2010-07-27 03:48:06 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2010-07-27 03:48:06 +0000 |
commit | 160bdf1b5f868be7358fe4dc7718bac98ac66407 (patch) | |
tree | 5377dcd27cfd9dce3e30967c6176ed27295af875 /media-libs | |
parent | Update to version that properly identifies itself as 0.23.1 (diff) | |
download | gentoo-2-160bdf1b5f868be7358fe4dc7718bac98ac66407.tar.gz gentoo-2-160bdf1b5f868be7358fe4dc7718bac98ac66407.tar.bz2 gentoo-2-160bdf1b5f868be7358fe4dc7718bac98ac66407.zip |
EAPI=2; add USE=static=libs support
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/sdl-pango/ChangeLog | 8 | ||||
-rw-r--r-- | media-libs/sdl-pango/sdl-pango-0.1.2.ebuild | 23 |
2 files changed, 24 insertions, 7 deletions
diff --git a/media-libs/sdl-pango/ChangeLog b/media-libs/sdl-pango/ChangeLog index 93f1fdbc6ce5..12b403273628 100644 --- a/media-libs/sdl-pango/ChangeLog +++ b/media-libs/sdl-pango/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-libs/sdl-pango -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-pango/ChangeLog,v 1.2 2008/01/14 09:19:14 mr_bones_ Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-pango/ChangeLog,v 1.3 2010/07/27 03:48:06 mr_bones_ Exp $ + + 27 Jul 2010; Michael Sterrett <mr_bones_@gentoo.org> + sdl-pango-0.1.2.ebuild: + EAPI=2; add USE=static=libs support 14 Jan 2008; Michael Sterrett <mr_bones_@gentoo.org> sdl-pango-0.1.2.ebuild: diff --git a/media-libs/sdl-pango/sdl-pango-0.1.2.ebuild b/media-libs/sdl-pango/sdl-pango-0.1.2.ebuild index 3e0822197dca..a63771ccd2ed 100644 --- a/media-libs/sdl-pango/sdl-pango-0.1.2.ebuild +++ b/media-libs/sdl-pango/sdl-pango-0.1.2.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-pango/sdl-pango-0.1.2.ebuild,v 1.5 2008/01/14 09:19:14 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-pango/sdl-pango-0.1.2.ebuild,v 1.6 2010/07/27 03:48:06 mr_bones_ Exp $ +EAPI=2 inherit eutils DESCRIPTION="connect the text rendering engine of GNOME to SDL" @@ -12,10 +13,10 @@ SRC_URI="mirror://sourceforge/sdlpango/SDL_Pango-${PV}.tar.gz LICENSE="GPL-2" SLOT="0" KEYWORDS="alpha amd64 hppa ia64 ppc sparc x86" -IUSE="" +IUSE="static-libs" RDEPEND="x11-libs/pango - media-libs/libsdl" + media-libs/libsdl[video]" DEPEND="${RDEPEND} dev-util/pkgconfig" @@ -23,11 +24,23 @@ S=${WORKDIR}/SDL_Pango-${PV} src_unpack() { unpack SDL_Pango-${PV}.tar.gz - cd "${S}" +} + +src_prepare() { epatch "${DISTDIR}"/SDL_Pango-0.1.2-API-adds.patch } +src_configure() { + econf \ + --disable-dependency-tracking \ + $(use_enable static-libs static) +} + src_install() { emake DESTDIR="${D}" install || die dodoc AUTHORS ChangeLog NEWS README + if ! use static-libs ; then + find "${D}" -type f -name '*.la' -exec rm {} + \ + || die "la removal failed" + fi } |