summaryrefslogtreecommitdiff
path: root/recipes/gpe-soundserver
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/gpe-soundserver')
-rw-r--r--recipes/gpe-soundserver/gpe-soundserver-0.4-1/makefile-breakage.patch24
-rw-r--r--recipes/gpe-soundserver/gpe-soundserver_0.4-1.bb7
2 files changed, 31 insertions, 0 deletions
diff --git a/recipes/gpe-soundserver/gpe-soundserver-0.4-1/makefile-breakage.patch b/recipes/gpe-soundserver/gpe-soundserver-0.4-1/makefile-breakage.patch
new file mode 100644
index 0000000000..59bffac6c1
--- /dev/null
+++ b/recipes/gpe-soundserver/gpe-soundserver-0.4-1/makefile-breakage.patch
@@ -0,0 +1,24 @@
+--- gpe-soundserver-0.4-1/Makefile~ 2004-08-18 16:00:22.000000000 +0100
++++ gpe-soundserver-0.4-1/Makefile 2004-08-18 16:17:39.000000000 +0100
+@@ -15,7 +15,7 @@
+ endif
+ CPPFLAGS += -DPACKAGE=\"$(PACKAGE)\" -DPREFIX=\"$(PREFIX)\" -DPACKAGE_LOCALE_DIR=\"$(PREFIX)/share/locale\"
+
+-LDFLAGS += `pkg-config --libs x11`
++PACKAGE_LDFLAGS += `pkg-config --libs x11 xau`
+
+ OBJS = $(patsubst %,%.o,$(MEMBERS))
+
+@@ -30,10 +30,10 @@
+ all: $(PACKAGE) wrapesd
+
+ $(PACKAGE): $(OBJS)
+- $(CC) -o $@ $^ $(LDFLAGS)
++ $(CC) -o $@ $^ $(LDFLAGS) $(PACKAGE_LDFLAGS)
+
+ wrapesd: wrapesd.o
+- $(CC) -o $@ $^ $(LDFLAGS)
++ $(CC) -o $@ $^ $(LDFLAGS) $(PACKAGE_LDFLAGS)
+
+ install-program: all
+ install -d $(DESTDIR)$(PREFIX)/bin
diff --git a/recipes/gpe-soundserver/gpe-soundserver_0.4-1.bb b/recipes/gpe-soundserver/gpe-soundserver_0.4-1.bb
new file mode 100644
index 0000000000..e239f21e04
--- /dev/null
+++ b/recipes/gpe-soundserver/gpe-soundserver_0.4-1.bb
@@ -0,0 +1,7 @@
+LICENSE = "GPL"
+SECTION = "gpe"
+inherit gpe
+
+DEPENDS = "virtual/libx11 esound"
+
+SRC_URI += "file://makefile-breakage.patch;patch=1"