summaryrefslogtreecommitdiff
path: root/graphics/kplotting
diff options
context:
space:
mode:
authormarkd <markd>2016-05-26 08:43:53 +0000
committermarkd <markd>2016-05-26 08:43:53 +0000
commitb4c1908653959a510addabb829c14cf5432b7950 (patch)
treea9245593a3f986d297ec8b6b9ec700bf56cf4230 /graphics/kplotting
parent4136500b70f2df1ed3dbf1c9b8c8a625933c632c (diff)
downloadpkgsrc-b4c1908653959a510addabb829c14cf5432b7950.tar.gz
Add KDE Frameworks 5.21.0 packages:
breeze-icons - Breeze icon themes kiconthemes - Support for icon themes kimageformats - Image format plugins for Qt5 kplotting - Lightweight plotting framework
Diffstat (limited to 'graphics/kplotting')
-rw-r--r--graphics/kplotting/DESCR15
-rw-r--r--graphics/kplotting/Makefile13
-rw-r--r--graphics/kplotting/PLIST19
-rw-r--r--graphics/kplotting/buildlink3.mk14
-rw-r--r--graphics/kplotting/distinfo6
5 files changed, 67 insertions, 0 deletions
diff --git a/graphics/kplotting/DESCR b/graphics/kplotting/DESCR
new file mode 100644
index 00000000000..8b1a0468841
--- /dev/null
+++ b/graphics/kplotting/DESCR
@@ -0,0 +1,15 @@
+KPlotWidget is a QWidget-derived class that provides a virtual base class
+for easy data-plotting. The idea behind KPlotWidget is that you only have
+to specify information in "data units"; i.e., the natural units of the
+data being plotted. KPlotWidget automatically converts everything
+to screen pixel units.
+
+KPlotWidget draws X and Y axes with tick marks and tick labels. It
+automatically determines how many tick marks to use and where they should
+be, based on the data limits specified for the plot. You change the limits
+by calling `setLimits(double x1, double x2, double y1, double y2)`.
+
+Data to be plotted are stored using the KPlotObject class. KPlotObject
+consists of a QList of QPointF's, each specifying the X,Y coordinates
+of a data point. KPlotObject also specifies the "type" of data to be
+plotted (POINTS or CURVE or POLYGON or LABEL).
diff --git a/graphics/kplotting/Makefile b/graphics/kplotting/Makefile
new file mode 100644
index 00000000000..fe413d52f53
--- /dev/null
+++ b/graphics/kplotting/Makefile
@@ -0,0 +1,13 @@
+# $NetBSD: Makefile,v 1.1 2016/05/26 08:43:53 markd Exp $
+
+DISTNAME= kplotting-${KF5VER}
+CATEGORIES= graphics
+
+HOMEPAGE= https://community.kde.org/Frameworks
+COMMENT= Lightweight plotting framework
+LICENSE= gnu-lgpl-v2.1
+
+.include "../../meta-pkgs/kf5/Makefile.common"
+
+.include "../../x11/qt5-qtbase/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/kplotting/PLIST b/graphics/kplotting/PLIST
new file mode 100644
index 00000000000..ff42252b47c
--- /dev/null
+++ b/graphics/kplotting/PLIST
@@ -0,0 +1,19 @@
+@comment $NetBSD: PLIST,v 1.1 2016/05/26 08:43:53 markd Exp $
+include/KF5/KPlotting/KPlotAxis
+include/KF5/KPlotting/KPlotObject
+include/KF5/KPlotting/KPlotPoint
+include/KF5/KPlotting/KPlotWidget
+include/KF5/KPlotting/kplotaxis.h
+include/KF5/KPlotting/kplotobject.h
+include/KF5/KPlotting/kplotpoint.h
+include/KF5/KPlotting/kplotting_export.h
+include/KF5/KPlotting/kplotwidget.h
+include/KF5/kplotting_version.h
+lib/cmake/KF5Plotting/KF5PlottingConfig.cmake
+lib/cmake/KF5Plotting/KF5PlottingConfigVersion.cmake
+lib/cmake/KF5Plotting/KF5PlottingTargets-noconfig.cmake
+lib/cmake/KF5Plotting/KF5PlottingTargets.cmake
+lib/libKF5Plotting.so
+lib/libKF5Plotting.so.5
+lib/libKF5Plotting.so.${PKGVERSION}
+qt5/mkspecs/modules/qt_KPlotting.pri
diff --git a/graphics/kplotting/buildlink3.mk b/graphics/kplotting/buildlink3.mk
new file mode 100644
index 00000000000..b8b3027b335
--- /dev/null
+++ b/graphics/kplotting/buildlink3.mk
@@ -0,0 +1,14 @@
+# $NetBSD: buildlink3.mk,v 1.1 2016/05/26 08:43:53 markd Exp $
+
+BUILDLINK_TREE+= kplotting
+
+.if !defined(KPLOTTING_BUILDLINK3_MK)
+KPLOTTING_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.kplotting+= kplotting>=5.21.0
+BUILDLINK_PKGSRCDIR.kplotting?= ../../graphics/kplotting
+
+.include "../../x11/qt5-qtbase/buildlink3.mk"
+.endif # KPLOTTING_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -kplotting
diff --git a/graphics/kplotting/distinfo b/graphics/kplotting/distinfo
new file mode 100644
index 00000000000..f15dfda75aa
--- /dev/null
+++ b/graphics/kplotting/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2016/05/26 08:43:53 markd Exp $
+
+SHA1 (kplotting-5.21.0.tar.xz) = 5019ba30579e2749daf73310c12739f9228c7b88
+RMD160 (kplotting-5.21.0.tar.xz) = b51e0d08c933540f7838fa0e74bde0c37adfad51
+SHA512 (kplotting-5.21.0.tar.xz) = 1b7837f4914f483fafde86a8feaf665b04f8ee1d4fd7fab268611a304c12f368b2afe0d2c2df1b54489d839e4d49fc2a545c81709457844658515d925ee9d743
+Size (kplotting-5.21.0.tar.xz) = 29508 bytes