[SCM] smplayer-themes/master: Add debian/patches/use-usr-as-prefix.patch to use /usr as prefix.

mati75-guest at users.alioth.debian.org mati75-guest at users.alioth.debian.org
Thu Oct 8 09:00:16 UTC 2015


The following commit has been merged in the master branch:
commit 3c153ae00e433c8503b99b0c9ead4b6b7fcc850b
Author: Mateusz Łukasik <mati75 at linuxmint.pl>
Date:   Thu Oct 8 11:00:23 2015 +0200

    Add debian/patches/use-usr-as-prefix.patch to use /usr as prefix.

diff --git a/debian/changelog b/debian/changelog
index a954a0d..639807b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,8 +6,9 @@ smplayer-themes (1:15.6.0-1) unstable; urgency=medium
     - Add myself to uploaders.
   * Use qt5 to build.
   * debian/copyright: convert to dep5.
+  * Add debian/patches/use-usr-as-prefix.patch to use /usr as prefix.
 
- -- Mateusz Łukasik <mati75 at linuxmint.pl>  Wed, 07 Oct 2015 14:06:54 +0200
+ -- Mateusz Łukasik <mati75 at linuxmint.pl>  Thu, 08 Oct 2015 10:59:56 +0200
 
 smplayer-themes (1:14.9.0-1) unstable; urgency=medium
 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..9ac5c46
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+use-usr-as-prefix.patch
diff --git a/debian/patches/use-usr-as-prefix.patch b/debian/patches/use-usr-as-prefix.patch
new file mode 100644
index 0000000..7ace0d7
--- /dev/null
+++ b/debian/patches/use-usr-as-prefix.patch
@@ -0,0 +1,12 @@
+Description: Set /usr as prefix
+Author: Mateusz Łukasik <mati75 at linuxmint.pl>
+
+--- a/Makefile
++++ b/Makefile
+@@ -1,5 +1,5 @@
+ 
+-PREFIX=/usr/local
++PREFIX=/usr
+ #PREFIX=/tmp/smplayer
+ 
+ THEMES_PATH=$(DESTDIR)$(PREFIX)/share/smplayer/themes
diff --git a/debian/rules b/debian/rules
index af69ad1..dd5a704 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,3 @@ export QT_SELECT=5
 
 %:
 	dh $@
-
-override_dh_auto_install:
-	dh_auto_install -- PREFIX=/usr

-- 
smplayer-themes packaging



More information about the pkg-multimedia-commits mailing list