diff options
Diffstat (limited to 'media-sound/listen/files/listen-0.6.5-Makefile.patch')
-rw-r--r-- | media-sound/listen/files/listen-0.6.5-Makefile.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/media-sound/listen/files/listen-0.6.5-Makefile.patch b/media-sound/listen/files/listen-0.6.5-Makefile.patch new file mode 100644 index 000000000000..5d13bbc30237 --- /dev/null +++ b/media-sound/listen/files/listen-0.6.5-Makefile.patch @@ -0,0 +1,32 @@ +--- Makefile ++++ Makefile +@@ -50,10 +50,8 @@ + echo 'Name=org.gnome.Listen' >> org.gnome.Listen.service + echo 'Exec=$(BINDIR)/listen' >> org.gnome.Listen.service + +- docbook2x-man misc/listen.1.docbook --to-stdout | gzip > listen.1.gz ++ docbook2man.pl misc/listen.1.docbook + +- python -m compileall src +- python -O -m compileall src + @echo "Done" + @echo "Type: make install now" + +@@ -104,8 +102,6 @@ + + install: make-install-dirs + install -m 644 src/*.py $(DESTDIR)$(LIBDIR)/listen +- install -m 644 src/*.pyc $(DESTDIR)$(LIBDIR)/listen +- install -m 644 src/*.pyo $(DESTDIR)$(LIBDIR)/listen + for dir in $(PYSRC_DIR); do \ + for file in src/$${dir}/*.py; do \ + grep '^#@nodistribution' $$file >/dev/null && echo "$$file not distribued" && continue ; \ +@@ -122,7 +118,7 @@ + install -m 644 data/img/listen.png $(DESTDIR)$(DATADIR)/pixmaps/ + + install -m 644 listen.desktop $(DESTDIR)$(DATADIR)/applications/ +- install -m 644 listen.1.gz $(DESTDIR)$(MANDIR)/man1/ ++ install -m 644 listen.1 $(DESTDIR)$(MANDIR)/man1/ + install -m 644 org.gnome.Listen.service $(DESTDIR)$(DBUSDIR)/services + + for lang in $(PO); do install -m 644 po/$$lang.mo $(DESTDIR)$(LOCALEDIR)/$$lang/LC_MESSAGES/listen.mo; done |