diff options
author | Julian Ospald <hasufell@gentoo.org> | 2014-04-18 20:28:52 +0000 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2014-04-18 20:28:52 +0000 |
commit | 92d0d59c8c71fa6019221eca237cd7fd6e942ce2 (patch) | |
tree | b8218ce895e0a76e41f1a1ec9772c8e0f0f7b98c /media-libs/sdl-ttf | |
parent | mask >=media-libs/sdl-ttf-2.0.11-r1 for multilib conversion (diff) | |
download | gentoo-2-92d0d59c8c71fa6019221eca237cd7fd6e942ce2.tar.gz gentoo-2-92d0d59c8c71fa6019221eca237cd7fd6e942ce2.tar.bz2 gentoo-2-92d0d59c8c71fa6019221eca237cd7fd6e942ce2.zip |
add multilib support
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key BDEED020)
Diffstat (limited to 'media-libs/sdl-ttf')
-rw-r--r-- | media-libs/sdl-ttf/ChangeLog | 9 | ||||
-rw-r--r-- | media-libs/sdl-ttf/sdl-ttf-2.0.11-r1.ebuild | 49 |
2 files changed, 56 insertions, 2 deletions
diff --git a/media-libs/sdl-ttf/ChangeLog b/media-libs/sdl-ttf/ChangeLog index 06997a9027f6..8c1b849b3f02 100644 --- a/media-libs/sdl-ttf/ChangeLog +++ b/media-libs/sdl-ttf/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-libs/sdl-ttf -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-ttf/ChangeLog,v 1.67 2012/06/08 19:54:25 mr_bones_ Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-ttf/ChangeLog,v 1.68 2014/04/18 20:28:52 hasufell Exp $ + +*sdl-ttf-2.0.11-r1 (18 Apr 2014) + + 18 Apr 2014; Julian Ospald <hasufell@gentoo.org> +sdl-ttf-2.0.11-r1.ebuild: + add multilib support 08 Jun 2012; Michael Sterrett <mr_bones_@gentoo.org> -files/sdl-ttf-2.0.10-underlink.patch, -sdl-ttf-2.0.10.ebuild: diff --git a/media-libs/sdl-ttf/sdl-ttf-2.0.11-r1.ebuild b/media-libs/sdl-ttf/sdl-ttf-2.0.11-r1.ebuild new file mode 100644 index 000000000000..6f0517216706 --- /dev/null +++ b/media-libs/sdl-ttf/sdl-ttf-2.0.11-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2014 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-r1.ebuild,v 1.1 2014/04/18 20:28:52 hasufell Exp $ + +EAPI=5 +inherit autotools eutils multilib-minimal + +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" + +RDEPEND=" + abi_x86_32? ( + !app-emulation/emul-linux-x86-sdl[-abi_x86_32(-)] + !<=app-emulation/emul-linux-x86-sdl-20140406 + ) + X? ( x11-libs/libXt[${MULTILIB_USEDEP}] ) + media-libs/libsdl[${MULTILIB_USEDEP}] + >=media-libs/freetype-2.3[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + epatch "${FILESDIR}"/${P}-underlink.patch + eautoreconf +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf \ + --disable-dependency-tracking \ + $(use_enable static-libs static) \ + $(use_with X x) +} + +multilib_src_install() { + emake DESTDIR="${D}" install +} + +multilib_src_install_all() { + dodoc CHANGES README + use static-libs || prune_libtool_files --all +} |