aboutsummaryrefslogtreecommitdiff
path: root/misc/ibus-qt
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2017-08-30 21:39:38 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-10-11 06:20:01 +0700
commitedd184fa6bf648b966b14f339561d056c88d6b3b (patch)
tree2d6f72895219ed19ef55459643d59a7268b8bc3f /misc/ibus-qt
parent7fdca74bdec2550428e2d180f9d8ce0cef0a1285 (diff)
misc/ibus-qt: Updated for version 1.3.3.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'misc/ibus-qt')
-rw-r--r--misc/ibus-qt/ibus-qt.SlackBuild45
-rw-r--r--misc/ibus-qt/ibus-qt.info10
2 files changed, 36 insertions, 19 deletions
diff --git a/misc/ibus-qt/ibus-qt.SlackBuild b/misc/ibus-qt/ibus-qt.SlackBuild
index 200351a12dc91..52ee315875dc8 100644
--- a/misc/ibus-qt/ibus-qt.SlackBuild
+++ b/misc/ibus-qt/ibus-qt.SlackBuild
@@ -2,11 +2,31 @@
# Slackware build script for ibus-qt
-# Written by Grissiom <chaos.proton@gmail.com>
+# Copyright 2017 Heinz Wiesinger, Amsterdam, The Netherlands
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+# Originally written by Grissiom <chaos.proton@gmail.com>
PRGNAM=ibus-qt
-VERSION=${VERSION:-1.3.1}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.3.3}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -54,22 +74,19 @@ find -L . \
mkdir build
cd build
cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_CXX_FLAGS="${SLKCFLAGS}" \
+ -DCMAKE_C_FLAGS="${SLKCFLAGS}" \
+ -DCMAKE_INSTALL_PREFIX="/usr" \
-DLIBDIR=lib${LIBDIRSUFFIX} \
- -DDOCDIR=/usr/doc/$PRGNAM-$VERSION \
- -DMANDIR=/usr/man \
..
+
make
- make install DESTDIR=$PKG
+ make install/strip DESTDIR=$PKG
cd ..
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-cp -a AUTHORS COPYING README TODO $PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING INSTALL README TODO \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/misc/ibus-qt/ibus-qt.info b/misc/ibus-qt/ibus-qt.info
index 5558f46095346..43ade9d2e623e 100644
--- a/misc/ibus-qt/ibus-qt.info
+++ b/misc/ibus-qt/ibus-qt.info
@@ -1,10 +1,10 @@
PRGNAM="ibus-qt"
-VERSION="1.3.1"
+VERSION="1.3.3"
HOMEPAGE="https://github.com/ibus/ibus/wiki"
-DOWNLOAD="https://ftp.mirrorservice.org/sites/download.salixos.org/x86_64/14.0/source/xap/ibus-qt/ibus-qt-1.3.1-Source.tar.gz"
-MD5SUM="769e8872ca8a59327b2073ce2f142589"
+DOWNLOAD="https://github.com/ibus/ibus-qt/releases/download/1.3.3/ibus-qt-1.3.3-Source.tar.gz"
+MD5SUM="952fa987dc3675dc1df7721b552770c1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="ibus"
-MAINTAINER="Grissiom"
-EMAIL="chaos.proton@gmail.com"
+MAINTAINER="Heinz Wiesinger"
+EMAIL="pprkut@liwjatan.at"