[SCM] vdr-plugin-externalplayer packaging repository branch, master, updated. debian/0.1.0-15-5-g88bdc3d
etobi
git at e-tobi.net
Sun Mar 24 13:53:21 UTC 2013
The following commit has been merged in the master branch:
commit 88bdc3d4cabf332bd5bc2373ee16b7ca9a1283ed
Author: etobi <git at e-tobi.net>
Date: Sun Mar 24 14:42:26 2013 +0100
Fixed Makefile
diff --git a/debian/patches/Makefile-fix.patch b/debian/patches/Makefile-fix.patch
new file mode 100644
index 0000000..3e49499
--- /dev/null
+++ b/debian/patches/Makefile-fix.patch
@@ -0,0 +1,34 @@
+Index: vdr-plugin-externalplayer/Makefile
+===================================================================
+--- vdr-plugin-externalplayer.orig/Makefile 2013-03-24 14:48:09.000000000 +0100
++++ vdr-plugin-externalplayer/Makefile 2013-03-24 14:50:03.000000000 +0100
+@@ -73,7 +73,7 @@
+ PODIR = po
+ I18Npo = $(wildcard $(PODIR)/*.po)
+ I18Nmo = $(addsuffix .mo, $(foreach file, $(I18Npo), $(basename $(file))))
+-I18Nmsgs = $(addprefix $(LOCDIR)/, $(addsuffix /LC_MESSAGES/vdr-$(PLUGIN).mo, $(notdir $(foreach file, $(I18Npo), $(basename $(file))))))
++I18Nmsgs = $(addprefix $(DESTDIR)$(LOCDIR)/, $(addsuffix /LC_MESSAGES/vdr-$(PLUGIN).mo, $(notdir $(foreach file, $(I18Npo), $(basename $(file))))))
+ I18Npot = $(PODIR)/$(PLUGIN).pot
+
+ %.mo: %.po
+@@ -86,7 +86,7 @@
+ msgmerge -U --no-wrap --no-location --backup=none -q -N $@ $<
+ @touch $@
+
+-$(I18Nmsgs): $(LOCDIR)/%/LC_MESSAGES/vdr-$(PLUGIN).mo: $(PODIR)/%.mo
++$(I18Nmsgs): $(DESTDIR)$(LOCDIR)/%/LC_MESSAGES/vdr-$(PLUGIN).mo: $(PODIR)/%.mo
+ install -D -m644 $< $@
+
+ .PHONY: i18n
+@@ -98,10 +98,9 @@
+
+ $(SOFILE): $(OBJS)
+ $(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) $(LIBS) -o $@
+- @cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION)
+
+ install-lib: $(SOFILE)
+- install -D $^ $(LIBDIR)/$^.$(APIVERSION)
++ install -D $^ $(DESTDIR)$(LIBDIR)/$^.$(APIVERSION)
+
+ install: install-lib install-i18n
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..b1213b2
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+Makefile-fix.patch
--
vdr-plugin-externalplayer packaging repository
More information about the pkg-vdr-dvb-changes
mailing list