diff options
Diffstat (limited to 'system/wacomtablet/wacomtablet.SlackBuild')
-rw-r--r-- | system/wacomtablet/wacomtablet.SlackBuild | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/system/wacomtablet/wacomtablet.SlackBuild b/system/wacomtablet/wacomtablet.SlackBuild index db50ce909bbe7..bf1f54be30baa 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 \ |