summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Hill <dirtyepic@gentoo.org>2007-02-13 07:28:27 +0000
committerRyan Hill <dirtyepic@gentoo.org>2007-02-13 07:28:27 +0000
commitb0e52d72f27f8524390d0437355fea922ab6be90 (patch)
treeaa102c52990875cf79f182b9e65e65e807b12359 /media-sound
parentstable x86; bug 166276 (diff)
downloadgentoo-2-b0e52d72f27f8524390d0437355fea922ab6be90.tar.gz
gentoo-2-b0e52d72f27f8524390d0437355fea922ab6be90.tar.bz2
gentoo-2-b0e52d72f27f8524390d0437355fea922ab6be90.zip
Raise alsaplayer from the dead, bug #166464. Not responsible for zombie
processes. (Portage version: 2.1.2-r9)
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/alsaplayer/ChangeLog247
-rw-r--r--media-sound/alsaplayer/Manifest28
-rw-r--r--media-sound/alsaplayer/alsaplayer-0.99.77.ebuild85
-rw-r--r--media-sound/alsaplayer/files/alsaplayer-0.99.77-cxxflags.patch93
-rw-r--r--media-sound/alsaplayer/files/alsaplayer-0.99.77-join-null-thread.patch12
-rw-r--r--media-sound/alsaplayer/files/alsaplayer-0.99.77-ppc-endian-fix.patch21
-rw-r--r--media-sound/alsaplayer/files/digest-alsaplayer-0.99.773
-rw-r--r--media-sound/alsaplayer/metadata.xml8
8 files changed, 497 insertions, 0 deletions
diff --git a/media-sound/alsaplayer/ChangeLog b/media-sound/alsaplayer/ChangeLog
new file mode 100644
index 000000000000..1a74685dafa0
--- /dev/null
+++ b/media-sound/alsaplayer/ChangeLog
@@ -0,0 +1,247 @@
+# ChangeLog for media-sound/alsaplayer
+# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/alsaplayer/ChangeLog,v 1.51 2007/02/13 07:28:27 dirtyepic Exp $
+
+*alsaplayer-0.99.77 (13 Feb 2007)
+
+ 13 Feb 2007; Ryan Hill <dirtyepic@gentoo.org>
+ +files/alsaplayer-0.99.77-cxxflags.patch,
+ +files/alsaplayer-0.99.77-join-null-thread.patch,
+ +files/alsaplayer-0.99.77-ppc-endian-fix.patch, +metadata.xml,
+ +alsaplayer-0.99.77.ebuild:
+ Raise alsaplayer from the dead, bug #166464. Not responsible for zombie
+ processes.
+
+ 12 Jul 2006; Aron Griffis <agriffis@gentoo.org>
+ -alsaplayer-0.99.76-r2.ebuild, alsaplayer-0.99.76-r3.ebuild:
+ Mark 0.99.76-r3 stable on ia64. Remove 0.99.76-r2. #125479
+
+ 09 Jul 2006; Diego Pettenò <flameeyes@gentoo.org>
+ +files/alsaplayer-0.99.76-cxxflags.patch, alsaplayer-0.99.76-r3.ebuild:
+ Force a decent behaviour with respect to C(XX)FLAGS.
+
+ 09 Jul 2006; Diego Pettenò <flameeyes@gentoo.org>
+ -alsaplayer-0.99.76.ebuild, -alsaplayer-0.99.76-r1.ebuild:
+ Drop old versions.
+
+ 28 Apr 2006; Joseph Jezak <josejx@gentoo.org>
+ alsaplayer-0.99.76-r3.ebuild:
+ Marked ppc stable for bug #125479.
+
+ 23 Apr 2006; Thomas Cort <tcort@gentoo.org> alsaplayer-0.99.76-r3.ebuild:
+ Stable on alpha and amd64 wrt Bug #125479.
+
+ 23 Apr 2006; Saleem Abdulrasool <compnerd@gentoo.org>
+ alsaplayer-0.99.76-r3.ebuild:
+ stable on x86 (bug #125479)
+
+*alsaplayer-0.99.76-r3 (20 Apr 2006)
+
+ 20 Apr 2006; Diego Pettenò <flameeyes@gentoo.org>
+ +files/alsaplayer-0.99.76-join-null-thread.patch,
+ +alsaplayer-0.99.76-r3.ebuild:
+ Add patch to void crashing on cleanup, thanks to Matthias Langer for the
+ help testing in bug #125479.
+
+ 10 Mar 2006; Aron Griffis <agriffis@gentoo.org>
+ alsaplayer-0.99.76-r2.ebuild:
+ Mark 0.99.76-r2 stable on ia64. #125479
+
+ 10 Mar 2006; <nixnut@gentoo.org> alsaplayer-0.99.76-r2.ebuild:
+ Stable on ppc. Bug #125479
+
+ 08 Mar 2006; Diego Pettenò <flameeyes@gentoo.org>
+ alsaplayer-0.99.76.ebuild:
+ Don't depend on doxygen in runtime.
+
+*alsaplayer-0.99.76-r2 (18 Dec 2005)
+
+ 18 Dec 2005; Diego Pettenò <flameeyes@gentoo.org>
+ +alsaplayer-0.99.76-r2.ebuild:
+ Drop gtk useflag for new revision, as it does not handle Unicode correctly,
+ leading to crashes. See bug #103751.
+
+ 24 Aug 2005; Aron Griffis <agriffis@gentoo.org>
+ alsaplayer-0.99.76-r1.ebuild:
+ stable on ia64
+
+ 05 Jul 2005; Aron Griffis <agriffis@gentoo.org>
+ alsaplayer-0.99.76-r1.ebuild:
+ stable on alpha
+
+ 14 May 2005; Jan Brinkmann <luckyduck@gentoo.org>
+ alsaplayer-0.99.76-r1.ebuild:
+ introduced support for the audiofile useflag, as suggest by Dennis Schridde
+ <lindevel@gmx.net>. fixes #91678. did some cosmetic cleanup
+
+ 09 May 2005; Aron Griffis <agriffis@gentoo.org> alsaplayer-0.99.76.ebuild:
+ stable on ia64
+
+ 20 Apr 2005; Jan Brinkmann <luckyduck@gentoo.org> -files/gcc.patch,
+ -alsaplayer-0.99.75-r1.ebuild, alsaplayer-0.99.76-r1.ebuild,
+ alsaplayer-0.99.76.ebuild:
+ added missing libsndfile dependency, fixes #89597. also changed deprecated
+ oggvorbis to vorbis.
+
+ 19 Apr 2005; Bryan Østergaard <kloeri@gentoo.org> metadata.xml:
+ Remove retired developer from metadata.xml.
+
+ 13 Mar 2005; Jan Brinkmann <luckyduck@gentoo.org>
+ alsaplayer-0.99.76-r1.ebuild:
+ removed unneeded useflag logic, fixes #85046
+
+*alsaplayer-0.99.76-r1 (12 Mar 2005)
+
+ 12 Mar 2005; Jan Brinkmann <luckyduck@gentoo.org>
+ +alsaplayer-0.99.76-r1.ebuild:
+ applied a cleanup patch which was suggested by Diego Pettenò
+ <dgp85@users.sourceforge.net>. Fixes #82744
+
+ 06 Mar 2005; Joseph Jezak <josejx@gentoo.org>
+ +files/alsaplayer-endian.patch, alsaplayer-0.99.76.ebuild:
+ Added Chris White's patch for big endian machines. See bug #76409.
+
+ 12 Feb 2005; Robin H. Johnson <robbat2@gentoo.org>
+ alsaplayer-0.99.76.ebuild:
+ Add ~mips for my XXS1500 hardware.
+
+ 06 Dec 2004; Jeremy Huddleston <eradicator@gentoo.org>
+ alsaplayer-0.99.75-r1.ebuild, alsaplayer-0.99.76.ebuild:
+ Fixing gtk dep to close bug #73504.
+
+ 03 Dec 2004; Jeremy Huddleston <eradicator@gentoo.org>
+ alsaplayer-0.99.75-r1.ebuild, alsaplayer-0.99.76.ebuild:
+ Added to ~sparc
+
+ 14 Sep 2004; Jeremy Huddleston <eradicator@gentoo.org>
+ alsaplayer-0.99.76.ebuild:
+ Stable amd64.
+
+ 25 Apr 2004; Aron Griffis <agriffis@gentoo.org>
+ alsaplayer-0.99.75-r1.ebuild:
+ Add die following econf for bug 48950
+
+ 31 Mar 2004; Jeremy Huddleston <eradicator@gentoo.org>
+ alsaplayer-0.99.75-r1.ebuild:
+ inherit eutils.
+
+ 26 Mar 2004; Jeremy Huddleston <eradicator@gentoo.org>
+ alsaplayer-0.99.75-r1.ebuild, alsaplayer-0.99.76.ebuild:
+ Cleaned up DEPs, added eutils. Moved to stable x86.
+
+ 17 Feb 2004; Ciaran McCreesh <ciaranm@gentoo.org>
+ alsaplayer-0.99.75-r1.ebuild, alsaplayer-0.99.76.ebuild:
+ Changing to -sparc as we don't have ALSA support
+
+ 22 Jan 2004; <torbenh@gentoo.org> alsaplayer-0.99.75-r1.ebuild,
+ alsaplayer-0.99.76.ebuild:
+ Fixed alsa-1.0 bug
+ fixed jack dependency.
+
+ 12 Dec 2003; Michael Sterrett <mr_bones_@gentoo.org>
+ alsaplayer-0.99.76.ebuild:
+ media-libs/libjackasync -> media-libs/libjackasyn
+
+*alsaplayer-0.99.76 (12 Dec 2003)
+
+ 12 Dec 2003; Seemant Kulleen <seemant@gentoo.org> alsaplayer-0.99.76.ebuild:
+ version bump thanks to: Niek van der Maas <webmaster@refstart.nl> and Brett I.
+ Holcomb <brettholcomb@charter.net> in bug #35507
+
+*alsaplayer-0.99.75-r1 (26 Sep 2003)
+
+ 26 Sep 2003; jje <jje@gentoo.org> alsaplayer-0.99.75-r1.ebuild,
+ files/gcc.patch:
+ Patched for gcc-3.3. See #29553.
+
+*alsaplayer-0.99.75 (09 May 2003)
+
+ 09 May 2003; jje <jje@gentoo.org> alsaplayer-0.99.75.ebuild:
+ Version bump.
+
+ 13 Mar 2003; Daniel Ahlberg <aliz@gentoo.org> alsaplayer-0.99.74.ebuild :
+ Updated installation command. Closes #17415.
+
+*alsaplayer-0.99.74 (09 Mar 2003)
+
+ 09 Mar 2003; Daniel Ahlberg <aliz@gentoo.org> :
+ Version bump.
+
+*alsaplayer-0.99.73 (16 Dec 2002)
+
+ 18 Dec 2002; Seemant Kulleen <seemant@gentoo.org>
+ alsaplayer-0.99.73.ebuild :
+
+ I screwed up with some syntax (left a hanging if). Closes bug #12372 by
+ hertog@home.nl (Gert-Jan Rodenburg)
+
+ 16 Dec 2002; Seemant Kulleen <seemant@gentoo.org>
+ alsaplayer-0.99.73.ebuild files/digest-alsaplayer-0.99.73 :
+
+ Version bump thanks to: ashura666@mac.com in bug #12271.
+
+*alsaplayer-0.99.72 (18 Oct 2002)
+
+ 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
+
+ 18 Oct 2002; Seemant Kulleen <seemant@gentoo.org>
+ alsaplayer-0.99.72.ebuild files/digest-alsaplayer-0.99.72 :
+
+ Andy Lo-A-Foe informed me of this version bump a day or two after it came
+ out, but we were in freeze. Due to new masking, I have finally added it.
+ Also, requested by: luke@dslextreme.com (Luke Ravitch) in bug #9232.
+
+*alsaplayer-0.99.71.20020607 (7 Jun 2002)
+
+ 17 Sep 2002; Seemant Kulleen <seemant@gentoo.org>
+ alsaplayer-0.99.71.20020607.ebuild :
+
+ Andy Lo-A-Foe (alsaplayer upstream author) informs me that the qt plugin
+ is no longer shipped with alsaplayer, so all qt stuff has gone from the
+ ebuild.
+
+ 7 Jun 2002; Seemant Kulleen <seemant@gentoo.org>
+ alsaplayer-0.99.71.20020607.ebuild
+ files/digest-alsaplayer-0.99.71.20020607 :
+
+ Version bump to newest CVS snapshot, which sorts the gcc-3.1 bug out and
+ also works with alsa5 for those users who still need that.
+
+*alsaplayer-0.99.70-r1 (4 Jun 2002)
+
+ 4 Jun 2002; Seemant Kulleen <seemant@gentoo.org>
+ alsaplayer-0.99.70-r1.ebuild files/digest-alsaplayer-0.99.70-r1 :
+
+ sandbox violation fix for installing the documentation if doxygen is on
+ the system. Closes bug # 3322, by ryan.shaw@stanfordalumni.org (Ryan
+ Shaw)
+
+*alsaplayer-0.99.70 (22 May 2002)
+
+ 22 May 2002; Matthew Kennedy <mkennedy@gentoo.org>
+ alsaplayer-0.99.70.ebuild, files/digest-alsaplayer-0.99.70,
+ files/alsaplayer-0.99.70-gcc3.1-gentoo.patch :
+
+ Version bump and patch to get it to compile against gcc3.1.
+
+*alsaplayer-0.99.60-r1 (4 May 2002)
+
+ 4 May 2002; Seemant Kulleen <seemant@gentoo.org> alsaplayer-0.99.60-r1.ebuild
+ files/digest-alsaplayer-0.99.60-r1 :
+
+ Rachel Holmes pointed out that ALSA is not a requirement but an optional
+ dependency. Also added nls optional and fixed oggvorbis optional.
+
+*alsaplayer-0.99.60 (2 May 2002)
+
+ 2 May 2002; Seemant Kulleen <seemant@gentoo.org> alsaplayer-0.99.60.ebuild
+ files/digest-alsaplayer-0.99.60
+
+ Version bump, thanks to Rachel Holmes.
+
+*alsaplayer-0.99.59 (26 Apr 2002)
+
+ 26 Apr 2002; Seemant Kulleen <seemant@gentoo.org> alsaplayer-0.99.59.ebuild
+ files/digest-alsaplayer-0.99.59
+
+ Music player which uses ALSA primarily
diff --git a/media-sound/alsaplayer/Manifest b/media-sound/alsaplayer/Manifest
new file mode 100644
index 000000000000..b0db14edbd91
--- /dev/null
+++ b/media-sound/alsaplayer/Manifest
@@ -0,0 +1,28 @@
+AUX alsaplayer-0.99.77-cxxflags.patch 3820 RMD160 bb738537d774b7e50805ed5297b1311f8b6ac007 SHA1 ac08787df3e4cd4f6a3c8ab1079f2f4976ff594f SHA256 2bae020a2efc05b866b5ea1b157fd813c8a9c64e9f50cf9d660232f9b3784b2d
+MD5 177357b08329885179016e70c76bf127 files/alsaplayer-0.99.77-cxxflags.patch 3820
+RMD160 bb738537d774b7e50805ed5297b1311f8b6ac007 files/alsaplayer-0.99.77-cxxflags.patch 3820
+SHA256 2bae020a2efc05b866b5ea1b157fd813c8a9c64e9f50cf9d660232f9b3784b2d files/alsaplayer-0.99.77-cxxflags.patch 3820
+AUX alsaplayer-0.99.77-join-null-thread.patch 502 RMD160 73fb64d32d3fcbb3f554555154a4f87592f18567 SHA1 c8d6cfad553ba9f65b01391a1de851e13b54be19 SHA256 0edf29b7533efe4be579d26a5ff7a38f1265926f46568158e844068a8cf5e0e6
+MD5 4df7083f9a96ac40779c160e1f24e37b files/alsaplayer-0.99.77-join-null-thread.patch 502
+RMD160 73fb64d32d3fcbb3f554555154a4f87592f18567 files/alsaplayer-0.99.77-join-null-thread.patch 502
+SHA256 0edf29b7533efe4be579d26a5ff7a38f1265926f46568158e844068a8cf5e0e6 files/alsaplayer-0.99.77-join-null-thread.patch 502
+AUX alsaplayer-0.99.77-ppc-endian-fix.patch 830 RMD160 ea0d3dcc6dd69c9a05b4713656763ef82b06e287 SHA1 fa6d67196eb98c5ed132f2f040cfc26c51fa8ee2 SHA256 2edd1fdf7316bc6bd673e176b938f7541722c5d74c9c971b678c41bb331f608f
+MD5 109304bdd6fb8813a5b4b5c59aa84a84 files/alsaplayer-0.99.77-ppc-endian-fix.patch 830
+RMD160 ea0d3dcc6dd69c9a05b4713656763ef82b06e287 files/alsaplayer-0.99.77-ppc-endian-fix.patch 830
+SHA256 2edd1fdf7316bc6bd673e176b938f7541722c5d74c9c971b678c41bb331f608f files/alsaplayer-0.99.77-ppc-endian-fix.patch 830
+DIST alsaplayer-0.99.77.tar.bz2 657622 RMD160 a40c25f17ec6f4f81283bb2ee91c0bee27e1a108 SHA1 dffb35c121216399e8f543559456dafd1b4abd6e SHA256 5bfcbb14f5c64f0d5fd56420910f192a1bebac99c8a6e53855a69f64a3f3d6a0
+EBUILD alsaplayer-0.99.77.ebuild 1949 RMD160 9c12b3d5c2c5d87d246715a78dc2cbff83c66d32 SHA1 c3543dd72202fa09a88014050685c51ab2c73630 SHA256 0ab2638037e67f602bc4582fc9f723f34fd2d4a33d2243d9048e2361c527b216
+MD5 6f69484f130f6a9d2fe949348a9aff41 alsaplayer-0.99.77.ebuild 1949
+RMD160 9c12b3d5c2c5d87d246715a78dc2cbff83c66d32 alsaplayer-0.99.77.ebuild 1949
+SHA256 0ab2638037e67f602bc4582fc9f723f34fd2d4a33d2243d9048e2361c527b216 alsaplayer-0.99.77.ebuild 1949
+MISC ChangeLog 8436 RMD160 be417a196d1f9c4a4d3276a63b6d1fcc75cdb989 SHA1 a457285785b890782450670a60e2626049b2be4b SHA256 663669abc6dd7338d969fd3c3698c6d2a93897b651d5305042b1e8bd4d8f0baa
+MD5 2b4a8fdfd7fd6893fc90ede284d05c74 ChangeLog 8436
+RMD160 be417a196d1f9c4a4d3276a63b6d1fcc75cdb989 ChangeLog 8436
+SHA256 663669abc6dd7338d969fd3c3698c6d2a93897b651d5305042b1e8bd4d8f0baa ChangeLog 8436
+MISC metadata.xml 226 RMD160 77b3f176fe8a4602ef10b43118ad4b324debc1dc SHA1 03082d01f1e4be11dac43f56ef16d62fe6dddc9d SHA256 9704abc4f11258f32e53012818f6998efcb9b256c5422148bf9f0fef8bbcba5d
+MD5 fe89d78289fe2113b0a2d1a0eec7e1a4 metadata.xml 226
+RMD160 77b3f176fe8a4602ef10b43118ad4b324debc1dc metadata.xml 226
+SHA256 9704abc4f11258f32e53012818f6998efcb9b256c5422148bf9f0fef8bbcba5d metadata.xml 226
+MD5 d0d6502c9b14d958255f5b524c052eb7 files/digest-alsaplayer-0.99.77 259
+RMD160 ce6128f873138b05f4ea6458f3243c4d327f077a files/digest-alsaplayer-0.99.77 259
+SHA256 70f0b326f866960a4b3727c1018932f462836b4edebd75083f850ca5e156039b files/digest-alsaplayer-0.99.77 259
diff --git a/media-sound/alsaplayer/alsaplayer-0.99.77.ebuild b/media-sound/alsaplayer/alsaplayer-0.99.77.ebuild
new file mode 100644
index 000000000000..f7f65c06e073
--- /dev/null
+++ b/media-sound/alsaplayer/alsaplayer-0.99.77.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/alsaplayer/alsaplayer-0.99.77.ebuild,v 1.1 2007/02/13 07:28:27 dirtyepic Exp $
+
+inherit eutils autotools
+
+DESCRIPTION="A heavily multi-threaded pluggable audio player."
+HOMEPAGE="http://www.alsaplayer.org/"
+SRC_URI="http://www.alsaplayer.org/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="alsa audiofile doc esd flac gtk jack mikmod nas nls ogg opengl oss vorbis xosd"
+
+RDEPEND="
+ media-libs/libsndfile
+ alsa? ( media-libs/alsa-lib )
+ audiofile? ( media-libs/audiofile )
+ esd? ( media-sound/esound )
+ flac? ( media-libs/flac )
+ gtk? ( >=x11-libs/gtk+-2.6 )
+ jack? ( >=media-sound/jack-audio-connection-kit-0.80.0 )
+ mikmod? ( >=media-libs/libmikmod-3.1.10 )
+ nas? ( media-libs/nas )
+ ogg? ( media-libs/libogg )
+ opengl? ( virtual/opengl )
+ vorbis? ( media-libs/libvorbis )
+ xosd? ( x11-libs/xosd )"
+
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )
+ nls? ( sys-devel/gettext )"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ epatch "${FILESDIR}"/${P}-ppc-endian-fix.patch
+ epatch "${FILESDIR}"/${P}-join-null-thread.patch
+ epatch "${FILESDIR}"/${P}-cxxflags.patch
+
+ eautoreconf
+}
+
+src_compile() {
+ use xosd ||
+ export ac_cv_lib_xosd_xosd_create="no"
+
+ use doc ||
+ export ac_cv_prog_HAVE_DOXYGEN="false"
+
+ if use ogg && use flac; then
+ myconf="${myconf} --enable-oggflac"
+ fi
+
+ econf \
+ $(use_enable audiofile) \
+ $(use_enable esd) \
+ $(use_enable flac) \
+ $(use_enable gtk gtk2) \
+ $(use_enable jack) \
+ $(use_enable mikmod) \
+ $(use_enable nas) \
+ $(use_enable opengl) \
+ $(use_enable oss) \
+ $(use_enable nls) \
+ $(use_enable sparc) \
+ $(use_enable vorbis oggvorbis) \
+ ${myconf} \
+ --disable-gtk \
+ --disable-sgi \
+ --disable-dependency-tracking \
+ || die "econf failed"
+
+ emake || die "make failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" docdir="${D}/usr/share/doc/${PF}" install \
+ || die "make install failed"
+
+ dodoc AUTHORS ChangeLog README TODO
+ dodoc docs/wishlist.txt
+}
diff --git a/media-sound/alsaplayer/files/alsaplayer-0.99.77-cxxflags.patch b/media-sound/alsaplayer/files/alsaplayer-0.99.77-cxxflags.patch
new file mode 100644
index 000000000000..e3e3d234139b
--- /dev/null
+++ b/media-sound/alsaplayer/files/alsaplayer-0.99.77-cxxflags.patch
@@ -0,0 +1,93 @@
+diff -Naur alsaplayer-0.99.77-orig/app/Makefile.am alsaplayer-0.99.77/app/Makefile.am
+--- alsaplayer-0.99.77-orig/app/Makefile.am 2003-02-09 13:37:55.000000000 -0600
++++ alsaplayer-0.99.77/app/Makefile.am 2007-02-13 00:21:02.000000000 -0600
+@@ -27,8 +27,6 @@
+
+ AM_CXXFLAGS = $(COMMON_FLAGS)
+
+-AM_CFLAGS = $(CXXFLAGS)
+-
+ bin_PROGRAMS = alsaplayer
+
+ alsaplayer_LDFLAGS = -export-dynamic
+diff -Naur alsaplayer-0.99.77-orig/configure.ac alsaplayer-0.99.77/configure.ac
+--- alsaplayer-0.99.77-orig/configure.ac 2007-02-01 16:42:27.000000000 -0600
++++ alsaplayer-0.99.77/configure.ac 2007-02-13 00:20:22.000000000 -0600
+@@ -589,14 +589,14 @@
+
+ AC_MSG_CHECKING(for gcc optimization flags)
+ old_cflags=$CFLAGS
+-CFLAGS="$CFLAGS -O2 -fexpensive-optimizations -funroll-loops -finline-functions -ffast-math -Wall"
++CFLAGS="$CFLAGS"
+ AC_TRY_COMPILE([#include <stdio.h>],
+ [ printf ("hello, world"); ],
+-[ EXTRA_OPT_CFLAGS="-O2 -fexpensive-optimizations -funroll-loops -finline-functions -ffast-math -Wall"],[ EXTRA_OPT_CFLAGS=""])
++[ EXTRA_OPT_CFLAGS="$CFLAGS"],[ EXTRA_OPT_CFLAGS=""])
+ CFLAGS=$old_cflags
+ AC_MSG_RESULT([$EXTRA_OPT_CFLAGS])
+
+-ARCH_CFLAGS="$EXTRA_OPT_CFLAGS $CFLAGS"
++ARCH_CFLAGS="$EXTRA_OPT_CFLAGS"
+
+ if test "$ARCH_TYPE" = "i486" || test "$ARCH_TYPE" = "i586" || test "$ARCH_TYPE" = "i686"
+ then
+diff -Naur alsaplayer-0.99.77-orig/input/mad/Makefile.am alsaplayer-0.99.77/input/mad/Makefile.am
+--- alsaplayer-0.99.77-orig/input/mad/Makefile.am 2003-02-09 13:37:56.000000000 -0600
++++ alsaplayer-0.99.77/input/mad/Makefile.am 2007-02-13 00:21:35.000000000 -0600
+@@ -28,8 +28,6 @@
+
+ AM_CFLAGS = $(COMMON_CFLAGS)
+
+-AM_CXXFLAGS = $(CFLAGS)
+-
+ INCLUDES = -I$(ROOT_DIR)/app $(GLIB_CFLAGS)
+
+ libmad_in_la_SOURCES = $(mad_insources)
+diff -Naur alsaplayer-0.99.77-orig/interface/daemon/Makefile.am alsaplayer-0.99.77/interface/daemon/Makefile.am
+--- alsaplayer-0.99.77-orig/interface/daemon/Makefile.am 2003-02-16 12:23:18.000000000 -0600
++++ alsaplayer-0.99.77/interface/daemon/Makefile.am 2007-02-13 00:22:14.000000000 -0600
+@@ -10,8 +10,6 @@
+ -D_REENTRANT -I$(top_builddir) -I$(top_srcdir)/alsaplayer \
+ -DADDON_DIR=\"$(ADDON_DIR)\"
+
+-AM_CFLAGS = $(CXXFLAGS)
+-
+ libdir = $(ADDON_DIR)/interface
+
+ libdaemon_interface_la_LDFLAGS = $(daemon_interfaceldflags)
+diff -Naur alsaplayer-0.99.77-orig/interface/gtk/Makefile.am alsaplayer-0.99.77/interface/gtk/Makefile.am
+--- alsaplayer-0.99.77-orig/interface/gtk/Makefile.am 2003-02-16 12:23:19.000000000 -0600
++++ alsaplayer-0.99.77/interface/gtk/Makefile.am 2007-02-13 00:22:36.000000000 -0600
+@@ -25,8 +25,6 @@
+ @GLIB_CFLAGS@ @GTK_CFLAGS@ $(COMMON_FLAGS) \
+ -D_REENTRANT -DADDON_DIR=\"$(ADDON_DIR)\"
+
+-AM_CFLAGS = $(CXXFLAGS)
+-
+ libdir = $(ADDON_DIR)/interface
+
+ libgtk_interface_la_LDFLAGS = $(gtk_interfaceldflags)
+diff -Naur alsaplayer-0.99.77-orig/interface/text/Makefile.am alsaplayer-0.99.77/interface/text/Makefile.am
+--- alsaplayer-0.99.77-orig/interface/text/Makefile.am 2003-02-16 12:23:19.000000000 -0600
++++ alsaplayer-0.99.77/interface/text/Makefile.am 2007-02-13 00:23:35.000000000 -0600
+@@ -10,8 +10,6 @@
+ -D_REENTRANT -I$(top_builddir) -I$(top_srcdir)/alsaplayer \
+ -DADDON_DIR=\"$(ADDON_DIR)\"
+
+-AM_CFLAGS = $(CXXFLAGS)
+-
+ libdir = $(ADDON_DIR)/interface
+
+ libtext_interface_la_LDFLAGS = $(text_interfaceldflags)
+diff -Naur alsaplayer-0.99.77-orig/interface/xosd/Makefile.am alsaplayer-0.99.77/interface/xosd/Makefile.am
+--- alsaplayer-0.99.77-orig/interface/xosd/Makefile.am 2003-02-16 12:23:21.000000000 -0600
++++ alsaplayer-0.99.77/interface/xosd/Makefile.am 2007-02-13 00:25:00.000000000 -0600
+@@ -22,8 +22,6 @@
+ -D_REENTRANT -I$(top_builddir) -I$(top_srcdir)/alsaplayer \
+ -DADDON_DIR=\"$(ADDON_DIR)\"
+
+-AM_CFLAGS = $(CXXFLAGS)
+-
+ libdir = $(ADDON_DIR)/interface
+
+ libxosd_interface_la_LDFLAGS = $(xosd_interfaceldflags)
diff --git a/media-sound/alsaplayer/files/alsaplayer-0.99.77-join-null-thread.patch b/media-sound/alsaplayer/files/alsaplayer-0.99.77-join-null-thread.patch
new file mode 100644
index 000000000000..9f56b5f76cd2
--- /dev/null
+++ b/media-sound/alsaplayer/files/alsaplayer-0.99.77-join-null-thread.patch
@@ -0,0 +1,12 @@
+diff -Naur alsaplayer-0.99.77-orig/app/AlsaNode.cpp alsaplayer-0.99.77/app/AlsaNode.cpp
+--- alsaplayer-0.99.77-orig/app/AlsaNode.cpp 2004-02-15 12:42:13.000000000 -0600
++++ alsaplayer-0.99.77/app/AlsaNode.cpp 2007-02-13 00:14:29.000000000 -0600
+@@ -488,7 +488,7 @@
+ looping = false;
+ pthread_mutex_lock(&thread_mutex);
+ if (thread_running) {
+- if (pthread_join(looper_thread, NULL)) {
++ if (looper_thread != NULL && pthread_join(looper_thread, NULL)) {
+ // Hmmm
+ }
+ thread_running = false;
diff --git a/media-sound/alsaplayer/files/alsaplayer-0.99.77-ppc-endian-fix.patch b/media-sound/alsaplayer/files/alsaplayer-0.99.77-ppc-endian-fix.patch
new file mode 100644
index 000000000000..28e923958798
--- /dev/null
+++ b/media-sound/alsaplayer/files/alsaplayer-0.99.77-ppc-endian-fix.patch
@@ -0,0 +1,21 @@
+diff -Naur alsaplayer-0.99.77-orig/output/alsa-0.5.x/alsa.c alsaplayer-0.99.77/output/alsa-0.5.x/alsa.c
+--- alsaplayer-0.99.77-orig/output/alsa-0.5.x/alsa.c 2003-04-08 09:15:45.000000000 -0600
++++ alsaplayer-0.99.77/output/alsa-0.5.x/alsa.c 2007-02-13 00:51:45.000000000 -0600
+@@ -121,7 +121,7 @@
+ params.buf.block.frags_min = 1;
+
+ memset(&format, 0, sizeof(format));
+- format.format = SND_PCM_SFMT_S16_LE;
++ format.format = SND_PCM_SFMT_S16;
+ format.rate = output_rate;
+ format.voices = *channels;
+ format.interleave = 1;
+@@ -166,7 +166,7 @@
+ params.start_mode = SND_PCM_START_FULL;
+ params.stop_mode = SND_PCM_STOP_STOP;
+ memset(&format, 0, sizeof(format));
+- format.format = SND_PCM_SFMT_S16_LE;
++ format.format = SND_PCM_SFMT_S16;
+ format.rate = output_rate = rate;
+ format.voices = 2;
+ format.interleave = 1;
diff --git a/media-sound/alsaplayer/files/digest-alsaplayer-0.99.77 b/media-sound/alsaplayer/files/digest-alsaplayer-0.99.77
new file mode 100644
index 000000000000..385f3c3f0ed7
--- /dev/null
+++ b/media-sound/alsaplayer/files/digest-alsaplayer-0.99.77
@@ -0,0 +1,3 @@
+MD5 3280795b199ae1bb245559ccbbca5c02 alsaplayer-0.99.77.tar.bz2 657622
+RMD160 a40c25f17ec6f4f81283bb2ee91c0bee27e1a108 alsaplayer-0.99.77.tar.bz2 657622
+SHA256 5bfcbb14f5c64f0d5fd56420910f192a1bebac99c8a6e53855a69f64a3f3d6a0 alsaplayer-0.99.77.tar.bz2 657622
diff --git a/media-sound/alsaplayer/metadata.xml b/media-sound/alsaplayer/metadata.xml
new file mode 100644
index 000000000000..7f7c6a7cd15d
--- /dev/null
+++ b/media-sound/alsaplayer/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sound</herd>
+ <maintainer>
+ <email>redhatter@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>