aboutsummaryrefslogtreecommitdiff
path: root/libraries/qwt-qt5/patch-6.1.6-pkgconfig.diff
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <slackbuilds@jaxartes.net>2021-01-17 07:54:24 -0800
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-01-23 18:18:57 +0700
commitc55b2a27321997ab511e6d3ba8357b6ed8a071c5 (patch)
tree6e084d924f14622587f2b098842ac650fc8ad61b /libraries/qwt-qt5/patch-6.1.6-pkgconfig.diff
parent2ae46584f5acf4e8319f9eeabfdfcf09c3b3390a (diff)
libraries/qwt-qt5: Updated for version 6.1.6.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/qwt-qt5/patch-6.1.6-pkgconfig.diff')
-rw-r--r--libraries/qwt-qt5/patch-6.1.6-pkgconfig.diff22
1 files changed, 22 insertions, 0 deletions
diff --git a/libraries/qwt-qt5/patch-6.1.6-pkgconfig.diff b/libraries/qwt-qt5/patch-6.1.6-pkgconfig.diff
new file mode 100644
index 0000000000000..91c5ed4c78bc9
--- /dev/null
+++ b/libraries/qwt-qt5/patch-6.1.6-pkgconfig.diff
@@ -0,0 +1,22 @@
+--- src/src.pro.orig 2014-12-12 00:13:13.461186493 +1000
++++ src/src.pro 2015-10-05 08:55:43.504194164 +1000
+@@ -21,6 +21,19 @@
+
+ DESTDIR = $${QWT_OUT_ROOT}/lib
+
++# Add pkgconfig support
++unix {
++ CONFIG += create_pc create_prl no_install_prl
++ QMAKE_PKGCONFIG_NAME = qwt-qt5
++ QMAKE_PKGCONFIG_DESCRIPTION = GUI components
++ QMAKE_PKGCONFIG_PREFIX = $${QWT_INSTALL_PREFIX}
++ QMAKE_PKGCONFIG_LIBDIR = $${QWT_INSTALL_LIBS}
++ QMAKE_PKGCONFIG_INCDIR = $${QWT_INSTALL_HEADERS}
++ QMAKE_PKGCONFIG_REQUIRES = QtCore
++ QMAKE_PKGCONFIG_DESTDIR = pkgconfig
++}
++
++
+ contains(QWT_CONFIG, QwtDll) {
+
+ CONFIG += dll