public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/gamerlay:master commit in: media-libs/libsdl/, eclass/
@ 2013-01-07 15:35 Vadim A. Misbakh-Soloviov
  0 siblings, 0 replies; only message in thread
From: Vadim A. Misbakh-Soloviov @ 2013-01-07 15:35 UTC (permalink / raw
  To: gentoo-commits

commit:     aa3b5441e325213368af44596da594b3c652f809
Author:     Vadim A. Misbakh-Soloviov <mva <AT> mva <DOT> name>
AuthorDate: Mon Jan  7 15:27:23 2013 +0000
Commit:     Vadim A. Misbakh-Soloviov <mva <AT> mva <DOT> name>
CommitDate: Mon Jan  7 15:27:23 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gamerlay.git;a=commit;h=aa3b5441

[eclass] bump nixstaller to support gzipped tarballs (like in overgrowth)

Signed-off-by: Vadim A. Misbakh-Soloviov <mva <AT> mva.name>

---
 eclass/unpacker-nixstaller.eclass |   12 +++++++-
 media-libs/libsdl/metadata.xml    |   53 +++++++++++++++++++++++-------------
 2 files changed, 45 insertions(+), 20 deletions(-)

diff --git a/eclass/unpacker-nixstaller.eclass b/eclass/unpacker-nixstaller.eclass
index c2c8090..74ed2ba 100644
--- a/eclass/unpacker-nixstaller.eclass
+++ b/eclass/unpacker-nixstaller.eclass
@@ -35,6 +35,16 @@ nixstaller_unpack() {
 	for i in $unpack_files ; do
 		unpack_banner "$i"
 		# Make sure that file exists
-		[[ -f "./$i" ]] && tar Jxf "./$i" || die "Failed to unpack $i"
+		[[ -f "./$i" ]] && (
+			local type=$(file -b ${i})
+			case ${type} in
+				data)
+					tar -xJf "./$i"
+					;;
+				gzip*)
+					tar -xzf "./$i"
+					;;
+			esac
+		) || die "Failed to unpack $i"
 	done
 }

diff --git a/media-libs/libsdl/metadata.xml b/media-libs/libsdl/metadata.xml
index 6f6b34d..daff7e6 100644
--- a/media-libs/libsdl/metadata.xml
+++ b/media-libs/libsdl/metadata.xml
@@ -1,31 +1,46 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-  <herd>games</herd>
-  <longdescription>
+	<herd>games</herd>
+	<maintainer>
+		<email>leycec@gmail.com</email>
+		<name>leycec</name>
+	</maintainer>
+	<longdescription>
 Simple DirectMedia Layer is a cross-platform multimedia library designed 
 to provide low level access to audio, keyboard, mouse, joystick, 3D 
 hardware via OpenGL, and 2D video framebuffer. It is used by MPEG 
 playback software, emulators, and many popular games, including the 
 award winning Linux port of "Civilization: Call To Power."
 
-Simple DirectMedia Layer supports Linux, Windows, BeOS, MacOS Classic, 
-MacOS X, FreeBSD, OpenBSD, BSD/OS, Solaris, IRIX, and QNX. There is also 
-code, but no official support, for Windows CE, AmigaOS, Dreamcast, 
-Atari, NetBSD, AIX, OSF/Tru64, RISC OS, and SymbianOS.
+SDL supports Linux, Windows, Windows CE, BeOS, MacOS, MacOS X, FreeBSD,
+NetBSD, OpenBSD, BSD/OS, Solaris, IRIX, and QNX. The code also contains
+support for AmigaOS, Dreamcast, Atari, AIX, OSF/Tru64, RISC OS,
+SymbianOS, and OS/2, but these are not officially supported.
 
-SDL is written in C, but works with C++ natively, and has bindings to 
-several other languages, including Ada, Eiffel, Java, Lua, ML, Perl, 
-PHP, Pike, Python, and Ruby.
+SDL is written in C, but works with C++ natively, and has bindings to
+several other languages, including Ada, C#, D, Eiffel, Erlang, Euphoria,
+Go, Guile, Haskell, Java, Lisp, Lua, ML, Objective C, Pascal, Perl, PHP,
+Pike, Pliant, Python, Ruby, Smalltalk, and Tcl.
 </longdescription>
-  <use>
-	<flag name="audio">Control audio support (disable at your own risk)</flag>
-	<flag name="asm">Enable assembly for optimization (3dnow, mmx, sse, sse2)</flag>
-	<flag name="fusionsound">Enable FusionSound support</flag>
-	<flag name="gles">Enable OpenGL ES support</flag>
-	<flag name="joystick">Control joystick support (disable at your own risk)</flag>
-	<flag name="ps3">Build the PS3 video driver</flag>
-	<flag name="tslib">Build with tslib support for touchscreen devices</flag>
-	<flag name="video">Control video support (disable at your own risk)</flag>
-  </use>
+	<upstream>
+		<doc lang="en">http://www.libsdl.org/cgi/docwiki.cgi</doc>
+		<bugs-to>http://bugzilla.libsdl.org</bugs-to>
+	</upstream>
+	<use>
+		<!--flag name="directx">Adds support for Windows DirectX audio and video</flag-->
+		<flag name="audio">Support video devices (strongly recommended!)</flag>
+		<flag name="asm">Enable assembly for optimization (3dnow, mmx, sse, sse2)</flag>
+		<flag name="feedback">Support tactile feedback (e.g., vibration) devices</flag>
+		<flag name="fusionsound">Enable FusionSound audio support</flag>
+		<flag name="gles">Enable OpenGL ES video support</flag>
+		<flag name="joystick">Support joystick devices</flag>
+		<flag name="ps3">Build the PS3 video driver</flag>
+		<flag name="tslib">Enable tslib-based touchscreen device support</flag>
+		<flag name="video">Control video support (disable at your own risk)</flag>
+		<flag name="xcursor">Enable Xcursor-based cursor theme support</flag>
+		<flag name="xinput">Enable xinput-based touchscreen and multiple input device support (recommended)</flag>
+		<flag name="xrandr">Enable XRandR-based resolution switching (recommended)</flag>
+		<flag name="xvidmode">Enable XVidMode-based resolution switching (not recommended)</flag>
+	</use>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-01-07 15:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-07 15:35 [gentoo-commits] proj/gamerlay:master commit in: media-libs/libsdl/, eclass/ Vadim A. Misbakh-Soloviov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox