diff options
Diffstat (limited to 'nixpkgs/pkgs/applications/video/vokoscreen-ng/linux-support-installation-target.patch')
-rw-r--r-- | nixpkgs/pkgs/applications/video/vokoscreen-ng/linux-support-installation-target.patch | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/video/vokoscreen-ng/linux-support-installation-target.patch b/nixpkgs/pkgs/applications/video/vokoscreen-ng/linux-support-installation-target.patch new file mode 100644 index 000000000000..4f1b63c342d8 --- /dev/null +++ b/nixpkgs/pkgs/applications/video/vokoscreen-ng/linux-support-installation-target.patch @@ -0,0 +1,40 @@ +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) ++ |