[SCM] stretchplayer/master: Correctly specify include directories
sramacher at users.alioth.debian.org
sramacher at users.alioth.debian.org
Sun Jun 28 19:43:56 UTC 2015
The following commit has been merged in the master branch:
commit 969b1492940ab99ad0707b6521434de323ab997c
Author: Sebastian Ramacher <sramacher at debian.org>
Date: Sun Jun 28 21:37:04 2015 +0200
Correctly specify include directories
Closes: #745224
diff --git a/debian/patches/cmake-include-dirs.patch b/debian/patches/cmake-include-dirs.patch
new file mode 100644
index 0000000..a3f1868
--- /dev/null
+++ b/debian/patches/cmake-include-dirs.patch
@@ -0,0 +1,34 @@
+Description: Fix include directories
+Author: Sebastian Ramacher
+Bug-Debian: https://bugs.debian.org/745224
+Last-Update: 2015-06-28
+
+--- stretchplayer-0.503.orig/src/CMakeLists.txt
++++ stretchplayer-0.503/src/CMakeLists.txt
+@@ -21,16 +21,13 @@ INCLUDE(${QT_USE_FILE})
+ SET(LIBS ${QT_LIBRARIES})
+
+ FIND_PACKAGE(JACK REQUIRED)
+-INCLUDE(${JACK_INCLUDE_DIRS})
+ SET(LIBS ${LIBS} ${JACK_LIBRARIES})
+
+ FIND_PACKAGE(LibSndfile REQUIRED)
+-INCLUDE(${LibSndfile_INCLUDE_DIRS})
+ SET(LIBS ${LIBS} ${LibSndfile_LIBRARIES})
+
+ ### Don't have a module for rubberband, yet.
+ FIND_PACKAGE(RubberBand REQUIRED)
+-INCLUDE(${RubberBand_INCLUDE_DIRS})
+ SET(LIBS ${LIBS} ${RubberBand_LIBRARIES})
+
+ ######################################################################
+@@ -69,6 +66,9 @@ QT4_WRAP_CPP(sp_moc ${sp_moc_hpp})
+ QT4_ADD_RESOURCES(sp_qrc stretchplayer.qrc)
+
+ INCLUDE_DIRECTORIES(
++ ${JACK_INCLUDE_DIRS}
++ ${LibSndfile_INCLUDE_DIRS}
++ ${RubberBand_INCLUDE_DIRS}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_BINARY_DIR}
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..b80c45a
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+cmake-include-dirs.patch
--
stretchplayer packaging
More information about the pkg-multimedia-commits
mailing list