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-gnome-mmkeys.patch | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 media-plugins/deadbeef-gnome-mmkeys/files/deadbeef-gnome-mmkeys.patch (limited to 'media-plugins/deadbeef-gnome-mmkeys/files') diff --git a/media-plugins/deadbeef-gnome-mmkeys/files/deadbeef-gnome-mmkeys.patch b/media-plugins/deadbeef-gnome-mmkeys/files/deadbeef-gnome-mmkeys.patch new file mode 100644 index 00000000..1f64cd47 --- /dev/null +++ b/media-plugins/deadbeef-gnome-mmkeys/files/deadbeef-gnome-mmkeys.patch @@ -0,0 +1,23 @@ +diff --git a/Makefile b/Makefile +index 35b19ca..e4f147e 100644 +--- a/Makefile ++++ b/Makefile +@@ -1,6 +1,6 @@ +-CC = gcc +-INCLUDES = $(shell pkg-config --cflags gio-2.0 glib-2.0) +-LIBS = $(shell pkg-config --libs gio-2.0 glib-2.0) ++CC ?= gcc ++INCLUDES ?= $(shell pkg-config --cflags gio-2.0 glib-2.0) ++LIBS ?= $(shell pkg-config --libs gio-2.0 glib-2.0) + OPTIONS = -fPIC -shared + NAME = ddb_gnome_mmkeys + ROOTDIR = / +@@ -11,7 +11,7 @@ all: plugin + plugin: $(NAME).so + + $(NAME).so: $(NAME).c +- $(CC) $(INCLUDES) $(OPTIONS) -o $(NAME).so $(NAME).c $(LIBS) ++ $(CC) $(CFLAGS) $(INCLUDES) $(OPTIONS) -o $(NAME).so $(NAME).c $(LIBS) $(LDFLAGS) + + install: + mkdir -p $(ROOTDIR)$(INSTALL_DIR) -- cgit v1.2.3