[SCM] synthv1/master: Package split.

mira-guest at users.alioth.debian.org mira-guest at users.alioth.debian.org
Mon Sep 26 17:59:33 UTC 2016


The following commit has been merged in the master branch:
commit 26d7e07dc17da43444f6dd1a301f937b6230251e
Author: Jaromír Mikeš <mira.mikes at seznam.cz>
Date:   Mon Sep 26 19:44:39 2016 +0200

    Package split.

diff --git a/debian/control b/debian/control
index a0c0c4d..835712a 100644
--- a/debian/control
+++ b/debian/control
@@ -31,12 +31,24 @@ Depends:
  ${shlibs:Depends}
 Recommends:
  jackd
+Description: old-school polyphonic synthesizer - standalone
+ synthv1 is an old-school all-digital 4-oscillator subtractive
+ polyphonic synthesizer with stereo effects, especially suited
+ to create strong bass sounds.
+ .
+ This package provides standalone app and shared library.
+
+Package: synthv1-lv2
+Architecture: any
+Depends:
+ ${misc:Depends},
+ ${shlibs:Depends},
+ synthv1
 Provides:
  lv2-plugin
-Description: old-school polyphonic synthesizer
+Description: old-school polyphonic synthesizer - lv2-plugin
  synthv1 is an old-school all-digital 4-oscillator subtractive
  polyphonic synthesizer with stereo effects, especially suited
  to create strong bass sounds.
  .
- It is provided in both forms of a JACK stand-alone client and
- a LV2 plugin.
+ This package provides lv2-plugin.
diff --git a/debian/patches/0004-fix_install_path.patch b/debian/patches/0004-fix_install_path.patch
index 2d0a3ce..49b52ae 100644
--- a/debian/patches/0004-fix_install_path.patch
+++ b/debian/patches/0004-fix_install_path.patch
@@ -6,25 +6,69 @@ Index: synthv1/src/src_lv2.pro
 ===================================================================
 --- synthv1.orig/src/src_lv2.pro
 +++ synthv1/src/src_lv2.pro
-@@ -55,7 +55,7 @@ unix {
- 		isEmpty(LIBDIR) {
- 			LV2DIR = $${PREFIX}/lib/lv2
- 		} else {
--			LV2DIR = $${LIBDIR}/lv2
-+			LV2DIR = $${PREFIX}/lib/lv2
- 		}
+@@ -38,7 +38,7 @@ unix {
+ 	contains(PREFIX, $$system(echo $HOME)) {
+ 		LV2DIR = $${PREFIX}/.lv2
+ 	} else {
+-		LV2DIR = $${LIBDIR}/lv2
++		LV2DIR = $${PREFIX}/lib/lv2
  	}
  
+ 	TARGET_LV2 = $${NAME}.lv2/$${NAME}
+@@ -58,7 +58,7 @@ unix {
+ 
+ 	QMAKE_CLEAN += $${TARGET_LV2}.so
+ 
+-	LIBS += -L. -l$${NAME} -Wl,-rpath,$${LIBDIR}
++	LIBS += -L. -l$${NAME} -Wl,-rpath,$${PREFIX}/lib/$${NAME}
+ }
+ 
+ QT -= gui
 Index: synthv1/src/src_lv2ui.pro
 ===================================================================
 --- synthv1.orig/src/src_lv2ui.pro
 +++ synthv1/src/src_lv2ui.pro
-@@ -70,7 +70,7 @@ unix {
- 		isEmpty(LIBDIR) {
- 			LV2DIR = $${PREFIX}/lib/lv2
- 		} else {
--			LV2DIR = $${LIBDIR}/lv2
-+			LV2DIR = $${PREFIX}/lib/lv2
- 		}
+@@ -69,7 +69,7 @@ unix {
+ 	contains(PREFIX, $$system(echo $HOME)) {
+ 		LV2DIR = $${PREFIX}/.lv2
+ 	} else {
+-		LV2DIR = $${LIBDIR}/lv2
++		LV2DIR = $${PREFIX}/lib/lv2
  	}
  
+ 	TARGET_LV2UI = $${NAME}.lv2/$${NAME}_ui
+@@ -99,7 +99,7 @@ unix {
+ 
+ 	QMAKE_CLEAN += $${TARGET_LV2UI}.so $${TARGET_LV2UI}.ttl
+ 
+-	LIBS += -L. -l$${NAME} -L$${NAME}.lv2 -Wl,-rpath,$${LIBDIR}:$${LV2DIR}/$${NAME}.lv2
++	LIBS += -L. -l$${NAME} -L$${NAME}.lv2 -Wl,-rpath,$${PREFIX}/lib/$${NAME}
+ }
+ 
+ QT += xml
+Index: synthv1/src/src_jack.pro
+===================================================================
+--- synthv1.orig/src/src_jack.pro
++++ synthv1/src/src_jack.pro
+@@ -104,7 +104,7 @@ unix {
+ 	mimetypes_scalable.path = $${DATADIR}/icons/hicolor/scalable/mimetypes
+ 	mimetypes_scalable.files += mimetypes/application-x-$${NAME}-preset.svg
+ 
+-	LIBS += -L. -l$${NAME} -Wl,-rpath,$${LIBDIR}
++	LIBS += -L. -l$${NAME} -Wl,-rpath,$${PREFIX}/lib/$${NAME}
+ }
+ 
+ QT += xml
+Index: synthv1/src/src_core.pro
+===================================================================
+--- synthv1.orig/src/src_core.pro
++++ synthv1/src/src_core.pro
+@@ -53,7 +53,7 @@ unix {
+ 
+ 	INSTALLS += target
+ 
+-	target.path = $${LIBDIR}
++	target.path = $${PREFIX}/lib/$${NAME}
+ }
+ 
+ QT -= gui
diff --git a/debian/synthv1-lv2.install b/debian/synthv1-lv2.install
new file mode 100644
index 0000000..6d405cc
--- /dev/null
+++ b/debian/synthv1-lv2.install
@@ -0,0 +1 @@
+usr/lib/lv2/synthv1.lv2/* usr/lib/lv2/synthv1.lv2/
diff --git a/debian/synthv1.install b/debian/synthv1.install
new file mode 100644
index 0000000..b9c5521
--- /dev/null
+++ b/debian/synthv1.install
@@ -0,0 +1,2 @@
+usr/bin/*
+usr/lib/synthv1/*.so.* usr/lib/synthv1/

-- 
synthv1 packaging



More information about the pkg-multimedia-commits mailing list