summaryrefslogtreecommitdiff
path: root/libraries/qtermwidget
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2016-12-29 15:05:41 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-12-31 08:22:31 +0700
commit6c226c6ceb71d6ef0eb66c571bb9eb85bac2c650 (patch)
tree68b40498531c980913c2b6bf0675bfdd6642b602 /libraries/qtermwidget
parent0470f6746ec00be37d594f8b9a8855f6135daddf (diff)
downloadslackbuilds-6c226c6ceb71d6ef0eb66c571bb9eb85bac2c650.tar.gz
libraries/qtermwidget: Updated for version 0.7.1.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries/qtermwidget')
-rw-r--r--libraries/qtermwidget/qtermwidget.SlackBuild21
-rw-r--r--libraries/qtermwidget/qtermwidget.info10
2 files changed, 15 insertions, 16 deletions
diff --git a/libraries/qtermwidget/qtermwidget.SlackBuild b/libraries/qtermwidget/qtermwidget.SlackBuild
index 75042138f8..8cabfa3330 100644
--- a/libraries/qtermwidget/qtermwidget.SlackBuild
+++ b/libraries/qtermwidget/qtermwidget.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for qtermwidget
-# Copyright 2011-2015 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
+# Copyright 2011-2016 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
# 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=qtermwidget
-VERSION=${VERSION:-20150225_da6838d}
+VERSION=${VERSION:-0.7.1}
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"
@@ -54,7 +54,7 @@ else
LIBDIRSUFFIX=""
fi
-DOCS="AUTHORS COPYING Changelog README TODO"
+DOCS="AUTHORS CHANGELOG LICENSE README.md"
set -e
@@ -66,10 +66,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
mkdir -p build
cd build
@@ -77,7 +77,6 @@ cd build
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG
diff --git a/libraries/qtermwidget/qtermwidget.info b/libraries/qtermwidget/qtermwidget.info
index 4b597574fb..4b4f572082 100644
--- a/libraries/qtermwidget/qtermwidget.info
+++ b/libraries/qtermwidget/qtermwidget.info
@@ -1,10 +1,10 @@
PRGNAM="qtermwidget"
-VERSION="20150225_da6838d"
-HOMEPAGE="https://github.com/qterminal/qtermwidget"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/qtermwidget-20150225_da6838d.tar.xz"
-MD5SUM="e3e2d1236b197606a9bc603dd6dfd1dc"
+VERSION="0.7.1"
+HOMEPAGE="https://github.com/lxde/qtermwidget"
+DOWNLOAD="https://github.com/lxde/qtermwidget/releases/download/0.7.1/qtermwidget-0.7.1.tar.xz"
+MD5SUM="df50457bb12a0e12b1f547ca644c5c22"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="qt5"
MAINTAINER="Matteo Bernardini"
EMAIL="ponce@slackbuilds.org"