summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-07-26 12:49:51 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-07-26 12:49:51 +0000
commitded13873d527fe9ae5701e332c6c3d0886037ad9 (patch)
tree4f8ac73c92c23e142640ce9ba7b0dff016660eae /media-sound/aqualung
parentMarking dillo-2.1.1 ~ppc64 for bug 276432 (diff)
downloadhistorical-ded13873d527fe9ae5701e332c6c3d0886037ad9.tar.gz
historical-ded13873d527fe9ae5701e332c6c3d0886037ad9.tar.bz2
historical-ded13873d527fe9ae5701e332c6c3d0886037ad9.zip
Use transition package media-libs/libmpcdecsv7 instead of media-libs/libmpcdec for Musepack support.
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'media-sound/aqualung')
-rw-r--r--media-sound/aqualung/ChangeLog10
-rw-r--r--media-sound/aqualung/Manifest4
-rw-r--r--media-sound/aqualung/aqualung-0.9_beta10-r2.ebuild85
-rw-r--r--media-sound/aqualung/files/aqualung-0.9_beta10-libmpcdecsv7.patch27
4 files changed, 124 insertions, 2 deletions
diff --git a/media-sound/aqualung/ChangeLog b/media-sound/aqualung/ChangeLog
index b8250822dd71..4890e74030e9 100644
--- a/media-sound/aqualung/ChangeLog
+++ b/media-sound/aqualung/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for media-sound/aqualung
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/aqualung/ChangeLog,v 1.5 2009/07/22 15:54:43 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/aqualung/ChangeLog,v 1.6 2009/07/26 12:49:51 ssuominen Exp $
+
+*aqualung-0.9_beta10-r2 (26 Jul 2009)
+
+ 26 Jul 2009; Samuli Suominen <ssuominen@gentoo.org>
+ +aqualung-0.9_beta10-r2.ebuild,
+ +files/aqualung-0.9_beta10-libmpcdecsv7.patch:
+ Use transition package media-libs/libmpcdecsv7 instead of
+ media-libs/libmpcdec for Musepack support.
22 Jul 2009; Samuli Suominen <ssuominen@gentoo.org> metadata.xml:
USE cdda is now global.
diff --git a/media-sound/aqualung/Manifest b/media-sound/aqualung/Manifest
index d097b2972892..d5af92423541 100644
--- a/media-sound/aqualung/Manifest
+++ b/media-sound/aqualung/Manifest
@@ -1,4 +1,6 @@
+AUX aqualung-0.9_beta10-libmpcdecsv7.patch 1129 RMD160 7c051984596c0b3befa2f026a27d78bf2a3054e0 SHA1 b8928e1a1483d14d8387355e21017d92d7c3019f SHA256 89619bcfb51d3b39bd374e0f2298f534b6cc174c1bae92b9800799a52533c3c7
DIST aqualung-0.9beta10.tar.gz 1400075 RMD160 8f8a68f96d66320759ad83e70a4f50039ea53cc8 SHA1 74c9add1385eb754b816f2581018631d0dad5af2 SHA256 464568ff1b87c7a3dc6ef7d153a18e56ca8e0bfd5a173f942a00f4e59e097d67
EBUILD aqualung-0.9_beta10-r1.ebuild 2320 RMD160 da7a7c7131cb64a3e7e0763318821b421184e622 SHA1 adb27da9c304b04c3d1bb98eedd28669e5e23fee SHA256 459f0fa19feac8795f9650f69b1173aa2e7f33e8d75cdc5d38dd8e736a9b60f2
-MISC ChangeLog 1249 RMD160 71acb86499066855e52884a827e1a338faf7b01d SHA1 1ad4c4f6bdc09edd064b4a6f7e1e93126b041099 SHA256 e2111a3d0fd2f5fe7b7297672f0135184553f2da3b57006e7e3c4bc8d8963a5f
+EBUILD aqualung-0.9_beta10-r2.ebuild 2351 RMD160 c968954fd63a3be5b34fe7ec202b5642310b83a4 SHA1 b5262c9358341e784d8ee86e1e13e48c00cf5e08 SHA256 b4116ec9102cf69e1c5a6759e0bb0cac024156a41ea8659960cf788234d5937c
+MISC ChangeLog 1531 RMD160 8308c835d31f443c72e9192045d7c249ed8a2b02 SHA1 5219b5a3ac7712a4e3439ddb3470540305e2d350 SHA256 7eed93f0208312b752180a41a58a0e602272da1d56d6e522887d60a60221ad52
MISC metadata.xml 489 RMD160 6934eb99b8df49c6f7533505c2e7cb9845adc0ce SHA1 b1586294d1550b0c7a15d4a654ac9ecf1ae04da4 SHA256 9377c4cd80fd345fef83ea9b9152ee58648bb04e136d8e478126c942df8387f9
diff --git a/media-sound/aqualung/aqualung-0.9_beta10-r2.ebuild b/media-sound/aqualung/aqualung-0.9_beta10-r2.ebuild
new file mode 100644
index 000000000000..6d18343e2f20
--- /dev/null
+++ b/media-sound/aqualung/aqualung-0.9_beta10-r2.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/aqualung/aqualung-0.9_beta10-r2.ebuild,v 1.1 2009/07/26 12:49:51 ssuominen Exp $
+
+EAPI=2
+inherit autotools eutils versionator
+
+MY_PV="$(delete_version_separator 2)"
+MY_PV="${MY_PV/_p/.}"
+
+DESCRIPTION="A music player for a wide range of formats designed for gapless playback"
+HOMEPAGE="http://aqualung.factorial.hu/"
+SRC_URI="mirror://sourceforge/aqualung/${PN}-${MY_PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="sndfile modplug mp3 vorbis speex flac musepack wavpack ffmpeg ladspa
+ cddb cdda ifp jack lua alsa oss lame systray libsamplerate podcast debug"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="vorbis? ( media-libs/libvorbis )
+ sndfile? ( media-libs/libsndfile )
+ flac? ( media-libs/flac )
+ modplug? ( media-libs/libmodplug )
+ alsa? ( virtual/alsa )
+ mp3? ( media-libs/libmad )
+ lame? ( media-sound/lame )
+ musepack? ( media-libs/libmpcdecsv7 )
+ ffmpeg? ( media-video/ffmpeg )
+ speex? ( media-libs/speex media-libs/liboggz )
+ wavpack? ( media-sound/wavpack )
+ cddb? ( media-libs/libcddb )
+ jack? ( media-sound/jack-audio-connection-kit )
+ cdda? ( dev-libs/libcdio )
+ ifp? ( media-libs/libifp )
+ lua? ( dev-lang/lua )
+ libsamplerate? ( media-libs/libsamplerate )
+ x11-libs/gtk+:2"
+DEPEND="${RDEPEND}
+ ladspa? ( media-libs/liblrdf )
+ dev-util/pkgconfig
+ dev-libs/libxml2"
+
+S=${WORKDIR}/${PN}-${MY_PV}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-libmpcdecsv7.patch
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_with alsa) \
+ $(use_with oss) \
+ $(use_with jack) \
+ $(use_with flac) \
+ $(use_with vorbis ogg) \
+ $(use_with vorbis vorbisenc) \
+ $(use_with sndfile) \
+ $(use_with mp3 mpeg) \
+ $(use_with lame) \
+ $(use_with modplug mod) \
+ $(use_with musepack mpc) \
+ $(use_with ffmpeg lavc) \
+ $(use_with speex) \
+ $(use_with wavpack) \
+ $(use_with cddb) \
+ $(use_with systray) \
+ $(use_with ladspa) \
+ $(use_with cdda) \
+ $(use_with lua) \
+ $(use_with ifp) \
+ $(use_with libsamplerate src) \
+ $(use_with podcast) \
+ $(use_enable debug) \
+ --with-loop \
+ || die "econf failed"
+}
+
+src_install() {
+ emake install DESTDIR="${D}" || die "make install failed"
+ dodoc AUTHORS README || die "dodoc failed"
+ newicon src/img/icon_64.png aqualung.png
+ make_desktop_entry aqualung Aqualung
+}
diff --git a/media-sound/aqualung/files/aqualung-0.9_beta10-libmpcdecsv7.patch b/media-sound/aqualung/files/aqualung-0.9_beta10-libmpcdecsv7.patch
new file mode 100644
index 000000000000..765c84fb6fe1
--- /dev/null
+++ b/media-sound/aqualung/files/aqualung-0.9_beta10-libmpcdecsv7.patch
@@ -0,0 +1,27 @@
+diff -ur aqualung-0.9beta10.orig/configure.ac aqualung-0.9beta10/configure.ac
+--- aqualung-0.9beta10.orig/configure.ac 2009-02-08 12:54:25.000000000 +0200
++++ aqualung-0.9beta10/configure.ac 2009-07-26 15:45:15.000000000 +0300
+@@ -526,9 +526,9 @@
+ if test "$mpc" = "no"; then
+ AC_MSG_RESULT(no)
+ else
+- AC_CHECK_LIB(mpcdec, mpc_streaminfo_init, [lib=yes], [lib=no], [-lstdc++])
++ AC_CHECK_LIB(mpcdecsv7, mpc_streaminfo_init, [lib=yes], [lib=no], [-lstdc++])
+ if test "$lib" = "yes"; then
+- mpc_LIBS="-lmpcdec -lstdc++"
++ mpc_LIBS="-lmpcdecsv7 -lstdc++"
+ AC_DEFINE([HAVE_MPC], [1], [Defined if compile with Musepack support])
+ fi
+ if test "$lib" = "no" -a "$mpc" = "yes"; then
+diff -ur aqualung-0.9beta10.orig/src/decoder/dec_mpc.h aqualung-0.9beta10/src/decoder/dec_mpc.h
+--- aqualung-0.9beta10.orig/src/decoder/dec_mpc.h 2009-02-08 12:55:56.000000000 +0200
++++ aqualung-0.9beta10/src/decoder/dec_mpc.h 2009-07-26 15:45:29.000000000 +0300
+@@ -23,7 +23,7 @@
+ #define _DEC_MPC_H
+
+ #ifdef HAVE_MPC
+-#include <mpcdec/mpcdec.h>
++#include <mpcdecsv7/mpcdec.h>
+ #endif /* HAVE_MPC */
+
+ #include "file_decoder.h"