aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--desktop/qlipper/qlipper.SlackBuild16
-rw-r--r--desktop/qlipper/qlipper.info6
2 files changed, 14 insertions, 8 deletions
diff --git a/desktop/qlipper/qlipper.SlackBuild b/desktop/qlipper/qlipper.SlackBuild
index e4d09ec5fb15..771649f778d7 100644
--- a/desktop/qlipper/qlipper.SlackBuild
+++ b/desktop/qlipper/qlipper.SlackBuild
@@ -4,7 +4,7 @@
# Written by ponce <matteo.bernardini@gmail.com>
PRGNAM=qlipper
-VERSION=${VERSION:-1.8.3}
+VERSION=${VERSION:-2.0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -52,10 +52,16 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-qmake qlipper.pro PREFIX=/usr
-
-make
-make install INSTALL_ROOT=$PKG
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release ..
+ 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
diff --git a/desktop/qlipper/qlipper.info b/desktop/qlipper/qlipper.info
index 5c06c5868dbd..2f7f4d1d20a1 100644
--- a/desktop/qlipper/qlipper.info
+++ b/desktop/qlipper/qlipper.info
@@ -1,8 +1,8 @@
PRGNAM="qlipper"
-VERSION="1.8.3"
+VERSION="2.0.1"
HOMEPAGE="http://code.google.com/p/qlipper/"
-DOWNLOAD="http://qlipper.googlecode.com/files/qlipper-1.8.3.tar.bz2"
-MD5SUM="05c821eb2debd9dbdec400181dca68e7"
+DOWNLOAD="http://qlipper.googlecode.com/files/qlipper-2.0.1.tar.bz2"
+MD5SUM="e5e256de9b8ea07e237bde9b8e3ceb75"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""