diff options
author | Martin Dummer <martin.dummer@gmx.net> | 2024-01-28 20:01:42 +0100 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2024-02-15 15:17:10 +0200 |
commit | 22722eb0ac588c80aeb57cdfba8e27ca3b6f02b9 (patch) | |
tree | 8c4caaca7acadaee8cb6afab27a07942bf1ec145 /media-video/vdr/files | |
parent | media-video/vdr: drop 2.6.3 (diff) | |
download | gentoo-22722eb0ac588c80aeb57cdfba8e27ca3b6f02b9.tar.gz gentoo-22722eb0ac588c80aeb57cdfba8e27ca3b6f02b9.tar.bz2 gentoo-22722eb0ac588c80aeb57cdfba8e27ca3b6f02b9.zip |
media-video/vdr: add 2.6.6
Signed-off-by: Martin Dummer <martin.dummer@gmx.net>
Closes: https://github.com/gentoo/gentoo/pull/35056
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'media-video/vdr/files')
-rw-r--r-- | media-video/vdr/files/vdr-2.6.6_gentoo.patch | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/media-video/vdr/files/vdr-2.6.6_gentoo.patch b/media-video/vdr/files/vdr-2.6.6_gentoo.patch new file mode 100644 index 000000000000..0fcf4c3de943 --- /dev/null +++ b/media-video/vdr/files/vdr-2.6.6_gentoo.patch @@ -0,0 +1,60 @@ +diff -Naur a/Makefile b/Makefile +--- a/Makefile 2024-01-25 09:44:48.000000000 +0100 ++++ b/Makefile 2024-01-28 19:35:17.020243042 +0100 +@@ -193,7 +193,7 @@ + + PODIR = po + LOCALEDIR = locale +-I18Npo = $(wildcard $(PODIR)/*.po) ++I18Npo = $(foreach dir,$(LINGUAS),$(wildcard $(PODIR)/$(dir)*.po)) + I18Nmo = $(addsuffix .mo, $(foreach file, $(I18Npo), $(basename $(file)))) + I18Nmsgs = $(addprefix $(LOCALEDIR)/, $(addsuffix /LC_MESSAGES/vdr.mo, $(notdir $(foreach file, $(I18Npo), $(basename $(file)))))) + I18Npot = $(PODIR)/vdr.pot +@@ -220,7 +220,7 @@ + + install-i18n: i18n + @mkdir -p $(DESTDIR)$(LOCDIR) +- cp -r $(LOCALEDIR)/* $(DESTDIR)$(LOCDIR) ++ @(cd $(LOCALEDIR); for linguas in $(LINGUAS); do [ "$$linguas" = "en" ] && continue; cp -r --parents $$linguas* $(DESTDIR)$(LOCDIR); done) + + # The 'include' directory (for plugins): + +@@ -294,12 +294,11 @@ + + install-dirs: + @mkdir -p $(DESTDIR)$(VIDEODIR) +- @mkdir -p $(DESTDIR)$(CONFDIR) + @mkdir -p $(DESTDIR)$(ARGSDIR) +- @mkdir -p $(DESTDIR)$(CACHEDIR) + @mkdir -p $(DESTDIR)$(RESDIR) + + install-conf: install-dirs ++ @mkdir -p $(DESTDIR)$(CONFDIR) + # 'cp -n' may be broken, so let's do it the hard way + @for i in *.conf; do\ + if ! [ -e $(DESTDIR)$(CONFDIR)/$$i ] ; then\ +@@ -312,9 +311,9 @@ + install-doc: + @mkdir -p $(DESTDIR)$(MANDIR)/man1 + @mkdir -p $(DESTDIR)$(MANDIR)/man5 +- @gzip -c vdr.1 > $(DESTDIR)$(MANDIR)/man1/vdr.1.gz +- @gzip -c vdr.5 > $(DESTDIR)$(MANDIR)/man5/vdr.5.gz +- @gzip -c svdrpsend.1 > $(DESTDIR)$(MANDIR)/man1/svdrpsend.1.gz ++ @cp vdr.1 $(DESTDIR)$(MANDIR)/man1/ ++ @cp vdr.5 $(DESTDIR)$(MANDIR)/man5/ ++ @cp svdrpsend.1 $(DESTDIR)$(MANDIR)/man1/ + + # Plugins: + +@@ -331,8 +330,9 @@ + # Includes: + + install-includes: include-dir +- @mkdir -p $(DESTDIR)$(INCDIR) +- @cp -pLR include/vdr include/libsi $(DESTDIR)$(INCDIR) ++ @mkdir -p $(DESTDIR)$(INCDIR)/vdr $(DESTDIR)$(INCDIR)/vdr/libsi ++ @cp -pLR include/vdr $(DESTDIR)$(INCDIR) ++ @cp -pLR include/libsi Make.config $(DESTDIR)$(INCDIR)/vdr + + # pkg-config file: + |