summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2013-05-09 14:26:37 +0000
committerJulian Ospald <hasufell@gentoo.org>2013-05-09 14:26:37 +0000
commit4aff39cd9521fea8bf3162b3b5eff03f03e2d41c (patch)
tree1ba0472207329a61b63aed2ae264820d558a61fe /games-rpg
parentrestrict splitdebug (diff)
downloadgentoo-2-4aff39cd9521fea8bf3162b3b5eff03f03e2d41c.tar.gz
gentoo-2-4aff39cd9521fea8bf3162b3b5eff03f03e2d41c.tar.bz2
gentoo-2-4aff39cd9521fea8bf3162b3b5eff03f03e2d41c.zip
convert system-libs useflag to bundled-libs and restrict splitdebug
(Portage version: 2.2.0_alpha174/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
Diffstat (limited to 'games-rpg')
-rw-r--r--games-rpg/grimrock/ChangeLog7
-rw-r--r--games-rpg/grimrock/grimrock-20121222.ebuild12
-rw-r--r--games-rpg/grimrock/metadata.xml2
3 files changed, 12 insertions, 9 deletions
diff --git a/games-rpg/grimrock/ChangeLog b/games-rpg/grimrock/ChangeLog
index 25498b135b52..0e4f574fe3d2 100644
--- a/games-rpg/grimrock/ChangeLog
+++ b/games-rpg/grimrock/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-rpg/grimrock
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-rpg/grimrock/ChangeLog,v 1.3 2013/04/11 16:51:29 hasufell Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/grimrock/ChangeLog,v 1.4 2013/05/09 14:26:37 hasufell Exp $
+
+ 09 May 2013; Julian Ospald <hasufell@gentoo.org> grimrock-20121222.ebuild,
+ metadata.xml:
+ convert system-libs useflag to bundled-libs and restrict splitdebug
11 Apr 2013; Julian Ospald <hasufell@gentoo.org> grimrock-20121222.ebuild:
update libpng to slot 1.5
@@ -13,4 +17,3 @@
29 Jan 2013; Julian Ospald <hasufell@gentoo.org> +grimrock-20121222.ebuild,
+metadata.xml:
initial import
-
diff --git a/games-rpg/grimrock/grimrock-20121222.ebuild b/games-rpg/grimrock/grimrock-20121222.ebuild
index add2c686b228..c2b81fa01e71 100644
--- a/games-rpg/grimrock/grimrock-20121222.ebuild
+++ b/games-rpg/grimrock/grimrock-20121222.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-rpg/grimrock/grimrock-20121222.ebuild,v 1.5 2013/04/11 16:51:29 hasufell Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/grimrock/grimrock-20121222.ebuild,v 1.6 2013/05/09 14:26:37 hasufell Exp $
EAPI=5
@@ -15,8 +15,8 @@ SRC_URI="LegendOfGrimrock-Linux-${TIMESTAMP}.sh"
SLOT="0"
LICENSE="all-rights-reserved"
KEYWORDS="-* ~amd64 ~x86"
-IUSE="+system-libs"
-RESTRICT="fetch bindist"
+IUSE="bundled-libs"
+RESTRICT="fetch bindist splitdebug"
QA_PREBUILT="${GAMES_PREFIX_OPT}/${PN}/${MY_PN}.bin.*
${GAMES_PREFIX_OPT}/${PN}/lib.*"
@@ -40,7 +40,7 @@ RDEPEND="
x11-libs/libxcb
x11-libs/libXdmcp
x11-libs/libXext
- system-libs? (
+ !bundled-libs? (
media-libs/freeimage[png]
media-libs/libogg
media-libs/libvorbis
@@ -76,7 +76,7 @@ src_unpack() {
unpack_makeself
local i
- for i in $(use system-libs && echo ${archivelist[@]:0:4} || echo ${archivelist[@]}) ; do
+ for i in $(if use bundled-libs ; then echo ${archivelist[@]} ; else echo ${archivelist[@]:0:4} ; fi) ; do
mv "${i}" "${i}.tar.xz" || die
unpack ./"${i}.tar.xz"
done
@@ -93,7 +93,7 @@ src_install() {
exeinto "${dir}"/lib
doexe $(get_libdir)/libSDL2-2.0.so.0
- use system-libs || {
+ use bundled-libs && {
doexe $(get_libdir)/lib{freeimage.so.3,minizip.so.1,ogg.so.0,openal.so.1,vorbisfile.so.3,vorbis.so.0}
}
diff --git a/games-rpg/grimrock/metadata.xml b/games-rpg/grimrock/metadata.xml
index d8a99216b70f..7a50500442c3 100644
--- a/games-rpg/grimrock/metadata.xml
+++ b/games-rpg/grimrock/metadata.xml
@@ -7,7 +7,7 @@
<name>Julian Ospald</name>
</maintainer>
<use>
- <flag name='system-libs'>Use system provided libraries.</flag>
+ <flag name='bundled-libs'>Use bundled libraries.</flag>
</use>
</pkgmetadata>