summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2010-07-27 02:16:18 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2010-07-27 02:16:18 +0000
commitbdf4348a9b088f11d1e8927e7fb720ca1bbae463 (patch)
tree67a18df56a1ed53fc5e14afa349ef313d091e080 /media-libs/sdl-ttf
parentStable for HPPA PPC (bug #325845). (diff)
downloadgentoo-2-bdf4348a9b088f11d1e8927e7fb720ca1bbae463.tar.gz
gentoo-2-bdf4348a9b088f11d1e8927e7fb720ca1bbae463.tar.bz2
gentoo-2-bdf4348a9b088f11d1e8927e7fb720ca1bbae463.zip
EAPI=2; add support for USE=static-libs
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'media-libs/sdl-ttf')
-rw-r--r--media-libs/sdl-ttf/ChangeLog5
-rw-r--r--media-libs/sdl-ttf/sdl-ttf-2.0.9.ebuild17
2 files changed, 16 insertions, 6 deletions
diff --git a/media-libs/sdl-ttf/ChangeLog b/media-libs/sdl-ttf/ChangeLog
index 072173b0f8c2..b1ba4aca65fd 100644
--- a/media-libs/sdl-ttf/ChangeLog
+++ b/media-libs/sdl-ttf/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-libs/sdl-ttf
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-ttf/ChangeLog,v 1.47 2010/01/15 09:49:54 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-ttf/ChangeLog,v 1.48 2010/07/27 02:16:18 mr_bones_ Exp $
+
+ 27 Jul 2010; Michael Sterrett <mr_bones_@gentoo.org> sdl-ttf-2.0.9.ebuild:
+ EAPI=2; add support for USE=static-libs
15 Jan 2010; Christian Faulhammer <fauli@gentoo.org> sdl-ttf-2.0.9.ebuild:
Transfer Prefix keywords
diff --git a/media-libs/sdl-ttf/sdl-ttf-2.0.9.ebuild b/media-libs/sdl-ttf/sdl-ttf-2.0.9.ebuild
index b5a799369586..323892c2cd33 100644
--- a/media-libs/sdl-ttf/sdl-ttf-2.0.9.ebuild
+++ b/media-libs/sdl-ttf/sdl-ttf-2.0.9.ebuild
@@ -1,7 +1,8 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-ttf/sdl-ttf-2.0.9.ebuild,v 1.11 2010/01/15 09:49:54 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-ttf/sdl-ttf-2.0.9.ebuild,v 1.12 2010/07/27 02:16:18 mr_bones_ Exp $
+EAPI=2
MY_P="${P/sdl-/SDL_}"
DESCRIPTION="library that allows you to use TrueType fonts in SDL applications"
HOMEPAGE="http://www.libsdl.org/projects/SDL_ttf/"
@@ -10,7 +11,7 @@ SRC_URI="http://www.libsdl.org/projects/SDL_ttf/release/${MY_P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
-IUSE="X"
+IUSE="static-libs X"
DEPEND="X? ( x11-libs/libXt )
media-libs/libsdl
@@ -18,12 +19,18 @@ DEPEND="X? ( x11-libs/libXt )
S=${WORKDIR}/${MY_P}
-src_compile() {
- econf $(use_with X x) || die "econf failed"
- emake || die "emake failed"
+src_configure() {
+ econf \
+ --disable-dependency-tracking \
+ $(use_with static-libs static) \
+ $(use_with X x)
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc CHANGES README
+ if ! use static-libs ; then
+ find "${D}" -type f -name '*.la' -exec rm {} + \
+ || die "la removal failed"
+ fi
}