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 --- .../files/deadbeef-stereo-widener.patch | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 media-plugins/deadbeef-stereo-widener/files/deadbeef-stereo-widener.patch (limited to 'media-plugins/deadbeef-stereo-widener/files') 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