diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /media-sound/vlevel |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-sound/vlevel')
-rw-r--r-- | media-sound/vlevel/Manifest | 6 | ||||
-rw-r--r-- | media-sound/vlevel/files/vlevel-0.5-makefile.patch | 26 | ||||
-rw-r--r-- | media-sound/vlevel/metadata.xml | 11 | ||||
-rw-r--r-- | media-sound/vlevel/vlevel-0.5-r1.ebuild | 38 |
4 files changed, 81 insertions, 0 deletions
diff --git a/media-sound/vlevel/Manifest b/media-sound/vlevel/Manifest new file mode 100644 index 000000000000..5341633e74a6 --- /dev/null +++ b/media-sound/vlevel/Manifest @@ -0,0 +1,6 @@ +AUX vlevel-0.5-makefile.patch 996 SHA256 27788b3dd9c2c10e18d9e66b085ad21a9a677b3cd0725c34e7756deaeed69a61 SHA512 fad6590578cc4727c61e423260028369f0e44feafc8634d8ac25b5de259eb82c6471d31bb6c4da6008a42bf25e10352b5b395cbbbb1afced000d15f3968feb14 WHIRLPOOL 27c75fb9f25213bbee9d84b4883d2dbf7e0c2f0becb3742ae473ba66a6874170d1344200e5d4e19c26416e4bea4b013ca510e9ee2b121f7fef926110acaef862 +DIST vlevel-0.5.tar.gz 25873 SHA256 50322c5bb8942aa3a3cf8a65e83d96b8ef3ecdaedb4dabbaa3f912601df09d10 SHA512 b84a989f7493f6f008134408fcdc235980c2ef71069125399c67a6144a6f86863d795f1c7b8c10ac21d126e2e819ba117578f3da9bcac29025cfc6580ff3e8f4 WHIRLPOOL c4abd9f2e34e0f4540b77dc53b38790f066b71732efd3ba84a5d03aff1168cc4c2e014f1393b4b450574b903ff13f8df1fcd3bcb591b670a92f86b2bdf4d9bee +EBUILD vlevel-0.5-r1.ebuild 900 SHA256 bca419d834777ce507080562da93564bc0360bd0b36f10d9cc2dff867847379d SHA512 575a5a5871949c5d58616473ea9e27552438281ca84ffc13856e92938537f1fad60993b4ee5ea6a71f92e8d0c6bfaa1770edb34bcbc42e94a18de832e13638b9 WHIRLPOOL 21c8f6291c7bf188feaf8b700933621bcb48266edab12ee0c597800d8371f7ea7f79ac91a3cde6604efc17973cf61c3ea92a458a05cad37ec33286144354a576 +MISC ChangeLog 2463 SHA256 3b3d8ebbc210af555bda81345aa2561db85c0c000e631723ceebec9f553aef83 SHA512 ce11aec145fb830c81e2d6f2bc2cb7c48ed56f3e8c34381fe830f47665bab949389209fd6b9c0278735fc018d8291f627fe20cb3eb2c7fadd37285e3a59729fd WHIRLPOOL 8ae8bea1d121c9b31e931444665b2ab3f58da216120017185734ea4fa33d0ed43edfd97cc2a166cea744b9ea355e68a833707a2cd2488a5d516a160eba2aff25 +MISC ChangeLog-2015 1847 SHA256 233963f0ae16bdc474b496d6df1b01104211884af7701184e2b632328d21bc2e SHA512 ca7468208e68099293fcfe3ad46bc20e86bb8207a297ab489ab105ec25a0d5271073122e8b8e21f06bb9c956f9f0f0d850adb747edc77593f19e8c04b767d04c WHIRLPOOL d094cd6fcffa08edb3f612d42d1acd53a0e9a5cbc9128a080a59908463547ef5a46bd18671f1ce24461b83c82a12ca5fe780c6cb8e211ef9be94ea1b4c5ced4f +MISC metadata.xml 329 SHA256 49ee6ab64b80146756dccdcf48b76310eef397068407eb9b50b684bc17034d98 SHA512 d3272d4cc86186bfc2b08cee68f27cdbb139ea2eb04557977aa9d4088716e1a6d0755bca4ec63363fe83d333198eb9b249359bd191847021438b962548266fcc WHIRLPOOL ffd243d3cc891320dfe9f961e2f799a67bbd8483b63b395df7c1ad23bb0d2f7c19c775c2dd37565601c43005947680c5ed5d3a494ce74c77f5b4265ed64fd9ac 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/metadata.xml b/media-sound/vlevel/metadata.xml new file mode 100644 index 000000000000..25aad767d276 --- /dev/null +++ b/media-sound/vlevel/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sound@gentoo.org</email> + <name>Gentoo Sound project</name> + </maintainer> + <upstream> + <remote-id type="sourceforge">vlevel</remote-id> + </upstream> +</pkgmetadata> 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..d25eb4ec8439 --- /dev/null +++ b/media-sound/vlevel/vlevel-0.5-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit eutils multilib 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} +} |