diff options
author | Joseph Jezak <josejx@gentoo.org> | 2005-03-06 02:00:06 +0000 |
---|---|---|
committer | Joseph Jezak <josejx@gentoo.org> | 2005-03-06 02:00:06 +0000 |
commit | d5f25ce71f88318db7a7f49425550c6670648437 (patch) | |
tree | 3fb5bda2aa19ab789358fe90676960112c9dc55f /media-sound/alsaplayer | |
parent | Marked ppc stable for bug #84174. (diff) | |
download | historical-d5f25ce71f88318db7a7f49425550c6670648437.tar.gz historical-d5f25ce71f88318db7a7f49425550c6670648437.tar.bz2 historical-d5f25ce71f88318db7a7f49425550c6670648437.zip |
Added bigendian patch. See bug #76409.
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'media-sound/alsaplayer')
-rw-r--r-- | media-sound/alsaplayer/ChangeLog | 6 | ||||
-rw-r--r-- | media-sound/alsaplayer/Manifest | 20 | ||||
-rw-r--r-- | media-sound/alsaplayer/alsaplayer-0.99.76.ebuild | 14 | ||||
-rw-r--r-- | media-sound/alsaplayer/files/alsaplayer-endian.patch | 34 |
4 files changed, 56 insertions, 18 deletions
diff --git a/media-sound/alsaplayer/ChangeLog b/media-sound/alsaplayer/ChangeLog index 7743aa059a19..f0faf0d0976f 100644 --- a/media-sound/alsaplayer/ChangeLog +++ b/media-sound/alsaplayer/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-sound/alsaplayer # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/alsaplayer/ChangeLog,v 1.29 2005/02/13 03:36:26 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/alsaplayer/ChangeLog,v 1.30 2005/03/06 02:00:06 josejx Exp $ + + 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: diff --git a/media-sound/alsaplayer/Manifest b/media-sound/alsaplayer/Manifest index ae8db7a0063d..fd5e67284d5a 100644 --- a/media-sound/alsaplayer/Manifest +++ b/media-sound/alsaplayer/Manifest @@ -1,18 +1,8 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 d41e2deaa8aef46712f1ede969a217d4 alsaplayer-0.99.75-r1.ebuild 2285 -MD5 be9ff759766379b90f6541db37800e2e ChangeLog 5006 +MD5 ae4836d1ccf5dd6edd99722a2aa5b717 ChangeLog 5185 MD5 3be4f6e757e3057184136a002b0165f9 metadata.xml 221 -MD5 32fc0505c89d588eb2c77d98bc65f4a0 alsaplayer-0.99.76.ebuild 1466 -MD5 d7c5048a47693b7a9ba603a3fadd8cd1 files/digest-alsaplayer-0.99.75-r1 71 +MD5 d41e2deaa8aef46712f1ede969a217d4 alsaplayer-0.99.75-r1.ebuild 2285 +MD5 c5f31cdad93bab7eef654e895149a993 alsaplayer-0.99.76.ebuild 1587 MD5 53bd2804a0e111a7f5fd3e65e8ccd493 files/digest-alsaplayer-0.99.76 71 +MD5 4d1180a1109044fb119335839a357f95 files/alsaplayer-endian.patch 1143 MD5 5c35a3140250067b9e24fea110bde6c4 files/gcc.patch 805 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.2.6 (GNU/Linux) -Comment: Robbat2 @ Orbis-Terrarum Networks - -iD8DBQFCDstPPpIsIjIzwiwRAnpUAKCLoZuk7UFwG6fD0E1kegZEnslgFgCeMWHV -/XptaTUBl/4lTYM/+aN1D4U= -=I/Fk ------END PGP SIGNATURE----- +MD5 d7c5048a47693b7a9ba603a3fadd8cd1 files/digest-alsaplayer-0.99.75-r1 71 diff --git a/media-sound/alsaplayer/alsaplayer-0.99.76.ebuild b/media-sound/alsaplayer/alsaplayer-0.99.76.ebuild index e7a495e92a25..c84433f4f2fb 100644 --- a/media-sound/alsaplayer/alsaplayer-0.99.76.ebuild +++ b/media-sound/alsaplayer/alsaplayer-0.99.76.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/alsaplayer/alsaplayer-0.99.76.ebuild,v 1.13 2005/02/13 03:36:26 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/alsaplayer/alsaplayer-0.99.76.ebuild,v 1.14 2005/03/06 02:00:06 josejx Exp $ + +inherit eutils IUSE="nas nls esd opengl doc oss gtk oggvorbis alsa jack mikmod flac" @@ -10,7 +12,7 @@ SRC_URI="http://www.alsaplayer.org/${P}.tar.bz2" SLOT="0" LICENSE="GPL-2" -KEYWORDS="~alpha amd64 ~ia64 ~ppc ~sparc x86 ~mips" +KEYWORDS="~alpha amd64 ~ia64 ppc ~sparc x86 ~mips" RDEPEND=">=dev-libs/glib-1.2.10 doc? ( app-doc/doxygen ) @@ -28,6 +30,14 @@ DEPEND="${RDEPEND} sys-apps/sed nls? ( sys-devel/gettext )" +src_unpack() { + unpack ${A} + cd ${S} + if use ppc; then + epatch ${FILESDIR}/alsaplayer-endian.patch + fi +} + src_compile() { export CPPFLAGS="${CPPFLAGS} -I/usr/X11R6/include" diff --git a/media-sound/alsaplayer/files/alsaplayer-endian.patch b/media-sound/alsaplayer/files/alsaplayer-endian.patch new file mode 100644 index 000000000000..c42deefeca6c --- /dev/null +++ b/media-sound/alsaplayer/files/alsaplayer-endian.patch @@ -0,0 +1,34 @@ +--- output/alsa-final/alsa.c.old 2004-12-23 13:20:52.238347728 +0900 ++++ output/alsa-final/alsa.c 2004-12-23 13:21:15.998735600 +0900 +@@ -173,9 +173,9 @@ + goto _err; + } + err = snd_pcm_hw_params_set_format(sound_handle, hwparams, +- SND_PCM_FORMAT_S16_LE); ++ SND_PCM_FORMAT_S16); + if (err < 0) { +- puts("error on set_format SND_PCM_FORMAT_S16_LE"); ++ puts("error on set_format SND_PCM_FORMAT_S16"); + goto _err; + } + val = output_rate; +--- output/alsa-0.5.x/alsa.old 2004-12-23 14:32:41.420252504 +0900 ++++ output/alsa-0.5.x/alsa.c 2004-12-23 14:33:07.996212344 +0900 +@@ -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; |