science/pulseview: Update to version 0.4.0, switch to QT5.

This commit is contained in:
Boris Samorodov 2017-10-11 21:50:30 +00:00
parent f7b23caa3a
commit 93210d6be3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=451804
4 changed files with 14 additions and 30 deletions

View file

@ -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

View file

@ -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

View file

@ -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;

View file

@ -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;