aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authorbsam <bsam@FreeBSD.org>2017-10-12 05:50:30 +0800
committerbsam <bsam@FreeBSD.org>2017-10-12 05:50:30 +0800
commitb8c7ff199d176cc177ead5fbdc337b22f515701f (patch)
tree34399e0b3e5a6ce9a508d008fc0fb1d8ab87f68e /science
parent5c8a5ecafba6e5e2476d21db2ec6779471b395b7 (diff)
downloadfreebsd-ports-gnome-b8c7ff199d176cc177ead5fbdc337b22f515701f.tar.gz
freebsd-ports-gnome-b8c7ff199d176cc177ead5fbdc337b22f515701f.tar.zst
freebsd-ports-gnome-b8c7ff199d176cc177ead5fbdc337b22f515701f.zip
science/pulseview: Update to version 0.4.0, switch to QT5.
Diffstat (limited to 'science')
-rw-r--r--science/pulseview/Makefile16
-rw-r--r--science/pulseview/distinfo5
-rw-r--r--science/pulseview/files/patch-pv_data_signaldata.cpp13
-rw-r--r--science/pulseview/files/patch-pv_data_signaldata.h10
4 files changed, 14 insertions, 30 deletions
diff --git a/science/pulseview/Makefile b/science/pulseview/Makefile
index 83f26b0dc747..fd9532f88dd4 100644
--- a/science/pulseview/Makefile
+++ b/science/pulseview/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= pulseview
-PORTVERSION= 0.2.0
-PORTREVISION= 7
+PORTVERSION= 0.4.0
CATEGORIES= science cad
MASTER_SITES= http://sigrok.org/download/source/pulseview/
@@ -17,11 +16,18 @@ LIB_DEPENDS= libboost_thread.so:devel/boost-libs \
libsigrok.so:devel/libsigrok \
libsigrokdecode.so:devel/libsigrokdecode
-USES= cmake pkgconfig
-USE_QT4= corelib gui moc_build qmake_build rcc_build uic_build
+USES= cmake desktop-file-utils pkgconfig
+USE_GNOME= glibmm glib20 libsigc++20
+USE_QT5= buildtools core gui qmake_build svg widgets
CMAKE_ARGS+= -DCMAKE_INSTALL_MANDIR:PATH=${MANPREFIX}/man \
-DDISABLE_WERROR:BOOL=TRUE
-PLIST_FILES= bin/pulseview man/man1/pulseview.1.gz
+INSTALLS_ICONS= yes
+
+PLIST_FILES= bin/pulseview man/man1/pulseview.1.gz \
+ share/applications/org.sigrok.PulseView.desktop \
+ share/icons/hicolor/48x48/apps/pulseview.png \
+ share/icons/hicolor/scalable/apps/pulseview.svg \
+ share/metainfo/org.sigrok.PulseView.appdata.xml
MAKE_JOBS_UNSAFE=yes
diff --git a/science/pulseview/distinfo b/science/pulseview/distinfo
index c4bd77e5a98a..fb479849ca37 100644
--- a/science/pulseview/distinfo
+++ b/science/pulseview/distinfo
@@ -1,2 +1,3 @@
-SHA256 (pulseview-0.2.0.tar.gz) = feb5d33a0a91c989bfc39fa758195755e78e87c3cf445bb135a8c8d4f86bc1dd
-SIZE (pulseview-0.2.0.tar.gz) = 148799
+TIMESTAMP = 1507723538
+SHA256 (pulseview-0.4.0.tar.gz) = 78f8291045c6f65b4827b12e83c8e68cea2d5e7268b15a51aaca9726c8100eb9
+SIZE (pulseview-0.4.0.tar.gz) = 226656
diff --git a/science/pulseview/files/patch-pv_data_signaldata.cpp b/science/pulseview/files/patch-pv_data_signaldata.cpp
deleted file mode 100644
index cf9c36bba0cf..000000000000
--- a/science/pulseview/files/patch-pv_data_signaldata.cpp
+++ /dev/null
@@ -1,13 +0,0 @@
---- pv/data/signaldata.cpp.orig 2014-05-06 21:43:51 UTC
-+++ pv/data/signaldata.cpp
-@@ -29,6 +29,10 @@ SignalData::SignalData() :
- {
- }
-
-+SignalData::~SignalData()
-+{
-+}
-+
- double SignalData::samplerate() const
- {
- return _samplerate;
diff --git a/science/pulseview/files/patch-pv_data_signaldata.h b/science/pulseview/files/patch-pv_data_signaldata.h
deleted file mode 100644
index 709ffc2ad775..000000000000
--- a/science/pulseview/files/patch-pv_data_signaldata.h
+++ /dev/null
@@ -1,10 +0,0 @@
---- pv/data/signaldata.h.orig 2014-05-06 21:43:51 UTC
-+++ pv/data/signaldata.h
-@@ -30,6 +30,7 @@ class SignalData
- {
- public:
- SignalData();
-+ virtual ~SignalData();
-
- public:
- double samplerate() const;