summaryrefslogtreecommitdiff
path: root/libraries/qwtpolar/qwtpolar-1.1.1-pkgconfig.patch
diff options
context:
space:
mode:
authorChristoph Willing <chris.willing@linux.com>2015-10-09 23:30:33 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-10-09 23:30:33 +0700
commit9d6d9b1a9dc000954f00263f1ba47e897b6d5989 (patch)
tree9d85e6f3f6e779b5529807b15c87d21424d6cfeb /libraries/qwtpolar/qwtpolar-1.1.1-pkgconfig.patch
parent28f63772025fbf96acad23a5e9962a77ce02ca45 (diff)
downloadslackbuilds-9d6d9b1a9dc000954f00263f1ba47e897b6d5989.tar.gz
libraries/qwtpolar: Added (Qwt/Qt Polar Plot Library).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/qwtpolar/qwtpolar-1.1.1-pkgconfig.patch')
-rw-r--r--libraries/qwtpolar/qwtpolar-1.1.1-pkgconfig.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/libraries/qwtpolar/qwtpolar-1.1.1-pkgconfig.patch b/libraries/qwtpolar/qwtpolar-1.1.1-pkgconfig.patch
new file mode 100644
index 0000000000..ab5354da42
--- /dev/null
+++ b/libraries/qwtpolar/qwtpolar-1.1.1-pkgconfig.patch
@@ -0,0 +1,27 @@
+commit 223b5436294642c8d1e2150783f3703b28a93430
+Author: Volker Fröhlich <volker27@gmx.at>
+Date: Tue Sep 23 21:06:37 2014 +0200
+
+ Add chkconfig support
+
+diff --git a/src/src.pro b/src/src.pro
+index 86e6a57..d9c7567 100644
+--- a/src/src.pro 2014-09-19 20:28:24.308002267 +1000
++++ b/src/src.pro 2015-10-05 10:29:40.869985742 +1000
+@@ -16,6 +16,16 @@
+ TEMPLATE = lib
+ TARGET = $$qwtPolarLibraryTarget(qwtpolar)
+
++# pkgconfig support
++CONFIG += create_pc create_prl no_install_prl
++QMAKE_PKGCONFIG_NAME = qwtpolar
++QMAKE_PKGCONFIG_DESCRIPTION = Qt/Qwt Polar Plot Widget
++QMAKE_PKGCONFIG_PREFIX = $${QWT_POLAR_INSTALL_PREFIX}
++QMAKE_PKGCONFIG_LIBDIR = $${QWT_POLAR_INSTALL_LIBS}
++QMAKE_PKGCONFIG_INCDIR = $${QWT_POLAR_INSTALL_HEADERS}
++QMAKE_PKGCONFIG_REQUIRES = qwt QtCore
++QMAKE_PKGCONFIG_DESTDIR = pkgconfig
++
+ DESTDIR = $${QWT_POLAR_ROOT}/lib
+
+ contains(QWT_POLAR_CONFIG, QwtPolarDll ) {