summarylogtreecommitdiffstats
path: root/0001-Change-paths-for-packaging.patch
diff options
context:
space:
mode:
authorj.r2021-01-22 12:46:18 +0100
committerj.r2021-01-22 12:46:18 +0100
commit31d03b1ab525d6275e092d5278a5ebaf271864d2 (patch)
tree126e2c398ac323a7111ffe8c71aaedeb48002da6 /0001-Change-paths-for-packaging.patch
downloadaur-31d03b1ab525d6275e092d5278a5ebaf271864d2.tar.gz
Add youplay
Diffstat (limited to '0001-Change-paths-for-packaging.patch')
-rw-r--r--0001-Change-paths-for-packaging.patch41
1 files changed, 41 insertions, 0 deletions
diff --git a/0001-Change-paths-for-packaging.patch b/0001-Change-paths-for-packaging.patch
new file mode 100644
index 000000000000..5d2da80d5a5c
--- /dev/null
+++ b/0001-Change-paths-for-packaging.patch
@@ -0,0 +1,41 @@
+From 91b59352e76e7367319f138fac863da79c0d8712 Mon Sep 17 00:00:00 2001
+From: "j.r" <j.r@jugendhacker.de>
+Date: Thu, 14 Jan 2021 23:57:02 +0100
+Subject: [PATCH 1/2] Change paths for packaging
+
+---
+ youplay.desktop | 4 ++--
+ youplay.sh | 4 ++--
+ 2 files changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/youplay.desktop b/youplay.desktop
+index 2b66ce6..1e85b1e 100755
+--- a/youplay.desktop
++++ b/youplay.desktop
+@@ -2,11 +2,11 @@
+ Name=YouPlay
+ GenericName=Play music from Youtube
+ Comment=Play and download music from Youtube
+-Exec=/home/ralf/dev/youplay/youplay.sh
++Exec=/usr/bin/youplay --gui
+ Terminal=false
+ Type=Application
+ StartupNotify=false
+-Icon=/home/ralf/dev/youplay/youplay.svg
++Icon=/usr/share/youplay/youplay.svg
+ Categories=GNOME;GTK;Utility;Internet;Music
+ Keywords=Multimedia;Music;Internet;Youtube
+ Hidden=false
+diff --git a/youplay.sh b/youplay.sh
+index 6d2fb87..571f78b 100755
+--- a/youplay.sh
++++ b/youplay.sh
+@@ -1,3 +1,3 @@
+ #!/bin/bash
+-cd `dirname $0`
+-python3 youplay.py --gui
++cd '/usr/share/youplay/'
++python3 youplay.py $*
+--
+2.30.0
+