[SCM] qutecsound/master: Add patch to not hardcode paths

fsateler at users.alioth.debian.org fsateler at users.alioth.debian.org
Thu Aug 15 00:21:37 UTC 2013


The following commit has been merged in the master branch:
commit d2716ca51f8b14a2c7de5c459878b25388049e52
Author: Felipe Sateler <fsateler at debian.org>
Date:   Wed Aug 14 17:04:25 2013 -0400

    Add patch to not hardcode paths

diff --git a/debian/patches/no-hardcoding.patch b/debian/patches/no-hardcoding.patch
new file mode 100644
index 0000000..5216307
--- /dev/null
+++ b/debian/patches/no-hardcoding.patch
@@ -0,0 +1,36 @@
+commit d284c58480932f097512d80c26db6a039dedc7e2
+Author: Andres Cabrera <andres at lenovo-W530>
+Date:   Sat Aug 10 16:29:37 2013 -0700
+
+    Removed hardcoding Csound6 paths.
+
+diff --git a/qcs.pro b/qcs.pro
+index 2bdaf26..6d04770 100644
+--- a/qcs.pro
++++ b/qcs.pro
+@@ -24,19 +24,16 @@
+ # CONFIG+=universal   To build i386/ppc version. Default is platform default
+ # ##############################################################################
+ 
+-csound6: { # Csound6 requires some internal changes
+-# Temporary testing paths
++csound6: {
+     DEFINES += CSOUND6
+     unix {
+         macx {
+-#            CSOUND_API_INCLUDE_DIR = /Users/cristina/Library/Frameworks/CsoundLib64.framework/Headers
+-#            CSOUND_LIBRARY_DIR = /Users/cristina/Library/Frameworks/CsoundLib64.framework
+-#            LIBS += -F/Users/cristina/Library/Frameworks
+-#            LIBS += -framework CsoundLib64
+         } else {
+-            CSOUND_INCLUDE_DIR = /home/andres/Documents/src/csound-csound6-git/include
+-            INCLUDEPATH += /home/andres/Documents/src/csound-csound6-git/interfaces
+-            CSOUND_LIBRARY_DIR = /home/andres/Documents/src/csound-csound6-git-build/
++            isEmpty(CSOUND_INCLUDE_DIR) { # Use my paths by default
++                CSOUND_INCLUDE_DIR = /home/andres/Documents/src/csound-csound6-git/include
++                INCLUDEPATH += /home/andres/Documents/src/csound-csound6-git/interfaces
++                CSOUND_LIBRARY_DIR = /home/andres/Documents/src/csound-csound6-git-build/
++            }
+         }
+     }
+     message("Building for Csound 6")
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..dcad593
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+no-hardcoding.patch

-- 
qutecsound packaging



More information about the pkg-multimedia-commits mailing list