streamtuner/streamtuner-2.2.2-make-install.patch

38 lines
1.5 KiB
Diff

--- streamtuner2/Makefile.orig 2022-05-27 16:39:07.577426034 +0200
+++ streamtuner2/Makefile 2022-05-27 16:40:59.998772385 +0200
@@ -82,20 +82,20 @@
# manual installation
install:
- mkdir -p $(DEST)/channels
- mkdir -p $(DOCS)/streamtuner2/help/img
- install -m 755 bin /usr/bin/streamtuner2
- $(INST) *py -t $(DEST)
- $(INST) gtk3* -t $(DEST)
- $(INST) channels/*py -t $(DEST)/channels
- $(INST) help/*page -t $(DOCS)/streamtuner2/help
- $(INST) help/img/* -t $(DOCS)/streamtuner2/help/img
- $(INST) CREDITS -t $(DEST)
- $(INST) README -t $(DOCS)
- $(INST) *.desktop -t /usr/share/applications/
- $(INST) icon.png /usr/share/pixmaps/streamtuner2.png
- $(INST) help/str*2.1 -t /usr/share/man/man1/
- pip install requests pyquery lxml pillow xdg keybinder
+ mkdir -p $(DESTDIR)$(DEST)/channels
+ mkdir -p $(DESTDIR)$(DOCS)/streamtuner2/help/img
+ install -D -m 755 bin $(DESTDIR)/usr/bin/streamtuner2
+ $(INST) *py -t $(DESTDIR)$(DEST)
+ $(INST) gtk3* -t $(DESTDIR)$(DEST)
+ $(INST) channels/*py -t $(DESTDIR)$(DEST)/channels
+ $(INST) help/*page -t $(DESTDIR)$(DOCS)/streamtuner2/help
+ $(INST) help/img/* -t $(DESTDIR)$(DOCS)/streamtuner2/help/img
+ $(INST) CREDITS -t $(DESTDIR)$(DEST)
+ $(INST) README -t $(DESTDIR)$(DOCS)
+ $(INST) -D *.desktop -t $(DESTDIR)/usr/share/applications/
+ $(INST) -D icon.png $(DESTDIR)/usr/share/pixmaps/streamtuner2.png
+ $(INST) -D help/str*2.1 -t $(DESTDIR)/usr/share/man/man1/
+# pip install requests pyquery lxml pillow xdg keybinder
# start locally
st2: run