diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2012-01-16 22:43:30 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2012-01-16 22:43:30 +0000 |
commit | e0e0dab8b31f216b907824c1e1604c78580b4c5d (patch) | |
tree | 11d89fa59178a5264219333498d557cf7f476729 /media-libs/sdl-ttf | |
parent | Stable for amd64, wrt bug #396359 (diff) | |
download | gentoo-2-e0e0dab8b31f216b907824c1e1604c78580b4c5d.tar.gz gentoo-2-e0e0dab8b31f216b907824c1e1604c78580b4c5d.tar.bz2 gentoo-2-e0e0dab8b31f216b907824c1e1604c78580b4c5d.zip |
version bump
(Portage version: 2.1.10.41/cvs/Linux i686)
Diffstat (limited to 'media-libs/sdl-ttf')
-rw-r--r-- | media-libs/sdl-ttf/ChangeLog | 10 | ||||
-rw-r--r-- | media-libs/sdl-ttf/files/sdl-ttf-2.0.11-underlink.patch | 10 | ||||
-rw-r--r-- | media-libs/sdl-ttf/sdl-ttf-2.0.11.ebuild | 43 |
3 files changed, 61 insertions, 2 deletions
diff --git a/media-libs/sdl-ttf/ChangeLog b/media-libs/sdl-ttf/ChangeLog index e4e3c071e5b3..b9fe172b1cc6 100644 --- a/media-libs/sdl-ttf/ChangeLog +++ b/media-libs/sdl-ttf/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-libs/sdl-ttf -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-ttf/ChangeLog,v 1.57 2011/05/17 15:34:04 tupone Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-ttf/ChangeLog,v 1.58 2012/01/16 22:43:30 mr_bones_ Exp $ + +*sdl-ttf-2.0.11 (16 Jan 2012) + + 16 Jan 2012; Michael Sterrett <mr_bones_@gentoo.org> +sdl-ttf-2.0.11.ebuild, + +files/sdl-ttf-2.0.11-underlink.patch: + version bump 17 May 2011; Tupone Alfredo <tupone@gentoo.org> sdl-ttf-2.0.10.ebuild, +files/sdl-ttf-2.0.10-underlink.patch: diff --git a/media-libs/sdl-ttf/files/sdl-ttf-2.0.11-underlink.patch b/media-libs/sdl-ttf/files/sdl-ttf-2.0.11-underlink.patch new file mode 100644 index 000000000000..136589ec7f13 --- /dev/null +++ b/media-libs/sdl-ttf/files/sdl-ttf-2.0.11-underlink.patch @@ -0,0 +1,10 @@ +--- Makefile.am.old 2011-05-17 17:17:18.972003301 +0200 ++++ Makefile.am 2011-05-17 17:18:38.281983708 +0200 +@@ -33,6 +33,7 @@ + -release $(LT_RELEASE) \ + -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) + endif ++libSDL_ttf_la_LIBADD = @MATHLIB@ + + pkgconfigdir = $(libdir)/pkgconfig + pkgconfig_DATA = SDL_ttf.pc diff --git a/media-libs/sdl-ttf/sdl-ttf-2.0.11.ebuild b/media-libs/sdl-ttf/sdl-ttf-2.0.11.ebuild new file mode 100644 index 000000000000..01d5145c64c8 --- /dev/null +++ b/media-libs/sdl-ttf/sdl-ttf-2.0.11.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2012 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.11.ebuild,v 1.1 2012/01/16 22:43:30 mr_bones_ Exp $ + +EAPI=2 +inherit autotools eutils + +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/" +SRC_URI="http://www.libsdl.org/projects/SDL_ttf/release/${MY_P}.tar.gz" + +LICENSE="ZLIB" +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="static-libs X" + +DEPEND="X? ( x11-libs/libXt ) + media-libs/libsdl + >=media-libs/freetype-2.3" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + epatch "${FILESDIR}"/${P}-underlink.patch + eautoreconf +} + +src_configure() { + econf \ + --disable-dependency-tracking \ + $(use_enable static-libs static) \ + $(use_with X x) +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc CHANGES README + if ! use static-libs ; then + find "${D}" -type f -name '*.la' -exec rm {} + \ + || die "la removal failed" + fi +} |