From: Ryan Hill Date: Mon, 19 Feb 2007 06:26:20 +0000 (+0000) Subject: Switch to using gtk1 interface since the gtk2 interface is incomplete. Add X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d486376566d40eaf3f97a334691f03912951e895;p=gentoo.git Switch to using gtk1 interface since the gtk2 interface is incomplete. Add warning about possible crashes with unicode filenames. Create desktop menu entry. Package-Manager: portage-2.1.2-r9 --- diff --git a/media-sound/alsaplayer/ChangeLog b/media-sound/alsaplayer/ChangeLog index 0d55f8147de8..c9a65bd65c1f 100644 --- a/media-sound/alsaplayer/ChangeLog +++ b/media-sound/alsaplayer/ChangeLog @@ -1,6 +1,14 @@ # 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.55 2007/02/18 15:30:35 nixnut Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/alsaplayer/ChangeLog,v 1.56 2007/02/19 06:26:20 dirtyepic Exp $ + +*alsaplayer-0.99.77-r1 (19 Feb 2007) + + 19 Feb 2007; Ryan Hill + +alsaplayer-0.99.77-r1.ebuild: + Switch to using gtk1 interface since the gtk2 interface is incomplete. Add + warning about possible crashes with unicode filenames. Create desktop menu + entry. 18 Feb 2007; nixnut alsaplayer-0.99.77.ebuild: Added ~ppc wrt bug 166464 diff --git a/media-sound/alsaplayer/Manifest b/media-sound/alsaplayer/Manifest index 1028b7498895..3e8fd06a7b42 100644 --- a/media-sound/alsaplayer/Manifest +++ b/media-sound/alsaplayer/Manifest @@ -11,14 +11,18 @@ MD5 109304bdd6fb8813a5b4b5c59aa84a84 files/alsaplayer-0.99.77-ppc-endian-fix.pat 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-r1.ebuild 2436 RMD160 ecf65d685096825822dd4f5ae0f383a674106a7f SHA1 e62c8c84309a04aaa8fb70018e109ed05f33c955 SHA256 1a0cf0cafa1df94fd49ef5f4ced8f3552bc86934c5c601feee9eb6d5d278cf0e +MD5 15d237c2674a25d7a50d2cdd972c542c alsaplayer-0.99.77-r1.ebuild 2436 +RMD160 ecf65d685096825822dd4f5ae0f383a674106a7f alsaplayer-0.99.77-r1.ebuild 2436 +SHA256 1a0cf0cafa1df94fd49ef5f4ced8f3552bc86934c5c601feee9eb6d5d278cf0e alsaplayer-0.99.77-r1.ebuild 2436 EBUILD alsaplayer-0.99.77.ebuild 2084 RMD160 aec8a54e9bc05fc2d005c1ef7e5868754519d7f1 SHA1 bdf5c2ce43a4419a57c3a1d7be420ad2f437fbc1 SHA256 cbf03294f624768e1f27c90319d7459bd48c645a9dd6ff5607161a7ae0da1199 MD5 3d75c769fe1bf93127ec1a134790bb87 alsaplayer-0.99.77.ebuild 2084 RMD160 aec8a54e9bc05fc2d005c1ef7e5868754519d7f1 alsaplayer-0.99.77.ebuild 2084 SHA256 cbf03294f624768e1f27c90319d7459bd48c645a9dd6ff5607161a7ae0da1199 alsaplayer-0.99.77.ebuild 2084 -MISC ChangeLog 8970 RMD160 c064ec500a94b5321f35f007342f79db60e36bee SHA1 55c7546dd85714a556bc5f008790750c475f8930 SHA256 6c07658d93c4faa82cc5fd90c98a28a951173536b32aa6251e3e14bfc547a89c -MD5 007690d56a3fff57e45fafa11ff41553 ChangeLog 8970 -RMD160 c064ec500a94b5321f35f007342f79db60e36bee ChangeLog 8970 -SHA256 6c07658d93c4faa82cc5fd90c98a28a951173536b32aa6251e3e14bfc547a89c ChangeLog 8970 +MISC ChangeLog 9256 RMD160 adb9016a5e5dbd7c9e537dfb89ba8addd3d23ffd SHA1 7e6f29f775882acd21f544c42ead5377b7e81605 SHA256 4bcad1e6edf084ae04fa2c9187c68ab36197043876426114fff677385733a075 +MD5 ee21cd2acc8fcd20a949f548a72a93f8 ChangeLog 9256 +RMD160 adb9016a5e5dbd7c9e537dfb89ba8addd3d23ffd ChangeLog 9256 +SHA256 4bcad1e6edf084ae04fa2c9187c68ab36197043876426114fff677385733a075 ChangeLog 9256 MISC metadata.xml 226 RMD160 77b3f176fe8a4602ef10b43118ad4b324debc1dc SHA1 03082d01f1e4be11dac43f56ef16d62fe6dddc9d SHA256 9704abc4f11258f32e53012818f6998efcb9b256c5422148bf9f0fef8bbcba5d MD5 fe89d78289fe2113b0a2d1a0eec7e1a4 metadata.xml 226 RMD160 77b3f176fe8a4602ef10b43118ad4b324debc1dc metadata.xml 226 @@ -26,3 +30,6 @@ SHA256 9704abc4f11258f32e53012818f6998efcb9b256c5422148bf9f0fef8bbcba5d metadata 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 +MD5 d0d6502c9b14d958255f5b524c052eb7 files/digest-alsaplayer-0.99.77-r1 259 +RMD160 ce6128f873138b05f4ea6458f3243c4d327f077a files/digest-alsaplayer-0.99.77-r1 259 +SHA256 70f0b326f866960a4b3727c1018932f462836b4edebd75083f850ca5e156039b files/digest-alsaplayer-0.99.77-r1 259 diff --git a/media-sound/alsaplayer/alsaplayer-0.99.77-r1.ebuild b/media-sound/alsaplayer/alsaplayer-0.99.77-r1.ebuild new file mode 100644 index 000000000000..e49ea0409825 --- /dev/null +++ b/media-sound/alsaplayer/alsaplayer-0.99.77-r1.ebuild @@ -0,0 +1,98 @@ +# 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-r1.ebuild,v 1.1 2007/02/19 06:26:20 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="~amd64 ~mips ~ppc ~sparc ~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+-1.2* ) + 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 gtk) \ + $(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-gtk2 \ + --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" + + make_desktop_entry ${PN} "Alsaplayer" ${PN} \ + "AudioVideo;Audio;Player" + + dodoc AUTHORS ChangeLog README TODO + dodoc docs/wishlist.txt +} + +pkg_postinst() { + if use gtk; then + elog + elog "The GTK-1 interface is known to crash with unicode filenames. If you" + elog "experience such crashes, consider using the text interface (\`alsaplayer -i" + elog "text\`), or trying another audio player." + elog + fi +} diff --git a/media-sound/alsaplayer/files/digest-alsaplayer-0.99.77-r1 b/media-sound/alsaplayer/files/digest-alsaplayer-0.99.77-r1 new file mode 100644 index 000000000000..385f3c3f0ed7 --- /dev/null +++ b/media-sound/alsaplayer/files/digest-alsaplayer-0.99.77-r1 @@ -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