diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2019-09-01 00:00:32 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2019-09-01 00:00:32 +0200 |
commit | ca9627e70852f6b2e835660df870fe3ab405882d (patch) | |
tree | 0a008b1d5b16fa0679a195ed7b5662c7891f591c /media-plugins/eq-xmms | |
download | darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.gz darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.bz2 darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.xz darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.zip |
Initial import
Diffstat (limited to 'media-plugins/eq-xmms')
-rw-r--r-- | media-plugins/eq-xmms/Manifest | 3 | ||||
-rw-r--r-- | media-plugins/eq-xmms/eq-xmms-0.7.ebuild | 46 | ||||
-rw-r--r-- | media-plugins/eq-xmms/files/eq-xmms-0.7-amd64_support.patch | 45 |
3 files changed, 94 insertions, 0 deletions
diff --git a/media-plugins/eq-xmms/Manifest b/media-plugins/eq-xmms/Manifest new file mode 100644 index 0000000..cdda268 --- /dev/null +++ b/media-plugins/eq-xmms/Manifest @@ -0,0 +1,3 @@ +AUX eq-xmms-0.7-amd64_support.patch 1363 RMD160 665e434867da613e400b27c8bc518a99b08922df SHA1 27191438bc3b77a1c05ca723b7eb2e5856f4ce7c SHA256 2ed37439d5ad47daaaf8bd8da34619921420f92a28f7f96efe8bc9784a0965f9 +DIST eq-xmms-0.7.tar.gz 632130 RMD160 4befac780189d9eeceb3c54e840f8367ed31d8dc SHA1 8c4e19fe4a7b55bd975644d4fe493ec6698315ea SHA256 158a51c7ffe89ce5d8c8f25ee8f3ac65efb1ad2d1ba91262824b3def2e0a7dc2 +EBUILD eq-xmms-0.7.ebuild 1105 RMD160 9a7d1edc4bf8101053700d8c94b37639a5b50be0 SHA1 f5f3df35b3d8de5aa2eee58b21fbabed4df7609d SHA256 42bc0fa15a21b33ee7c62345255f7715f88a909c3bec9b927da7adf3698e8b5f diff --git a/media-plugins/eq-xmms/eq-xmms-0.7.ebuild b/media-plugins/eq-xmms/eq-xmms-0.7.ebuild new file mode 100644 index 0000000..6de487b --- /dev/null +++ b/media-plugins/eq-xmms/eq-xmms-0.7.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/eq-xmms/eq-xmms-0.7.ebuild,v 1.1 2006/01/16 17:42:39 voxus Exp $ + +IUSE="sse-filters" + +inherit eutils autotools + +DESCRIPTION="EQU is a realtime graphical equalizer effect plugin that will equalize almost everything that you play through XMMS, not just the MP3s" +HOMEPAGE="http://equ.sourceforge.net/" +SRC_URI="mirror://sourceforge/equ/${P}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="x86 amd64 ~sparc ~ppc" + +RDEPEND="media-sound/xmms" +DEPEND="${RDEPEND} + >=sys-devel/automake-1.7" + +src_unpack() { + unpack ${A} + cd ${S} + + epatch ${FILESDIR}/${P}-amd64_support.patch + eautoreconf +} + +src_compile() { + local myconf + + use sse-filters && { + myconf="--enable-sse-filters" + + use amd64 && myconf="${myconf} --enable-sse2" + } + + econf ${myconf} || die "econf failed" + emake || die "emake failed" +} + +src_install() { + make DESTDIR="${D}" libdir=`xmms-config --effect-plugin-dir` install || die + + dodoc AUTHORS BUGS ChangeLog NEWS README README.BSD SKINS TODO +} diff --git a/media-plugins/eq-xmms/files/eq-xmms-0.7-amd64_support.patch b/media-plugins/eq-xmms/files/eq-xmms-0.7-amd64_support.patch new file mode 100644 index 0000000..7c1fd65 --- /dev/null +++ b/media-plugins/eq-xmms/files/eq-xmms-0.7-amd64_support.patch @@ -0,0 +1,45 @@ +--- configure.in 2006-01-16 20:04:58.268962424 +0300 ++++ configure.in 2006-01-16 20:07:43.681815848 +0300 +@@ -155,6 +155,9 @@ + XF_CFLAGS="$XF_CFLAGS -DBENCHMARK" + fi + ;; ++ x86_64-*-*) ++ autodetect=no ++ ARCH_DEFINES="-DARCH_X86_64 -march=k8" + esac + ;; + *) +--- src/iir.c 2006-01-16 20:01:23.000000000 +0300 ++++ src/iir.c 2006-01-16 20:09:50.580524312 +0300 +@@ -60,7 +60,7 @@ + clean_history(); + } + +-#ifdef ARCH_X86 ++#if defined(ARCH_X86) || defined(ARCH_X86_64) + /* Round function provided by Frank Klemm which saves around 100K + * CPU cycles in my PIII for each call to the IIR function with 4K samples + */ +--- src/iir_fpu.c 2006-01-15 03:26:32.000000000 +0300 ++++ src/iir_fpu.c 2006-01-16 20:10:22.492672928 +0300 +@@ -163,7 +163,7 @@ + #ifdef ARCH_PPC + tempgint = round_ppc(out[channel]); + #else +-#ifdef ARCH_X86 ++#if defined(ARCH_X86) || defined(ARCH_X86_64) + tempgint = round_trick(out[channel]); + #else + tempgint = (int)out[channel]; +--- src/iir.h 2006-01-15 03:26:32.000000000 +0300 ++++ src/iir.h 2006-01-16 20:15:35.987014544 +0300 +@@ -58,7 +58,7 @@ + + __inline__ int iir(gpointer * d, gint length, gint srate, gint nch); + +-#ifdef ARCH_X86 ++#if defined(ARCH_X86) || defined(ARCH_X86_64) + __inline__ int round_trick(float floatvalue_to_round); + #endif + #ifdef ARCH_PPC |