[SCM] jamin/master: Wrapper-script for starting jaming via .desktop file

umlaeute at users.alioth.debian.org umlaeute at users.alioth.debian.org
Wed Jan 11 20:39:05 UTC 2017


The following commit has been merged in the master branch:
commit 16b487eb7f181653c1aa057cd107106b18ad2d3e
Author: IOhannes m zmölnig (Debian/GNU) <umlaeute at debian.org>
Date:   Wed Jan 11 21:18:19 2017 +0100

    Wrapper-script for starting jaming via .desktop file

diff --git a/debian/jamin-wrapper b/debian/jamin-wrapper
new file mode 100755
index 0000000..7f233df
--- /dev/null
+++ b/debian/jamin-wrapper
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+if [ "x$1" != "x" ]; then
+  jamin -f "$1"
+else
+  jamin
+fi
diff --git a/debian/jamin.install b/debian/jamin.install
new file mode 100644
index 0000000..a092a10
--- /dev/null
+++ b/debian/jamin.install
@@ -0,0 +1 @@
+debian/jamin-wrapper /usr/share/jamin/
diff --git a/debian/patches/1005_desktop_file.patch b/debian/patches/1005_desktop_file.patch
index 4a0c8b4..0f9f9dc 100644
--- a/debian/patches/1005_desktop_file.patch
+++ b/debian/patches/1005_desktop_file.patch
@@ -7,15 +7,17 @@ Forwarded: no
 
 --- jamin.orig/data/jamin.desktop.in
 +++ jamin/data/jamin.desktop.in
-@@ -1,9 +1,9 @@
+@@ -1,10 +1,10 @@
  [Desktop Entry]
 -Encoding=UTF-8
  _Name=JAMin
  _GenericName=
  _Comment=JACK Audio Mastering interface
 -Categories=Application;AudioVideo;
+-Exec=jamin
 +Categories=AudioVideo;Audio;
 +Keywords=audio;sound;mastering;ladspa
- Exec=jamin
++Exec=/usr/share/jamin/jamin-wrapper %f
  Icon=jamin.svg
  MimeType=application/x-jamin;
+ StartupNotify=true

-- 
jamin packaging



More information about the pkg-multimedia-commits mailing list