diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2014-03-10 15:56:09 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2014-03-10 15:56:09 +0000 |
commit | 34888d1841a18239964482cd47d5ce1fcf4e44ec (patch) | |
tree | 2d297c5c5054c20b7d9b6b2769ed81d385b2a440 /media-libs/libsdl2 | |
parent | EAPI bump. (diff) | |
download | historical-34888d1841a18239964482cd47d5ce1fcf4e44ec.tar.gz historical-34888d1841a18239964482cd47d5ce1fcf4e44ec.tar.bz2 historical-34888d1841a18239964482cd47d5ce1fcf4e44ec.zip |
version bump (bug #504000)
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64
Diffstat (limited to 'media-libs/libsdl2')
-rw-r--r-- | media-libs/libsdl2/ChangeLog | 9 | ||||
-rw-r--r-- | media-libs/libsdl2/Manifest | 21 | ||||
-rw-r--r-- | media-libs/libsdl2/files/libsdl2-2.0.1-static-libs.patch | 10 | ||||
-rw-r--r-- | media-libs/libsdl2/files/libsdl2-2.0.2-static-libs.patch | 89 | ||||
-rw-r--r-- | media-libs/libsdl2/libsdl2-2.0.2.ebuild | 145 |
5 files changed, 251 insertions, 23 deletions
diff --git a/media-libs/libsdl2/ChangeLog b/media-libs/libsdl2/ChangeLog index 93fd46787aa6..09c70db9fd47 100644 --- a/media-libs/libsdl2/ChangeLog +++ b/media-libs/libsdl2/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-libs/libsdl2 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libsdl2/ChangeLog,v 1.8 2014/01/04 22:36:20 hasufell Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libsdl2/ChangeLog,v 1.9 2014/03/10 15:56:04 mr_bones_ Exp $ + +*libsdl2-2.0.2 (10 Mar 2014) + + 10 Mar 2014; Michael Sterrett <mr_bones_@gentoo.org> + +files/libsdl2-2.0.2-static-libs.patch, +libsdl2-2.0.2.ebuild, + files/libsdl2-2.0.1-static-libs.patch: + version bump (bug #504000) 04 Jan 2014; Julian Ospald <hasufell@gentoo.org> libsdl2-2.0.1-r1.ebuild: fix fusionsound requirements diff --git a/media-libs/libsdl2/Manifest b/media-libs/libsdl2/Manifest index 483088b45ee6..66024af7775e 100644 --- a/media-libs/libsdl2/Manifest +++ b/media-libs/libsdl2/Manifest @@ -1,19 +1,8 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 - -AUX libsdl2-2.0.1-static-libs.patch 4949 SHA256 2cc5eee003ab00a010ed9f38174e625901a42b78677b61cca98e4c5618da5a71 SHA512 67ec68eeb388577577b784b8fc0f5d2e1f1dbb1693c30dbdfefa920b14f77f765ef6b9aa6faae4273223d2cf199df111579765451c2b7ebf1575bbddc6bbc4f3 WHIRLPOOL 84ba4d957364e37abb52c092f44054813b1f88f5897ec0983cac67452b8a8349b61a42952288f66d87c8927700a2b87170bf2ceaee67d1ae68954ff6ac23b7ac +AUX libsdl2-2.0.1-static-libs.patch 4758 SHA256 51332febb398886c4163ea02774ded7bcc6c2414d85e103e20a5778b4cb20f6c SHA512 8071d3748680108da1cd4a2ab8d141e002fcf2ab84fa22284ee1c56a9e09054659c899b755872596189691f176aa80275f9cc6cff9250e3379dccce843218b7b WHIRLPOOL 2ba8c4b2366c09926e77d360dc66f5aac4235847bb7cb4817f5bde2922ef107bafd0f048603bbbf16f8ce920d8494e1072aad5ea970e37f988c25c607fabbf6b +AUX libsdl2-2.0.2-static-libs.patch 4633 SHA256 aa3ce99668a0a504e22b8f4d6d22585592630120335b37d600a208aed29783d6 SHA512 ae43d0530d5dcc5250b304cf83320e45a853bbc17f59ffdc36e03222bdd51c283e55feaa9c1694d373a53ca92487f380934fdee52061ad738c3973ffd034c616 WHIRLPOOL bcc59ca0b7fa84eb5189d7849814c556305cd0b269724f1aab792cdb8012a1ba319dda03df9e535ed3c20c600f12a62008fea221e2509c286eec3e39fb40825b DIST SDL2-2.0.1.tar.gz 3660224 SHA256 0ae7e902a26777614a011fe7053ca7e8b14843db3c42ca117564d208cf6732f0 SHA512 012125d72b6baa677c4c4d4747a058d7c0e406d84b21712fe538bd8ecfc1d74cbc0569ce25046a766266460c9e040d2f2c62ccc52fd6e371683999c95c314c33 WHIRLPOOL 353d2909e3738b13885b26d57f2d690ac55c4992650dba552b0ba17d35d4b04946828d76b621de69201aed1676be8dc7ce11bb4c72af95b96df0481fc3785084 +DIST SDL2-2.0.2.tar.gz 3812882 SHA256 590157f85a8a8b52723848169a74eec6ca07ab4a75cec15beedde648f980e850 SHA512 73f628a893d3e7efb2180783ab5ea0103e943dddbd4e0b2b7e1add5c2cf975c85179da6e09747ad1a9d8a25067d6fc9e4467927cf111762ae322600ab810a348 WHIRLPOOL 1e396f2621fbdb6bb10f06b5828271aad23ab5d5c07254ebeaf760cf1b170441ccc89db233749b4ac4fa7341e4204ba1cd705d08ed0490b07a1855d38aa08051 EBUILD libsdl2-2.0.1-r1.ebuild 3982 SHA256 870ce2d7e747da45c488e7ea51835aa9bd0fc598b94135ed6f145335b70b16b0 SHA512 2ec09f85a987ac9b45a060e3179b6461287300cbc6e21eb9ce730d93ca2e01906808ab5bbf285c320e27754a5168aec255f92bc8e78e22b99082ff853d0d748c WHIRLPOOL 2bc72c8667f1fa43289a6fce1efe8617a631d7bcf46aa932408c3d1bd1ca8cf68642e399773935f37d356de751b9c65c1aa8570c0f1e58e77ac6ce2edfcd16e0 -MISC ChangeLog 1589 SHA256 71decb1cf99582f5a5619a3b27ce85adc1a194bc896f8fd6364a2721aee9d406 SHA512 c6f14f97b11c1ef6cd479d72c611ed3a6eb50f97c5510bce410694487ab2b1d85b08309777910970e9c84f94c231085d7a51dfc72d7f52dd790e9e8060e7fbc2 WHIRLPOOL ae27b729e6b377537da5fab54617dd59e64adc66010676e6569409ed2a1628fb9d2f4d1c042d7a6732b1a9513c54432095370a46c5a2884bd0df8dcdabaed747 +EBUILD libsdl2-2.0.2.ebuild 3980 SHA256 1d51934431fa8fd41f983f9a60197fd8b0b315b378a9d0b97a02bed9d118299f SHA512 d1a1b2533175e55b234e36c9d1591de1d13e678dd31147712d4f6099fba91c3d6f4a8d7c8e64d53a6f81762fdfdfca34924070bf6a207ac35478735a0ab7743e WHIRLPOOL 73eb8fe8b3b783b5126c3d522bbaf06389300af21470ef09c39f184870513c7314a4a373aea5ced2f1af7fe6731b5160c3df3d03aed5fdc8f0f2f682c3d5f5c4 +MISC ChangeLog 1811 SHA256 39db25dc6f1badd5029126edebd830ea27635ca668302074a4969a919fe21491 SHA512 f7ed63bf5274e978f2208939c4bfd0a45742f8f5fe740a2860f90cc4817d61ad93e231782f370665c1b1a35df4d201e5cd5e9291a35d98a1e053fd81da6ea8d2 WHIRLPOOL a0bbb4055a64d4e2299f85758d36fa3fa607964fd6033f7cb4ae367f305eedb7f2bfd73ff9e95cc7eea65b863a0196006887d5220e58be5edad7c7ff49135178 MISC metadata.xml 1532 SHA256 b0de84edcfbcf286934f7adf119917dcd138c0570d78b25286f25b3a2d110da9 SHA512 fe8e84981baee1567e80430a2352feffa03915864b871916c13cfec4fd734c12dd6d9195ed20da26e7985dcd39c55498d1f55ac0a5dd61c2d4100e6e964b5e79 WHIRLPOOL dfda175811d3dc27eadc3e7b61920c6257ad9e062626cd786adaf0a1c52ab283f8814feb85d0121bfd01ce52cab56f587c078b3d20aa1fc954a1986d176bb4aa ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.22 (GNU/Linux) - -iQEcBAEBCAAGBQJSyIzoAAoJEFpvPKfnPDWz+wQH/iR61rci34ci5lzeaItB8Rah -57AM+32XBk0YG/LPguJDhYKT5DhKptjTFmD+lG9fb2oofUcY9vjsrAsLEKKfY24o -gLC0f6vGmS9BAzXdAQZPajjXa4lxvbiVLpEVlEbNE7HfwFo3H5Tsnqglml0iVKkM -wSk9h4BcHa5GhZCjKGo+J4oMWdX02z3OI/y1+7c1wjqDAbMtQLimtvn5mw/Ko7kG -yOB5qfjO3uvQSy8EgjwlpxVKwNBJiAF1/wtyMKvj7d+qi2I/ac9umzPvdH4QnZs/ -+7xhmevLwN7mJpFwpGjgt5SDrHzokmAdHnD3ZQi3i6Le/UGJvkrEHpUidiSzfIY= -=N537 ------END PGP SIGNATURE----- diff --git a/media-libs/libsdl2/files/libsdl2-2.0.1-static-libs.patch b/media-libs/libsdl2/files/libsdl2-2.0.1-static-libs.patch index 0180d89427c3..9e761b25641a 100644 --- a/media-libs/libsdl2/files/libsdl2-2.0.1-static-libs.patch +++ b/media-libs/libsdl2/files/libsdl2-2.0.1-static-libs.patch @@ -1,6 +1,5 @@ -diff -r c1563f514b5b Makefile.in ---- a/Makefile.in Thu Apr 04 11:35:22 2013 -0400 -+++ b/Makefile.in Wed Apr 17 14:17:09 2013 -0400 +--- a/Makefile.in ++++ b/Makefile.in @@ -33,10 +33,10 @@ OBJECTS = @OBJECTS@ VERSION_OBJECTS = @VERSION_OBJECTS@ @@ -46,9 +45,8 @@ diff -r c1563f514b5b Makefile.in install-data: $(SHELL) $(auxdir)/mkinstalldirs $(DESTDIR)$(datadir)/aclocal $(INSTALL) -m 644 $(srcdir)/sdl2.m4 $(DESTDIR)$(datadir)/aclocal/sdl2.m4 -diff -r c1563f514b5b configure.in ---- a/configure.in Thu Apr 04 11:35:22 2013 -0400 -+++ b/configure.in Wed Apr 17 14:17:09 2013 -0400 +--- a/configure.in ++++ b/configure.in @@ -2597,7 +2597,7 @@ have_loadso=yes fi diff --git a/media-libs/libsdl2/files/libsdl2-2.0.2-static-libs.patch b/media-libs/libsdl2/files/libsdl2-2.0.2-static-libs.patch new file mode 100644 index 000000000000..e4823e1b0531 --- /dev/null +++ b/media-libs/libsdl2/files/libsdl2-2.0.2-static-libs.patch @@ -0,0 +1,89 @@ +--- SDL2-2.0.2.orig/Makefile.in ++++ SDL2-2.0.2/Makefile.in +@@ -33,10 +33,10 @@ + OBJECTS = @OBJECTS@ + VERSION_OBJECTS = @VERSION_OBJECTS@ + +-SDLMAIN_TARGET = libSDL2main.a ++SDLMAIN_TARGET = libSDL2main.la + SDLMAIN_OBJECTS = @SDLMAIN_OBJECTS@ + +-SDLTEST_TARGET = libSDL2_test.a ++SDLTEST_TARGET = libSDL2_test.la + SDLTEST_OBJECTS = @SDLTEST_OBJECTS@ + + SRC_DIST = *.txt acinclude Android.mk autogen.sh android-project build-scripts cmake configure configure.in debian include Makefile.* sdl2-config.in sdl2.m4 sdl2.pc.in SDL2.spec.in src test VisualC.html VisualC Xcode Xcode-iOS +@@ -123,15 +123,13 @@ + .PHONY: all update-revision install install-bin install-hdrs install-lib install-data uninstall uninstall-bin uninstall-hdrs uninstall-lib uninstall-data clean distclean dist $(OBJECTS:.lo=.d) + + $(objects)/$(TARGET): $(OBJECTS) $(VERSION_OBJECTS) +- $(LIBTOOL) --mode=link $(CC) -o $@ $(OBJECTS) $(VERSION_OBJECTS) $(LDFLAGS) $(EXTRA_LDFLAGS) $(LT_LDFLAGS) ++ $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) $(EXTRA_LDFLAGS) $(LT_LDFLAGS) + + $(objects)/$(SDLMAIN_TARGET): $(SDLMAIN_OBJECTS) +- $(AR) cru $@ $(SDLMAIN_OBJECTS) +- $(RANLIB) $@ ++ $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) $(EXTRA_LDFLAGS) $(LT_LDFLAGS) -all-static + + $(objects)/$(SDLTEST_TARGET): $(SDLTEST_OBJECTS) +- $(AR) cru $@ $(SDLTEST_OBJECTS) +- $(RANLIB) $@ ++ $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) $(EXTRA_LDFLAGS) $(LT_LDFLAGS) -all-static + + install: all install-bin install-hdrs install-lib install-data + install-bin: +@@ -152,10 +150,8 @@ + install-lib: $(objects) $(objects)/$(TARGET) $(objects)/$(SDLMAIN_TARGET) $(objects)/$(SDLTEST_TARGET) + $(SHELL) $(auxdir)/mkinstalldirs $(DESTDIR)$(libdir) + $(LIBTOOL) --mode=install $(INSTALL) $(objects)/$(TARGET) $(DESTDIR)$(libdir)/$(TARGET) +- $(INSTALL) -m 644 $(objects)/$(SDLMAIN_TARGET) $(DESTDIR)$(libdir)/$(SDLMAIN_TARGET) +- $(RANLIB) $(DESTDIR)$(libdir)/$(SDLMAIN_TARGET) +- $(INSTALL) -m 644 $(objects)/$(SDLTEST_TARGET) $(DESTDIR)$(libdir)/$(SDLTEST_TARGET) +- $(RANLIB) $(DESTDIR)$(libdir)/$(SDLTEST_TARGET) ++ $(LIBTOOL) --mode=install $(INSTALL) -m 644 $(objects)/$(SDLMAIN_TARGET) $(DESTDIR)$(libdir)/$(SDLMAIN_TARGET) ++ $(LIBTOOL) --mode=install $(INSTALL) -m 644 $(objects)/$(SDLTEST_TARGET) $(DESTDIR)$(libdir)/$(SDLTEST_TARGET) + install-data: + $(SHELL) $(auxdir)/mkinstalldirs $(DESTDIR)$(datadir)/aclocal + $(INSTALL) -m 644 $(srcdir)/sdl2.m4 $(DESTDIR)$(datadir)/aclocal/sdl2.m4 +--- SDL2-2.0.2.orig/configure.in ++++ SDL2-2.0.2/configure.in +@@ -2858,7 +2858,7 @@ + if test -f /lib/w32api/libuuid.a; then + LIBUUID=/lib/w32api/libuuid.a + else +- LIBUUID=-luuid ++ LIBUUID=-Wl,-luuid + fi + EXTRA_LDFLAGS="$EXTRA_LDFLAGS -luser32 -lgdi32 -lwinmm -limm32 -lole32 -loleaut32 -lshell32 -lversion $LIBUUID -XCClinker -static-libgcc" + # The Windows platform requires special setup +@@ -3132,23 +3132,23 @@ + + VERSION_OBJECTS=`echo $VERSION_SOURCES` + VERSION_DEPENDS=`echo $VERSION_SOURCES` +-VERSION_OBJECTS=`echo "$VERSION_OBJECTS" | sed 's,[[^ ]]*/\([[^ ]]*\)\.rc,$(objects)/\1.o,g'` ++VERSION_OBJECTS=`echo "$VERSION_OBJECTS" | sed 's,[[^ ]]*/\([[^ ]]*\)\.rc,$(objects)/\1.lo,g'` + VERSION_DEPENDS=`echo "$VERSION_DEPENDS" | sed "s,\\([[^ ]]*\\)/\\([[^ ]]*\\)\\.rc,\\\\ +-\\$(objects)/\\2.o: \\1/\\2.rc\\\\ +- \\$(WINDRES) \\$< \\$@,g"` ++\\$(objects)/\\2.lo: \\1/\\2.rc\\\\ ++ \\$(LIBTOOL) --mode=compile --tag=RC \\$(WINDRES) -i \\$< -o \\$@,g"` + + SDLMAIN_OBJECTS=`echo $SDLMAIN_SOURCES` + SDLMAIN_DEPENDS=`echo $SDLMAIN_SOURCES` +-SDLMAIN_OBJECTS=`echo "$SDLMAIN_OBJECTS" | sed 's,[[^ ]]*/\([[^ ]]*\)\.c,$(objects)/\1.o,g'` ++SDLMAIN_OBJECTS=`echo "$SDLMAIN_OBJECTS" | sed 's,[[^ ]]*/\([[^ ]]*\)\.c,$(objects)/\1.lo,g'` + SDLMAIN_DEPENDS=`echo "$SDLMAIN_DEPENDS" | sed "s,\\([[^ ]]*\\)/\\([[^ ]]*\\)\\.c,\\\\ +-\\$(objects)/\\2.o: \\1/\\2.c\\\\ ++\\$(objects)/\\2.lo: \\1/\\2.c\\\\ + \\$(LIBTOOL) --mode=compile \\$(CC) \\$(CFLAGS) \\$(EXTRA_CFLAGS) $DEPENDENCY_TRACKING_OPTIONS -c \\$< -o \\$@,g"` + + SDLTEST_OBJECTS=`echo $SDLTEST_SOURCES` + SDLTEST_DEPENDS=`echo $SDLTEST_SOURCES` +-SDLTEST_OBJECTS=`echo "$SDLTEST_OBJECTS" | sed 's,[[^ ]]*/\([[^ ]]*\)\.c,$(objects)/\1.o,g'` ++SDLTEST_OBJECTS=`echo "$SDLTEST_OBJECTS" | sed 's,[[^ ]]*/\([[^ ]]*\)\.c,$(objects)/\1.lo,g'` + SDLTEST_DEPENDS=`echo "$SDLTEST_DEPENDS" | sed "s,\\([[^ ]]*\\)/\\([[^ ]]*\\)\\.c,\\\\ +-\\$(objects)/\\2.o: \\1/\\2.c\\\\ ++\\$(objects)/\\2.lo: \\1/\\2.c\\\\ + \\$(LIBTOOL) --mode=compile \\$(CC) \\$(CFLAGS) \\$(EXTRA_CFLAGS) $DEPENDENCY_TRACKING_OPTIONS -c \\$< -o \\$@,g"` + + # Set runtime shared library paths as needed diff --git a/media-libs/libsdl2/libsdl2-2.0.2.ebuild b/media-libs/libsdl2/libsdl2-2.0.2.ebuild new file mode 100644 index 000000000000..e6d668b9e465 --- /dev/null +++ b/media-libs/libsdl2/libsdl2-2.0.2.ebuild @@ -0,0 +1,145 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libsdl2/libsdl2-2.0.2.ebuild,v 1.1 2014/03/10 15:56:04 mr_bones_ Exp $ + +EAPI=5 +inherit autotools flag-o-matic toolchain-funcs eutils + +MY_P=SDL2-${PV} +DESCRIPTION="Simple Direct Media Layer" +HOMEPAGE="http://www.libsdl.org" +SRC_URI="http://www.libsdl.org/release/${MY_P}.tar.gz" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="3dnow alsa altivec +audio custom-cflags dbus directfb fusionsound gles haptic +joystick mmx nas opengl oss pulseaudio sse sse2 static-libs +threads tslib udev +video X xinerama xscreensaver" +REQUIRED_USE=" + alsa? ( audio ) + fusionsound? ( audio ) + gles? ( video ) + nas? ( audio ) + opengl? ( video ) + pulseaudio? ( audio ) + xinerama? ( X ) + xscreensaver? ( X )" + +RDEPEND=" + alsa? ( media-libs/alsa-lib ) + dbus? ( sys-apps/dbus ) + directfb? ( >=dev-libs/DirectFB-1.0.0 ) + fusionsound? ( || ( >=media-libs/FusionSound-1.1.1 >=dev-libs/DirectFB-1.7.1[fusionsound] ) ) + gles? ( media-libs/mesa[gles2] ) + nas? ( media-libs/nas ) + opengl? ( virtual/opengl virtual/glu ) + pulseaudio? ( media-sound/pulseaudio ) + tslib? ( x11-libs/tslib ) + udev? ( virtual/udev ) + X? ( + x11-libs/libX11 + x11-libs/libXcursor + x11-libs/libXext + x11-libs/libXi + x11-libs/libXrandr + x11-libs/libXt + x11-libs/libXxf86vm + xinerama? ( x11-libs/libXinerama ) + xscreensaver? ( x11-libs/libXScrnSaver ) + )" +DEPEND="${RDEPEND} + X? ( + x11-proto/xextproto + x11-proto/xproto + ) + virtual/pkgconfig" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + # https://bugzilla.libsdl.org/show_bug.cgi?id=1431 + epatch "${FILESDIR}"/${P}-static-libs.patch + AT_M4DIR="/usr/share/aclocal acinclude" eautoreconf +} + +src_configure() { + use custom-cflags || strip-flags + + local directfbconf="--disable-video-directfb" + if use directfb ; then + # since DirectFB can link against SDL and trigger a + # dependency loop, only link against DirectFB if it + # isn't broken #61592 + echo 'int main(){}' > directfb-test.c + $(tc-getCC) directfb-test.c -ldirectfb 2>/dev/null \ + && directfbconf="--enable-video-directfb" \ + || ewarn "Disabling DirectFB since libdirectfb.so is broken" + fi + + # sorted by `./configure --help` + econf \ + $(use_enable static-libs static) \ + $(use_enable audio) \ + $(use_enable video) \ + --enable-render \ + --enable-events \ + $(use_enable joystick) \ + $(use_enable haptic) \ + --enable-power \ + $(use_enable threads) \ + --enable-timers \ + --enable-file \ + --disable-loadso \ + --enable-cpuinfo \ + --enable-atomic \ + --enable-assembly \ + $(use_enable sse ssemath) \ + $(use_enable mmx) \ + $(use_enable 3dnow) \ + $(use_enable sse) \ + $(use_enable sse2) \ + $(use_enable altivec) \ + $(use_enable oss) \ + $(use_enable alsa) \ + --disable-alsa-shared \ + --disable-esd \ + $(use_enable pulseaudio) \ + --disable-pulseaudio-shared \ + --disable-arts \ + $(use_enable nas) \ + --disable-nas-shared \ + --disable-sndio \ + --disable-sndio-shared \ + $(use_enable audio diskaudio) \ + $(use_enable audio dummyaudio) \ + $(use_enable X video-x11) \ + --disable-x11-shared \ + $(use_enable X video-x11-xcursor) \ + $(use_enable xinerama video-x11-xinerama) \ + $(use_enable X video-x11-xinput) \ + $(use_enable X video-x11-xrandr) \ + $(use_enable xscreensaver video-x11-scrnsaver) \ + $(use_enable X video-x11-xshape) \ + $(use_enable X video-x11-vm) \ + --disable-video-cocoa \ + ${directfbconf} \ + --disable-directfb-shared \ + $(use_enable fusionsound) \ + --disable-fusionsound-shared \ + $(use_enable video video-dummy) \ + $(use_enable opengl video-opengl) \ + $(use_enable gles video-opengles) \ + $(use_enable udev libudev) \ + $(use_enable dbus) \ + $(use_enable tslib input-tslib) \ + --disable-directx \ + --disable-rpath \ + --disable-render-d3d \ + $(use_with X x) +} + +src_install() { + emake DESTDIR="${D}" install + prune_libtool_files + dodoc {BUGS,CREDITS,README,README-SDL,README-hg,TODO,WhatsNew}.txt +} |