[packages/clementine] specify CMAKE_INCLUDE_PATH for qtiocompressor to be found

glen glen at pld-linux.org
Wed Jan 20 22:32:11 CET 2016


commit dc08053f398c2162492d533e3b59a986da6cce02
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Jan 20 23:31:09 2016 +0200

    specify CMAKE_INCLUDE_PATH for qtiocompressor to be found
    
    doc:
    https://cmake.org/cmake/help/v3.0/command/find_path.html

 clementine.spec | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/clementine.spec b/clementine.spec
index 9423bc9..cad2dae 100644
--- a/clementine.spec
+++ b/clementine.spec
@@ -18,7 +18,7 @@ Summary:	A music player and library organiser
 Summary(hu.UTF-8):	Egy zenelejátszó és gyűjtemény-kezelő
 Name:		clementine
 Version:	1.2.3
-Release:	1
+Release:	2
 License:	GPL v3 and GPL v2+
 Group:		Applications/Multimedia
 Source0:	https://github.com/clementine-player/Clementine/archive/%{version}.tar.gz?/%{name}-%{version}.tar.gz
@@ -148,12 +148,13 @@ cd build
 # as our buildtype is not Release, need to pass these manually. see CMakeLists.txt ~125
 CXXFLAGS="%{rpmcxxflags} -DNDEBUG -DQT_NO_DEBUG_OUTPUT"
 %cmake \
+	-DCMAKE_INCLUDE_PATH=%{_includedir}/qt4 \
 	-DBUNDLE_PROJECTM_PRESETS=OFF \
 	-DUSE_SYSTEM_QTSINGLEAPPLICATION=ON \
-	-DQTSINGLEAPPLICATION_INCLUDE_DIRS=%{_includedir}/qt4/QtSolutions/ \
 	-DUSE_SYSTEM_QXT=ON \
 	-DUSE_SYSTEM_PROJECTM=ON \
 	-DSTATIC_SQLITE=%{?with_static_sqlite:ON}%{!?with_static_sqlite:OFF} \
+	-DQTSINGLEAPPLICATION_INCLUDE_DIRS=%{_includedir}/qt4/QtSolutions \
 	..
 %{__make}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/clementine.git/commitdiff/dc08053f398c2162492d533e3b59a986da6cce02



More information about the pld-cvs-commit mailing list