summaryrefslogtreecommitdiffstats
path: root/media-plugins/xmms-rva/xmms-rva-0.7.7.ebuild
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-09-01 00:00:32 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-09-01 00:00:32 +0200
commitca9627e70852f6b2e835660df870fe3ab405882d (patch)
tree0a008b1d5b16fa0679a195ed7b5662c7891f591c /media-plugins/xmms-rva/xmms-rva-0.7.7.ebuild
downloaddarklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.gz
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.bz2
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.xz
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.zip
Initial import
Diffstat (limited to 'media-plugins/xmms-rva/xmms-rva-0.7.7.ebuild')
-rw-r--r--media-plugins/xmms-rva/xmms-rva-0.7.7.ebuild41
1 files changed, 41 insertions, 0 deletions
diff --git a/media-plugins/xmms-rva/xmms-rva-0.7.7.ebuild b/media-plugins/xmms-rva/xmms-rva-0.7.7.ebuild
new file mode 100644
index 0000000..741b510
--- /dev/null
+++ b/media-plugins/xmms-rva/xmms-rva-0.7.7.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/normalize/normalize-0.7.7.ebuild,v 1.8 2007/10/15 14:39:12 corsair Exp $
+
+DESCRIPTION="Audio file volume normalizer plugin for XMMS"
+HOMEPAGE="http://normalize.nongnu.org/"
+SRC_URI="http://savannah.nongnu.org/download/normalize/normalize-${PV}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 sparc x86 ~x86-fbsd"
+IUSE="mad audiofile nls userland_BSD"
+
+RDEPEND="mad? ( media-libs/libmad )
+ audiofile? ( >=media-libs/audiofile-0.2.3-r1 )
+ media-sound/xmms"
+DEPEND="${RDEPEND}
+ nls? ( dev-util/intltool )"
+
+S="${WORKDIR}/normalize-${PV}"
+
+src_unpack() {
+ unpack ${A}
+ use userland_BSD && sed -i -e 's/md5sum/md5/' "${S}"/test/*.sh
+}
+
+src_compile() {
+ econf \
+ $(use_enable nls) \
+ $(use_with mad) \
+ $(use_with audiofile) \
+ || die
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ mkdir -p "${D}/usr/lib/xmms/Effect"
+ install -c -m 755 xmms-rva/.libs/librva.so "${D}/usr/lib/xmms/Effect"
+ install -c -m 755 xmms-rva/.libs/librva.la "${D}/usr/lib/xmms/Effect"
+}