gargoyle: Depend on modplug, mp3 and vorbis USE flags for sdl-sound, don't link again...
authorNikos Chantziaras <realnc@gmail.com>
Mon, 7 May 2012 12:16:29 +0000 (7 15:16 +0300)
committerNikos Chantziaras <realnc@gmail.com>
Mon, 7 May 2012 12:16:29 +0000 (7 15:16 +0300)
games-engines/gargoyle/Manifest
games-engines/gargoyle/gargoyle-2011.1.ebuild

index 8a83e6e..5369c15 100644 (file)
@@ -1,3 +1,3 @@
 DIST gargoyle-2011.1-sources.zip 11291660 RMD160 43de562c12a068c5d6f4fab6bb62647faadd0ff3 SHA1 8e01e458e01dd7d20fe5330f95a3e44b7cbc37d6 SHA256 8642ac38add31d47bfd531d4121dc1e956d06895a9352ce573b5007e9cae4634
-EBUILD gargoyle-2011.1.ebuild 2464 RMD160 79c797a44f4b6b1a84b87228e3d091751a006bda SHA1 175b28ef02ea1bfa256368c2d6f0b98804ed8f88 SHA256 a15ed24ec5912910af9b3c8db98ece2526d44067eb5f1b3867be17f8c497710b
+EBUILD gargoyle-2011.1.ebuild 2612 RMD160 7871efb2887f511800f6099fe89df5ff5c89c1a7 SHA1 f9292927ef2c568260267f12719fb3e1ffc81f68 SHA256 61f427cadca6bb3bbb4ff5f7e8ac6763cbc36bd1496a7a4366d3caec0db6964d
 MISC metadata.xml 252 RMD160 8ce3795bac9d4960615a67c32fb3994bfece325f SHA1 dfce1ee8158b18adf66bfee2988b2b1c796443a8 SHA256 76446769792843475165db424def28271c1aabc5d695d29ad30858e8055c7acd
index 0cae32a..f3e5189 100644 (file)
@@ -29,7 +29,7 @@ RDEPEND="media-libs/freetype:2
        sys-libs/zlib
        x11-libs/gtk+:2
        media-libs/sdl-mixer
-       media-libs/sdl-sound"
+       media-libs/sdl-sound[modplug,mp3,vorbis]"
 
 DEPEND="${RDEPEND}
        app-arch/unzip
@@ -44,6 +44,9 @@ src_prepare() {
                        a SHRLINKFLAGS = ${LDFLAGS} ;
                }" Jamrules || die
 
+       # Don't link against libraries used indirectly through SDL_sound.
+       sed -i -e "/GARGLKLIBS/s/-lsmpeg -lvorbisfile//g" Jamrules
+
        # Convert garglk.ini to UNIX format.
        edos2unix garglk/garglk.ini