]> git.pld-linux.org Git - packages/libqtxdg.git/commitdiff
- /usr/ was twice in QTXDG_INCLUDE_DIR
authorWitold Filipczyk <witekfl@poczta.onet.pl>
Wed, 11 Mar 2015 21:58:04 +0000 (22:58 +0100)
committerWitold Filipczyk <witekfl@poczta.onet.pl>
Wed, 11 Mar 2015 21:58:04 +0000 (22:58 +0100)
include_dir.patch [new file with mode: 0644]
libqtxdg.spec

diff --git a/include_dir.patch b/include_dir.patch
new file mode 100644 (file)
index 0000000..7ef5297
--- /dev/null
@@ -0,0 +1,11 @@
+--- libqtxdg-1.1.0/CMakeLists.txt.orig 2015-03-11 22:49:12.244265879 +0100
++++ libqtxdg-1.1.0/CMakeLists.txt      2015-03-11 22:50:22.263886550 +0100
+@@ -225,7 +225,7 @@ configure_file(
+ )
+ # Instalable ...............................
+-set(QTXDG_INCLUDE_DIR ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_INCLUDEDIR}/${QTXDGX_FILE_NAME})
++set(QTXDG_INCLUDE_DIR ${CMAKE_INSTALL_INCLUDEDIR}/${QTXDGX_FILE_NAME})
+ configure_file(
+     ${CMAKE_CURRENT_SOURCE_DIR}/cmake/qtxdg-config.cmake.in
index 919fc7220993b0ce6742faba13d2063f3b3c75a2..88b3ae8f2f8aed864a057503b436d0e591cfeea9 100644 (file)
@@ -3,11 +3,12 @@
 Summary:       libqtxdg
 Name:          libqtxdg
 Version:       1.1.0
-Release:       1
+Release:       2
 License:       GPLv2 and LGPL-2.1+
 Group:         X11/Libraries
 Source0:       http://downloads.lxqt.org/libqtxdg/%{version}/%{name}-%{version}.tar.xz
 # Source0-md5: 17f43c91a72b44804dd519246be6e03a
+Patch0:                include_dir.patch
 URL:           http://www.lxqt.org/
 BuildRequires: Qt5Core-devel >= %{qtver}
 BuildRequires: Qt5Gui-devel >= %{qtver}
@@ -42,6 +43,7 @@ pisaniu własnych programów wykorzystujących libqtxdg.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 install -d build
This page took 0.078859 seconds and 4 git commands to generate.