[packages/QtIOCompressor] - added qmake patch, make use of more qmake facilities (out of source build, install) - pl - release

qboosh qboosh at pld-linux.org
Fri Jun 9 22:52:37 CEST 2017


commit f0abc6567a74c7377ea2283bd9ca959a97685d0a
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Jun 9 22:53:44 2017 +0200

    - added qmake patch, make use of more qmake facilities (out of source build, install)
    - pl
    - release 4

 QtIOCompressor-qmake.patch | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
---
diff --git a/QtIOCompressor-qmake.patch b/QtIOCompressor-qmake.patch
new file mode 100644
index 0000000..ffea76c
--- /dev/null
+++ b/QtIOCompressor-qmake.patch
@@ -0,0 +1,29 @@
+--- qtiocompressor-2.3_1-opensource/common.pri.orig	2009-12-16 11:40:11.000000000 +0100
++++ qtiocompressor-2.3_1-opensource/common.pri	2017-06-09 19:03:43.225451026 +0200
+@@ -1,6 +1,10 @@
+ infile(config.pri, SOLUTIONS_LIBRARY, yes): CONFIG += qtiocompressor-uselib
+ TEMPLATE += fakelib
++greaterThan(QT_MAJOR_VERSION, 4) {
++QTIOCOMPRESSOR_LIBNAME = $$qtLibraryTarget(Qt$${QT_MAJOR_VERSION}Solutions_IOCompressor-2.3)
++} else {
+ QTIOCOMPRESSOR_LIBNAME = $$qtLibraryTarget(QtSolutions_IOCompressor-2.3)
++}
+ TEMPLATE -= fakelib
+ QTIOCOMPRESSOR_LIBDIR = $$PWD/lib
+ unix:qtiocompressor-uselib:!qtiocompressor-buildlib:QMAKE_RPATHDIR += $$QTIOCOMPRESSOR_LIBDIR
+--- qtiocompressor-2.3_1-opensource/buildlib/buildlib.pro.orig	2009-12-16 11:40:11.000000000 +0100
++++ qtiocompressor-2.3_1-opensource/buildlib/buildlib.pro	2017-06-09 20:50:56.315377565 +0200
+@@ -5,9 +5,12 @@
+ include(../src/qtiocompressor.pri)
+ TARGET = $$QTIOCOMPRESSOR_LIBNAME
+ DESTDIR = $$QTIOCOMPRESSOR_LIBDIR
++isEmpty(INSTALL_LIBDIR) {
++  INSTALL_LIBDIR = $$QTIOCOMPRESSOR_LIBDIR
++}
+ win32 {
+     DLLDESTDIR = $$[QT_INSTALL_BINS]
+     QMAKE_DISTCLEAN += $$[QT_INSTALL_BINS]\\$${QTIOCOMPRESSOR_LIBNAME}.dll
+ }
+-target.path = $$DESTDIR
++target.path = $$INSTALL_LIBDIR
+ INSTALLS += target
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/QtIOCompressor.git/commitdiff/f0abc6567a74c7377ea2283bd9ca959a97685d0a



More information about the pld-cvs-commit mailing list