summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2014-04-18 21:08:00 +0000
committerJulian Ospald <hasufell@gentoo.org>2014-04-18 21:08:00 +0000
commitfeff9bbe59b1d323d55888db3723e6af715c4a6d (patch)
treec43aedbbfdf43536a492b21b9d17d6f4ccddcbdd /media-libs
parentRemove old. (diff)
downloadgentoo-2-feff9bbe59b1d323d55888db3723e6af715c4a6d.tar.gz
gentoo-2-feff9bbe59b1d323d55888db3723e6af715c4a6d.tar.bz2
gentoo-2-feff9bbe59b1d323d55888db3723e6af715c4a6d.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-gfx/ChangeLog10
-rw-r--r--media-libs/sdl2-gfx/sdl2-gfx-1.0.0-r1.ebuild38
2 files changed, 45 insertions, 3 deletions
diff --git a/media-libs/sdl2-gfx/ChangeLog b/media-libs/sdl2-gfx/ChangeLog
index 2f2d7d3bdf87..500d45ae6f0a 100644
--- a/media-libs/sdl2-gfx/ChangeLog
+++ b/media-libs/sdl2-gfx/ChangeLog
@@ -1,10 +1,14 @@
# ChangeLog for media-libs/sdl2-gfx
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl2-gfx/ChangeLog,v 1.1 2013/11/22 21:17:26 hasufell Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl2-gfx/ChangeLog,v 1.2 2014/04/18 21:08:00 hasufell Exp $
+
+*sdl2-gfx-1.0.0-r1 (18 Apr 2014)
+
+ 18 Apr 2014; Julian Ospald <hasufell@gentoo.org> +sdl2-gfx-1.0.0-r1.ebuild:
+ add multilib support
*sdl2-gfx-1.0.0 (22 Nov 2013)
22 Nov 2013; Julian Ospald <hasufell@gentoo.org> +sdl2-gfx-1.0.0.ebuild,
+metadata.xml:
initial import
-
diff --git a/media-libs/sdl2-gfx/sdl2-gfx-1.0.0-r1.ebuild b/media-libs/sdl2-gfx/sdl2-gfx-1.0.0-r1.ebuild
new file mode 100644
index 000000000000..bf07e45147d3
--- /dev/null
+++ b/media-libs/sdl2-gfx/sdl2-gfx-1.0.0-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl2-gfx/sdl2-gfx-1.0.0-r1.ebuild,v 1.1 2014/04/18 21:08:00 hasufell Exp $
+
+EAPI=5
+inherit eutils multilib-minimal
+
+MY_P="${P/sdl2-/SDL2_}"
+DESCRIPTION="Graphics drawing primitives library for SDL2"
+HOMEPAGE="http://www.ferzkopp.net/joomla/content/view/19/14/"
+SRC_URI="http://www.ferzkopp.net/Software/SDL2_gfx/${MY_P}.tar.gz"
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc mmx static-libs"
+
+DEPEND="media-libs/libsdl2[video,${MULTILIB_USEDEP}]"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ sed -i \
+ -e 's/ -O / /' \
+ configure || die
+}
+
+multilib_src_configure() {
+ ECONF_SOURCE="${S}" econf \
+ $(use_enable mmx) \
+ $(use_enable static-libs static)
+}
+
+multilib_src_install_all() {
+ use doc && dohtml -r Docs/html/*
+ prune_libtool_files
+}