From a8da050bbbbe6352753c07b7b1d4753dbcf8eb7a Mon Sep 17 00:00:00 2001 From: Alexe-Cristia Moldovan Date: Thu, 18 Jun 2015 15:10:15 +0300 Subject: add deadbeef plugins --- media-plugins/deadbeef-stereo-widener/Manifest | 1 + .../deadbeef-stereo-widener-20110319.ebuild | 20 ++++++++++++++++ .../deadbeef-stereo-widener-99999999.ebuild | 16 +++++++++++++ .../files/deadbeef-stereo-widener.patch | 27 ++++++++++++++++++++++ 4 files changed, 64 insertions(+) create mode 100644 media-plugins/deadbeef-stereo-widener/Manifest create mode 100644 media-plugins/deadbeef-stereo-widener/deadbeef-stereo-widener-20110319.ebuild create mode 100644 media-plugins/deadbeef-stereo-widener/deadbeef-stereo-widener-99999999.ebuild create mode 100644 media-plugins/deadbeef-stereo-widener/files/deadbeef-stereo-widener.patch (limited to 'media-plugins/deadbeef-stereo-widener') diff --git a/media-plugins/deadbeef-stereo-widener/Manifest b/media-plugins/deadbeef-stereo-widener/Manifest new file mode 100644 index 00000000..7f07e1ed --- /dev/null +++ b/media-plugins/deadbeef-stereo-widener/Manifest @@ -0,0 +1 @@ +DIST deadbeef-stereo-widener-20110319.tar.gz 2653 SHA256 9342dab76438f9fd66cd4aa95de6c24f1dfa9bc91e30369f77576e2458c60fb5 SHA512 1b3b54816ed7c8a8e63b549723b2137c5074c7ce31bc14149eb1d3c7c63528a9c6d218bc3f33d452cac028ac821248913b47501b6e4d3a08dc531119fee6bdb3 WHIRLPOOL 53ee06e8d0467aaea2e0662e64928cd6579be4a6aca2ceb1c40214fdd80a5773f05ca1daffec63d5fe766c080bd5e9776e3cc33b7967d877f6e38b244e50b75d diff --git a/media-plugins/deadbeef-stereo-widener/deadbeef-stereo-widener-20110319.ebuild b/media-plugins/deadbeef-stereo-widener/deadbeef-stereo-widener-20110319.ebuild new file mode 100644 index 00000000..e02a6033 --- /dev/null +++ b/media-plugins/deadbeef-stereo-widener/deadbeef-stereo-widener-20110319.ebuild @@ -0,0 +1,20 @@ +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit deadbeef-plugins + +GITORIOUS_COMMIT="d3990d772b02cdc6206f067748f5d1f9650616fb" + +DESCRIPTION="DeaDBeeF simple stereo widener plugin" +HOMEPAGE="https://gitorious.org/deadbeef-sm-plugins/stereo-widener" +SRC_URI="https://gitorious.org/deadbeef-sm-plugins/stereo-widener/archive/${GITORIOUS_COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +KEYWORDS="~*" + +S="${WORKDIR}/deadbeef-sm-plugins-stereo-widener" + +src_prepare() { + epatch "${FILESDIR}/${PN}.patch" +} diff --git a/media-plugins/deadbeef-stereo-widener/deadbeef-stereo-widener-99999999.ebuild b/media-plugins/deadbeef-stereo-widener/deadbeef-stereo-widener-99999999.ebuild new file mode 100644 index 00000000..e82ce6e0 --- /dev/null +++ b/media-plugins/deadbeef-stereo-widener/deadbeef-stereo-widener-99999999.ebuild @@ -0,0 +1,16 @@ +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit deadbeef-plugins git-r3 + +DESCRIPTION="DeaDBeeF simple stereo widener plugin" +HOMEPAGE="https://gitorious.org/deadbeef-sm-plugins/stereo-widener" +EGIT_REPO_URI="https://gitorious.org/deadbeef-sm-plugins/stereo-widener.git" + +LICENSE="MIT" +KEYWORDS="" + +src_prepare() { + epatch "${FILESDIR}/${PN}.patch" +} diff --git a/media-plugins/deadbeef-stereo-widener/files/deadbeef-stereo-widener.patch b/media-plugins/deadbeef-stereo-widener/files/deadbeef-stereo-widener.patch new file mode 100644 index 00000000..6cf316ad --- /dev/null +++ b/media-plugins/deadbeef-stereo-widener/files/deadbeef-stereo-widener.patch @@ -0,0 +1,27 @@ +diff --git a/Makefile b/Makefile +index 0fb6aaa..7ca9545 100644 +--- a/Makefile ++++ b/Makefile +@@ -1,2 +1,20 @@ +-all: +- gcc -I/usr/local/include -std=c99 -shared -O2 -o stereo_widener.so stereo_widener.c -fPIC -Wall -march=native ++CC?=gcc ++OUT=stereo_widener.so ++ ++CFLAGS+=-std=c99 -fPIC -Wall ++LDFLAGS+=-shared ++ ++SOURCES=stereo_widener.c ++ ++OBJECTS=$(SOURCES:.c=.o) ++ ++all: $(SOURCES) $(OUT) ++ ++$(OUT): $(OBJECTS) ++ $(CC) $(CFLAGS) $(OBJECTS) $(LDFLAGS) -o $@ ++ ++.c.o: ++ $(CC) $(CFLAGS) $< -c -o $@ ++ ++clean: ++ rm $(OBJECTS) $(OUT) -- cgit v1.2.3