summaryrefslogtreecommitdiff
path: root/system/wacomtablet/wacomtablet.SlackBuild
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2015-12-31 17:22:49 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commit922deb5380dc1346b83cbd1635c1c73b03cc8338 (patch)
tree31381e172367eb90d1d4a4aec8cec5893af8e55a /system/wacomtablet/wacomtablet.SlackBuild
parent44667ae222eac9271ba985d1d42b81a4ad1e2a7e (diff)
downloadslackbuilds-922deb5380dc1346b83cbd1635c1c73b03cc8338.tar.gz
system/wacomtablet: Updated for version 2.1.0.
Fixed build failure with cmake-3.4. Signed-off-by: David Spencer <baildon.research@googlemail.com>
Diffstat (limited to 'system/wacomtablet/wacomtablet.SlackBuild')
-rw-r--r--system/wacomtablet/wacomtablet.SlackBuild12
1 files changed, 10 insertions, 2 deletions
diff --git a/system/wacomtablet/wacomtablet.SlackBuild b/system/wacomtablet/wacomtablet.SlackBuild
index db50ce909b..bf1f54be30 100644
--- a/system/wacomtablet/wacomtablet.SlackBuild
+++ b/system/wacomtablet/wacomtablet.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=wacomtablet
-VERSION=${VERSION:-2.0}
+VERSION=${VERSION:-2.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -62,7 +62,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$SRCVERSION
-tar xvf $CWD/114856-$PRGNAM-$SRCVERSION.tar.bz2
+tar xvf $CWD/114856-$PRGNAM-$SRCVERSION.tar.xz
cd $PRGNAM-$SRCVERSION
chown -R root:root .
find -L . \
@@ -71,6 +71,14 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Fixes based on Arch Linux patch (thanks!)
+sed -i \
+ -e 's/cmake_minimum_required(VERSION 2.6)/cmake_minimum_required(VERSION 3.0.0)/' \
+ CMakeLists.txt
+sed -i \
+ -e 's/XsetWacomAdaptor/XinputWacomAdaptor/' \
+ autotests/kded/xinputadaptor/CMakeLists.txt
+
mkdir build
cd build
cmake \