aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrzej Telszewski <atelszewski@gmail.com>2017-01-15 23:50:24 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-01-15 23:50:24 +0700
commit201fb542179b757ca3ceed59363f0b72a1097960 (patch)
treec308626c10f1d8be84d4a772e1d078370e740d68
parent264102d05308c98bb56dabb56315776e3881df50 (diff)
academic/pulseview: Updated for version 0.3.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--academic/pulseview/README3
-rw-r--r--academic/pulseview/doinst.sh2
-rw-r--r--academic/pulseview/pulseview.SlackBuild20
-rw-r--r--academic/pulseview/pulseview.info6
-rw-r--r--academic/pulseview/slack-desc2
5 files changed, 18 insertions, 15 deletions
diff --git a/academic/pulseview/README b/academic/pulseview/README
index c7a3b6d060373..511fde20d8ac4 100644
--- a/academic/pulseview/README
+++ b/academic/pulseview/README
@@ -1 +1,2 @@
-PulseView is a Qt based logic analyzer, oscilloscope and MSO GUI for sigrok.
+PulseView is a Qt based logic analyzer, oscilloscope and MSO GUI for
+sigrok.
diff --git a/academic/pulseview/doinst.sh b/academic/pulseview/doinst.sh
index 726ffe403baf3..65c7e2eeb9aa5 100644
--- a/academic/pulseview/doinst.sh
+++ b/academic/pulseview/doinst.sh
@@ -1,5 +1,5 @@
if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
diff --git a/academic/pulseview/pulseview.SlackBuild b/academic/pulseview/pulseview.SlackBuild
index f3ab3cfb2b904..790d42a045019 100644
--- a/academic/pulseview/pulseview.SlackBuild
+++ b/academic/pulseview/pulseview.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for PulseView
-# Copyright 2015 Andrzej Telszewski, Sabadell
+# Copyright 2017 Andrzej Telszewski, Banie
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,13 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=pulseview
-VERSION=${VERSION:-0.2.0}
+VERSION=${VERSION:-0.3.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -40,8 +40,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -76,19 +76,21 @@ cd build
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_MANDIR=/usr/man \
- -DCMAKE_BUILD_TYPE=Release ..
+ -DCMAKE_BUILD_TYPE=Release \
+ -DENABLE_TESTS=n \
+ ..
make
make install DESTDIR=$PKG
cd ..
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
mkdir -p $PKG/usr/share/applications
cp -a contrib/pulseview.desktop $PKG/usr/share/applications
mkdir -p $PKG/usr/share/icons/hicolor/48x48/apps
cp -a icons/sigrok-logo-notext.png $PKG/usr/share/icons/hicolor/48x48/apps
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
gzip -9 $PKG/usr/man/man1/pulseview.1
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/academic/pulseview/pulseview.info b/academic/pulseview/pulseview.info
index e327a148ed3b2..576ba264bbb75 100644
--- a/academic/pulseview/pulseview.info
+++ b/academic/pulseview/pulseview.info
@@ -1,8 +1,8 @@
PRGNAM="pulseview"
-VERSION="0.2.0"
+VERSION="0.3.0"
HOMEPAGE="http://sigrok.org/wiki/PulseView"
-DOWNLOAD="http://sigrok.org/download/source/pulseview/pulseview-0.2.0.tar.gz"
-MD5SUM="fe5586212671226afafe9d8d80ed10c6"
+DOWNLOAD="http://sigrok.org/download/source/pulseview/pulseview-0.3.0.tar.gz"
+MD5SUM="2cd76988cbf2a74b383e30de27744016"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libsigrok libsigrokdecode"
diff --git a/academic/pulseview/slack-desc b/academic/pulseview/slack-desc
index 8f34e764817d7..d6942368aca13 100644
--- a/academic/pulseview/slack-desc
+++ b/academic/pulseview/slack-desc
@@ -11,9 +11,9 @@ pulseview:
pulseview: PulseView is a Qt based logic analyzer, oscilloscope and
pulseview: MSO GUI for sigrok.
pulseview:
+pulseview: Homepage: http://sigrok.org/wiki/PulseView
pulseview:
pulseview:
pulseview:
pulseview:
-pulseview: Homepage: http://sigrok.org/wiki/PulseView
pulseview: