summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2014-04-18 21:17:24 +0000
committerJulian Ospald <hasufell@gentoo.org>2014-04-18 21:17:24 +0000
commit3784344f5862ad79402bbba5674b467be98b2c50 (patch)
tree523c41d543cc01d048b16e9d7b7d964754103174 /media-libs
parentadd multilib support (diff)
downloadgentoo-2-3784344f5862ad79402bbba5674b467be98b2c50.tar.gz
gentoo-2-3784344f5862ad79402bbba5674b467be98b2c50.tar.bz2
gentoo-2-3784344f5862ad79402bbba5674b467be98b2c50.zip
add multilib support
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key BDEED020)
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/sdl2-ttf/ChangeLog9
-rw-r--r--media-libs/sdl2-ttf/sdl2-ttf-2.0.12-r1.ebuild44
2 files changed, 51 insertions, 2 deletions
diff --git a/media-libs/sdl2-ttf/ChangeLog b/media-libs/sdl2-ttf/ChangeLog
index 5a4e82cae0be..f4a428fbd8d0 100644
--- a/media-libs/sdl2-ttf/ChangeLog
+++ b/media-libs/sdl2-ttf/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-libs/sdl2-ttf
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl2-ttf/ChangeLog,v 1.3 2013/09/02 20:45:58 hasufell Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl2-ttf/ChangeLog,v 1.4 2014/04/18 21:17:24 hasufell Exp $
+
+*sdl2-ttf-2.0.12-r1 (18 Apr 2014)
+
+ 18 Apr 2014; Julian Ospald <hasufell@gentoo.org> +sdl2-ttf-2.0.12-r1.ebuild:
+ add multilib support
02 Sep 2013; Julian Ospald <hasufell@gentoo.org>
+files/sdl2-ttf-2.0.12-linking.patch, sdl2-ttf-2.0.12.ebuild:
diff --git a/media-libs/sdl2-ttf/sdl2-ttf-2.0.12-r1.ebuild b/media-libs/sdl2-ttf/sdl2-ttf-2.0.12-r1.ebuild
new file mode 100644
index 000000000000..9d85c6bdb6d6
--- /dev/null
+++ b/media-libs/sdl2-ttf/sdl2-ttf-2.0.12-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl2-ttf/sdl2-ttf-2.0.12-r1.ebuild,v 1.1 2014/04/18 21:17:24 hasufell Exp $
+
+EAPI=5
+inherit autotools eutils multilib-minimal
+
+MY_P=SDL2_ttf-${PV}
+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="~amd64 ~x86"
+IUSE="static-libs X"
+
+RDEPEND="X? ( x11-libs/libXt[${MULTILIB_USEDEP}] )
+ media-libs/libsdl2[${MULTILIB_USEDEP}]
+ >=media-libs/freetype-2.3[${MULTILIB_USEDEP}]"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-linking.patch
+ eautoreconf
+ rm -r external || die
+}
+
+multilib_src_configure() {
+ ECONF_SOURCE="${S}" econf \
+ $(use_enable static-libs static) \
+ $(use_with X x)
+}
+
+multilib_src_install() {
+ emake DESTDIR="${D}" install
+}
+
+multilib_src_install_all() {
+ dodoc {CHANGES,README}.txt
+ use static-libs || prune_libtool_files
+}