nixpkgs/pkgs/applications/video/vokoscreen-ng/linux-support-installation-target.patch
2021-02-03 20:17:54 +01:00

40 lines
1 KiB
Diff

Seulement dans b: patch.patch
Seulement dans b: ..rej
diff --color -ur a/src/vokoscreenNG.pro b/src/vokoscreenNG.pro
--- a/src/vokoscreenNG.pro 2021-02-03 15:00:57.377401016 +0100
+++ b/src/vokoscreenNG.pro 2021-02-03 15:09:18.141905863 +0100
@@ -160,7 +160,32 @@
# systrayAlternative
include(systrayAlternative/systrayAlternative.pri)
+unix:!macx {
+ isEmpty(PREFIX) {
+ PREFIX = /usr/local
+ }
+ isEmpty(BINDIR) {
+ BINDIR = $$PREFIX/bin
+ }
+ isEmpty(DATADIR) {
+ DATADIR = $$PREFIX/share
+ }
+
+ target.path = $$BINDIR
+
+ icon.files = applications/vokoscreenNG.png
+ icon.path = $$DATADIR/icons/hicolor/256x256/apps/
+
+ desktop.files = applications/vokoscreenNG.desktop
+ desktop.path = $$DATADIR/applications/
+
+ appdata.files = applications/vokoscreenNG.appdata.xml
+ appdata.path = $$DATADIR/metainfo/
+
+ INSTALLS += target icon desktop appdata
+}
# ciscoOpenh264
win32:include(ciscoOpenh264/ciscoOpenh264.pri)
-unix:include(wayland/wayland.pri)
\ Pas de fin de ligne à la fin du fichier
+unix:include(wayland/wayland.pri)
+