summaryrefslogtreecommitdiff
path: root/media-plugins/alsaequal
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /media-plugins/alsaequal
reinit the tree, so we can have metadata
Diffstat (limited to 'media-plugins/alsaequal')
-rw-r--r--media-plugins/alsaequal/Manifest7
-rw-r--r--media-plugins/alsaequal/alsaequal-0.6-r2.ebuild45
-rw-r--r--media-plugins/alsaequal/files/alsaequal-0.6-asneeded.patch16
-rw-r--r--media-plugins/alsaequal/files/alsaequal-0.6-eq-name.patch63
-rw-r--r--media-plugins/alsaequal/metadata.xml8
5 files changed, 139 insertions, 0 deletions
diff --git a/media-plugins/alsaequal/Manifest b/media-plugins/alsaequal/Manifest
new file mode 100644
index 000000000000..3c9eda3c4541
--- /dev/null
+++ b/media-plugins/alsaequal/Manifest
@@ -0,0 +1,7 @@
+AUX alsaequal-0.6-asneeded.patch 481 SHA256 24718bedfa184b9a59127020f09105cc831b5f188be4b05f21b530bf13155a52 SHA512 e1aa6a169b28d5828c3a07a5d1cef75b30659e2385c2898fa80b914a9644fdc36cca8939e247e0c81c0d40f8f8dd116928f3ea49d28750a3b708af4ac04d4082 WHIRLPOOL 81202761729c3cb0aeb54951f75b39e95605af2053619a9ec663526550335bea471442b017f4317010736a60cde8a33c7cd669dd2ed60151b73cffab5f09bb27
+AUX alsaequal-0.6-eq-name.patch 2081 SHA256 c2b54a73ba9f5a7b13380e7a5e0357f29d4e3e65775ff46a82f175b5988667c8 SHA512 17d8280da936684b2e525aa0d55b6568de02d44490c974a2a31e274bdaa130589f74f41f9157df6885ccef87a9c927f3184bfd2b8ea2368b921db201de0f8413 WHIRLPOOL 12d889005f3d378dc726646927578a3118e481066939b976408c698044c7fd17cfdc74e40a4374b48a5f1983da530f44395761d2c9a23455281f2fd1670211b3
+DIST alsaequal-0.6.tar.bz2 23562 SHA256 916e7d152added24617efc350142438a46099efe062bd8781d36dbf10b4e6ff0 SHA512 53a73469682eb7b641849151d4e91a3ac031daa5f11f7ad328bdd0bcf5251112814c75d27dceb8baf8582c749bf80f055414397259d24b749e7edbc03472bc6a WHIRLPOOL 991467670e6913829b402d6ba46b019317bcc49f98c45620ee2501c950d7b655c72a5dd65a76e68c59b4f2bbedc9c2c4a78d00a6b80bbfd34a37d8845eb43d85
+EBUILD alsaequal-0.6-r2.ebuild 1152 SHA256 ec69e81500fed88f935591b10b7cd1d78e5afcad3606910eedc32f9b213b624b SHA512 5e7cf5c47a89ceaf243909baaef8f9905ad386d544c1c7e1a554d3157c195ebcae5357ba421172414b3c5daffea65e0b010e14489243e2f80b9fe7fa87153f20 WHIRLPOOL 8de0c3bea88a24a9f26694cb0a20892e45c873456edd946e3cebae3c4d49d401be156b6b72e4ac83fdd2d8699c2fed6b3233629d6dd32dd1cbbc2ecef3319982
+MISC ChangeLog 2515 SHA256 44adf93b0c1bd8634327dd8a8d91ca08a2283fa816e3fe9dd239dcb61549ffc3 SHA512 7072c8b8f122f795fb8f1a8a6943865923a2fb8da757e78d706b4ea538fa52237af87001cb924509ea9ee5fcaf5c0163ec18bc2ddd4163593be895f83c6265b7 WHIRLPOOL 56079f2c8002c300013a07025283ea0f6614a25e82fb90d1bd8b318f614fe14a03f7c0f68ebe7c414e874712e98c74e49556e31ec4ff5337e4559dcdb5b03b98
+MISC ChangeLog-2015 1826 SHA256 e97edd5a4bca119f442a7b9e9b19d6010520794e355c619233a93ad981ecaa72 SHA512 a25c51994e52a463423dc0c0e52789e4a41bca29c9ab6988c8a12a332d1191933dfee62fe0847ea08caf6a901e6d976e6d85a03f11c65bf4a7bb5f060d193ef6 WHIRLPOOL d05d25a08e170aa653fe2ed3dcbbc856ffd606a74ae775495adc1a976d2f04f5ebca6985f36473a9f46e41670213de3cf5e17b7b719ef110f1d356ae3d18c6c3
+MISC metadata.xml 265 SHA256 a7c61fa44ce7f03f529b91c817d42328e2f77a6f3fcbe82365fb2af010d56baa SHA512 5b875b5d0a59914316df520eee72ee3c5f931b8513424120281657bbc266c777214a924e4c6c867cdd7a61cb66037c7b9b501225cc06d890abb8ca04c13f5fba WHIRLPOOL 6edf6efa43f6e3092a2b173b4d00a48371816848307a5e3d1b8d0cc9ef40de662e806aa0401db805830f1c25e191e5dc36704843605375cf63424976901671fb
diff --git a/media-plugins/alsaequal/alsaequal-0.6-r2.ebuild b/media-plugins/alsaequal/alsaequal-0.6-r2.ebuild
new file mode 100644
index 000000000000..9922359726bc
--- /dev/null
+++ b/media-plugins/alsaequal/alsaequal-0.6-r2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils multilib toolchain-funcs multilib-minimal
+
+DESCRIPTION="a real-time adjustable equalizer plugin for ALSA"
+HOMEPAGE="http://www.thedigitalmachine.net/alsaequal.html"
+SRC_URI="http://www.thedigitalmachine.net/tools/${P}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RDEPEND=">=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}]
+ >=media-plugins/caps-plugins-0.9.15[${MULTILIB_USEDEP}]
+ abi_x86_32? ( !<=app-emulation/emul-linux-x86-soundlibs-20130224-r3
+ !app-emulation/emul-linux-x86-soundlibs[-abi_x86_32(-)] )"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${PN}
+DOCS=( README )
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-asneeded.patch
+ epatch "${FILESDIR}"/${P}-eq-name.patch
+ multilib_copy_sources
+}
+
+multilib_src_compile() {
+ emake \
+ CC="$(tc-getCC)" \
+ CFLAGS="${CFLAGS} -Wall -fPIC -DPIC" \
+ LD="$(tc-getCC)" \
+ LDFLAGS="${LDFLAGS} -shared" \
+ Q= \
+ SND_PCM_LIBS="-lasound" \
+ SND_CTL_LIBS="-lasound" || die
+}
+
+multilib_src_install() {
+ exeinto /usr/$(get_libdir)/alsa-lib
+ doexe *.so || die
+}
diff --git a/media-plugins/alsaequal/files/alsaequal-0.6-asneeded.patch b/media-plugins/alsaequal/files/alsaequal-0.6-asneeded.patch
new file mode 100644
index 000000000000..50a95e6a5c95
--- /dev/null
+++ b/media-plugins/alsaequal/files/alsaequal-0.6-asneeded.patch
@@ -0,0 +1,16 @@
+--- Makefile
++++ Makefile
+@@ -29,11 +29,11 @@
+
+ $(SND_PCM_BIN): $(SND_PCM_OBJECTS)
+ @echo LD $@
+- $(Q)$(LD) $(LDFLAGS) $(SND_PCM_LIBS) $(SND_PCM_OBJECTS) -o $(SND_PCM_BIN)
++ $(Q)$(LD) $(LDFLAGS) $(SND_PCM_OBJECTS) -o $(SND_PCM_BIN) $(SND_PCM_LIBS)
+
+ $(SND_CTL_BIN): $(SND_CTL_OBJECTS)
+ @echo LD $@
+- $(Q)$(LD) $(LDFLAGS) $(SND_CTL_LIBS) $(SND_CTL_OBJECTS) -o $(SND_CTL_BIN)
++ $(Q)$(LD) $(LDFLAGS) $(SND_CTL_OBJECTS) -o $(SND_CTL_BIN) $(SND_CTL_LIBS)
+
+ %.o: %.c
+ @echo GCC $<
diff --git a/media-plugins/alsaequal/files/alsaequal-0.6-eq-name.patch b/media-plugins/alsaequal/files/alsaequal-0.6-eq-name.patch
new file mode 100644
index 000000000000..7317214bf914
--- /dev/null
+++ b/media-plugins/alsaequal/files/alsaequal-0.6-eq-name.patch
@@ -0,0 +1,63 @@
+Description: Fix CAPS Eq plugin name
+Origin: vendor
+Bug-Debian: http://bugs.debian.org/721355
+Forwarded: no
+Author: Alessandro Ghedini <ghedo@debian.org>
+Last-Update: 2013-08-30
+
+--- a/ctl_equal.c
++++ b/ctl_equal.c
+@@ -167,7 +167,7 @@
+ snd_ctl_equal_t *equal;
+ const char *controls = ".alsaequal.bin";
+ const char *library = "/usr/lib/ladspa/caps.so";
+- const char *module = "Eq";
++ const char *module = "Eq10";
+ long channels = 2;
+ const char *sufix = " Playback Volume";
+ int err, i, index;
+--- a/pcm_equal.c
++++ b/pcm_equal.c
+@@ -151,7 +151,7 @@
+ snd_config_t *sconf = NULL;
+ const char *controls = ".alsaequal.bin";
+ const char *library = "/usr/lib/ladspa/caps.so";
+- const char *module = "Eq";
++ const char *module = "Eq10";
+ long channels = 2;
+ int err;
+
+--- a/README
++++ b/README
+@@ -1,11 +1,11 @@
+ Alsaequal is a real-time adjustable equalizer plugin for ALSA. It can
+ be adjusted using any ALSA compatible mixer, e.g. alsamixergui.
+
+-Alsaequal uses the Eq CAPS LADSPA Plugin for audio processing, actually
++Alsaequal uses the Eq10 CAPS LADSPA Plugin for audio processing, actually
+ alsaequal is a generic LADSPA plugin interface with real-time access to
+ the LADSPA controls (the LADSPA plugin included with alsa doesn't allow
+ for real-time controls) but it was developed for and only tested with
+-Eq CAPS LADSPA plugin. You are welcome to try it with other plugins, it
++Eq10 CAPS LADSPA plugin. You are welcome to try it with other plugins, it
+ may work. Let me know how it goes, you can reach me at
+ <charles@thedigitalmachine.net>.
+
+@@ -66,7 +66,7 @@
+ library -- location of the LADSPA library, the default is
+ "/usr/lib/ladspa/caps.so"
+ module -- module name within the LADSPA library, the deafault
+- is "Eq"
++ is "Eq10"
+ channels -- number of channels, the default is 2
+ }
+
+@@ -81,7 +81,7 @@
+ library -- location of the LADSPA library, the default is
+ "/usr/lib/ladspa/caps.so"
+ module -- module name within the LADSPA library, the deafault
+- is "Eq"
++ is "Eq10"
+ channels -- number of channels, the default is 2
+ }
+
diff --git a/media-plugins/alsaequal/metadata.xml b/media-plugins/alsaequal/metadata.xml
new file mode 100644
index 000000000000..009e0e9e4ae2
--- /dev/null
+++ b/media-plugins/alsaequal/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>proaudio@gentoo.org</email>
+ <name>Gentoo ProAudio Project</name>
+ </maintainer>
+</pkgmetadata>