summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2011-06-02 06:34:58 +0000
committerTim Harder <radhermit@gentoo.org>2011-06-02 06:34:58 +0000
commitdd9008d4f4756a0276668703c7bdfb1cde49042e (patch)
tree5449f991808299a2a818b1570d570d56b55b76a9 /media-sound/vlevel
parentInitial import (diff)
downloadhistorical-dd9008d4f4756a0276668703c7bdfb1cde49042e.tar.gz
historical-dd9008d4f4756a0276668703c7bdfb1cde49042e.tar.bz2
historical-dd9008d4f4756a0276668703c7bdfb1cde49042e.zip
Revision bump. Respect LDFLAGS (bug #335514) and update to EAPI 4.
Package-Manager: portage-2.2.0_alpha37/cvs/Linux x86_64
Diffstat (limited to 'media-sound/vlevel')
-rw-r--r--media-sound/vlevel/ChangeLog10
-rw-r--r--media-sound/vlevel/Manifest18
-rw-r--r--media-sound/vlevel/files/vlevel-0.5-makefile.patch26
-rw-r--r--media-sound/vlevel/vlevel-0.5-r1.ebuild39
4 files changed, 90 insertions, 3 deletions
diff --git a/media-sound/vlevel/ChangeLog b/media-sound/vlevel/ChangeLog
index 27e831855ba9..19bd4c482159 100644
--- a/media-sound/vlevel/ChangeLog
+++ b/media-sound/vlevel/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-sound/vlevel
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/vlevel/ChangeLog,v 1.10 2007/02/22 01:29:12 peper Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/vlevel/ChangeLog,v 1.11 2011/06/02 06:34:58 radhermit Exp $
+
+*vlevel-0.5-r1 (02 Jun 2011)
+
+ 02 Jun 2011; Tim Harder <radhermit@gentoo.org> +vlevel-0.5-r1.ebuild,
+ +files/vlevel-0.5-makefile.patch:
+ Revision bump. Respect LDFLAGS (bug #335514) and update to EAPI 4.
22 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog:
Transition to Manifest2.
diff --git a/media-sound/vlevel/Manifest b/media-sound/vlevel/Manifest
index 8f1fede2329e..8b2cff5ec129 100644
--- a/media-sound/vlevel/Manifest
+++ b/media-sound/vlevel/Manifest
@@ -1,4 +1,20 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX vlevel-0.5-makefile.patch 996 RMD160 a0f3d65f43ea65b7a6369e1ff83fb0ad3585ff00 SHA1 14dc40b244ee1a317a4566408587161bf5bfeb0c SHA256 27788b3dd9c2c10e18d9e66b085ad21a9a677b3cd0725c34e7756deaeed69a61
DIST vlevel-0.5.tar.gz 25873 RMD160 de2d7cc9f5cf669d36a84b692bc2b51af3c1a3ab SHA1 2ff3f6a4d8342751e10492912522d039ea940fa0 SHA256 50322c5bb8942aa3a3cf8a65e83d96b8ef3ecdaedb4dabbaa3f912601df09d10
+EBUILD vlevel-0.5-r1.ebuild 1010 RMD160 044c1083789ee701a723438e4d0f18a636ebbe44 SHA1 eb7e4b12d1e1e480db4f5bb62885323574651733 SHA256 ccf61a9c846854765bf609631c9801491db87fba76281b5f695eec976e8e16c6
EBUILD vlevel-0.5.ebuild 1084 RMD160 e4fc80c2bafa822dd025846c143fb552eba5723f SHA1 85fe45739885edcfeee0be2895bea171ae805835 SHA256 7fecef6a1e6acb290fa32277f2de3861e94437375ded4e3535b601c3b6f8d1fe
-MISC ChangeLog 1107 RMD160 21b01620170ca6a8ea15e4bb862c5098ff07917f SHA1 0848d58ff6091306065759112e62ae83ba0ff662 SHA256 e92abd28451101f8ded8911188248f8b21f699fa64517ef261f0725f45e44c2f
+MISC ChangeLog 1319 RMD160 ab9482019dc2a2ecdf19165da342ff3b8d7963ab SHA1 b9f09f00578112b5da85e5821f6b2f5ec86a6125 SHA256 491304fc70fa43755471aea07c9335e3e8212899b650243b0f41152cc56fb85a
MISC metadata.xml 227 RMD160 db91bfb1298cfaa0069ba0d53f7d8f2791f7d344 SHA1 51ff8c11f7cb3c6b7a97ff2c24af697f1f5ac2ca SHA256 0f8c8d5cb2453a9adf2c7c88c98e613ef02ca8640ecc46379fe9a5e50f7bff7b
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iQEcBAEBAgAGBQJN5y8bAAoJEEqz6FtPBkyjZ4YH/jnXzbB9Yb5J/jlbcNmXrgVT
+cuKtRZNoaGSDUZL5ZegmnGBErqPmmRooZFSBpgrY88cOzFUQUV2eq9Bf834qgqfX
+Cpv8OSUiZtqAoBM2JnmX2fzmcmwbFnITWB4R/fRnD3bobaKuk2VVDnnGm90KkI9u
+00XzQfJc6fELvblg4Bjop8jvvEoOueWB9oGb4LY+9DacOJOnjpyuz+Pf+Zc4QnqC
+f4MDg5wK2tEAbSG7qIjDHVnbno8DMd01/9q1anlwcYDOO4g7ozW6wRmAci/ZndoU
+mrj987ymaEVDrUo5Xapkl2ba1Rqb/9LAD/hy3LhbBPNEq6srmw3jfKVF6Rlx71U=
+=NNqZ
+-----END PGP SIGNATURE-----
diff --git a/media-sound/vlevel/files/vlevel-0.5-makefile.patch b/media-sound/vlevel/files/vlevel-0.5-makefile.patch
new file mode 100644
index 000000000000..af50f1e3c08c
--- /dev/null
+++ b/media-sound/vlevel/files/vlevel-0.5-makefile.patch
@@ -0,0 +1,26 @@
+--- vlevel-0.5/Makefile.orig
++++ vlevel-0.5/Makefile
+@@ -30,6 +30,7 @@
+ all: vlevel-bin vlevel-ladspa.so
+
+ install: all
++ mkdir -p $(PREFIX)
+ cp -f vlevel-bin $(PREFIX)
+ mkdir -p $(LADSPA_PREFIX)
+ cp -f vlevel-ladspa.so $(LADSPA_PREFIX)
+@@ -38,13 +39,13 @@
+ rm -f *.o vlevel-bin vlevel-ladspa.so
+
+ vlevel-ladspa.so: vlevel-ladspa.o volumeleveler.o
+- $(CXX) $(CXXFLAGS) -shared -o vlevel-ladspa.so vlevel-ladspa.o volumeleveler.o
++ $(CXX) $(CXXFLAGS) $(LDFLAGS) -shared -o vlevel-ladspa.so vlevel-ladspa.o volumeleveler.o
+
+ vlevel-ladspa.o: vlevel-ladspa.cpp volumeleveler.h vlevel-ladspa.h vlevel.h ladspa.h
+ $(CXX) $(CXXFLAGS) -c vlevel-ladspa.cpp
+
+ vlevel-bin: volumeleveler.o commandline.o vlevel-bin.o vlevel.h
+- $(CXX) $(CXXFLAGS) -o vlevel-bin vlevel-bin.o volumeleveler.o commandline.o
++ $(CXX) $(CXXFLAGS) $(LDFLAGS) -o vlevel-bin vlevel-bin.o volumeleveler.o commandline.o
+
+ volumeleveler.o: volumeleveler.cpp volumeleveler.h vlevel.h
+ $(CXX) $(CXXFLAGS) -c volumeleveler.cpp
diff --git a/media-sound/vlevel/vlevel-0.5-r1.ebuild b/media-sound/vlevel/vlevel-0.5-r1.ebuild
new file mode 100644
index 000000000000..1b1142eb1832
--- /dev/null
+++ b/media-sound/vlevel/vlevel-0.5-r1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/vlevel/vlevel-0.5-r1.ebuild,v 1.1 2011/06/02 06:34:58 radhermit Exp $
+
+EAPI=4
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Dynamic compressor to amplify quiet parts of music"
+HOMEPAGE="http://vlevel.sourceforge.net/"
+SRC_URI="mirror://sourceforge/vlevel/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+RDEPEND="media-libs/ladspa-sdk"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-makefile.patch
+}
+
+src_compile() {
+ emake CXX=$(tc-getCXX) CXXFLAGS="$CXXFLAGS -fPIC -DPIC"
+}
+
+src_install() {
+ emake PREFIX="${D}/usr/bin/" LADSPA_PREFIX="${D}/usr/$(get_libdir)/ladspa/" install
+
+ dodoc README TODO docs/*
+
+ exeinto /usr/share/doc/${PF}/examples
+ doexe utils/{levelplay,raw2wav,vlevel-dir}
+ docinto examples
+ dodoc utils/README
+ docompress -x /usr/share/doc/${PF}/examples/{levelplay,raw2wav,vlevel-dir}
+}