summaryrefslogtreecommitdiffstats
path: root/graphics-libs
diff options
context:
space:
mode:
authorIsmael Luceno2022-04-13 20:03:56 +0200
committerIsmael Luceno2022-04-13 20:03:56 +0200
commit492b8c529e05651f5d95afd0199def0a9cea1cf4 (patch)
tree7517dc5ee85fa1b57620a674bbe42413f89f3ee2 /graphics-libs
parente2512a795f50c5dba8a148024cbcbf4d363e6618 (diff)
libwacom 2.2.0
Diffstat (limited to 'graphics-libs')
-rwxr-xr-xgraphics-libs/libwacom/BUILD2
-rwxr-xr-xgraphics-libs/libwacom/CONFIGURE5
-rwxr-xr-xgraphics-libs/libwacom/DEPENDS13
-rwxr-xr-xgraphics-libs/libwacom/DETAILS12
-rw-r--r--graphics-libs/libwacom/HISTORY6
-rwxr-xr-xgraphics-libs/libwacom/PRE_BUILD4
6 files changed, 30 insertions, 12 deletions
diff --git a/graphics-libs/libwacom/BUILD b/graphics-libs/libwacom/BUILD
new file mode 100755
index 0000000000..d68adcace1
--- /dev/null
+++ b/graphics-libs/libwacom/BUILD
@@ -0,0 +1,2 @@
+OPTS+=" $LIBWACOM_OPTS" &&
+default_build
diff --git a/graphics-libs/libwacom/CONFIGURE b/graphics-libs/libwacom/CONFIGURE
new file mode 100755
index 0000000000..4ff66ae4fe
--- /dev/null
+++ b/graphics-libs/libwacom/CONFIGURE
@@ -0,0 +1,5 @@
+persistent_remove LIBWACOM_TEST
+. "$GRIMOIRE"/MESON_CONFIGURE &&
+config_query_option LIBWACOM_OPTS \
+ "Run test suite (pulls extra dependencies)?" y \
+ tests={enabled,disabled}
diff --git a/graphics-libs/libwacom/DEPENDS b/graphics-libs/libwacom/DEPENDS
index 7710f8e7ff..54bfc5d51f 100755
--- a/graphics-libs/libwacom/DEPENDS
+++ b/graphics-libs/libwacom/DEPENDS
@@ -1,4 +1,13 @@
+. "$GRIMOIRE"/MESON_DEPENDS &&
depends libgudev &&
-depends libxml2 &&
depends glib2 &&
-optional_depends gtk+2 '' '' 'build graphical frontend'
+case " $LIBWACOM_OPTS " in
+ (*' tests=enabled '*)
+ depends pytest &&
+ depends python-evdev &&
+ depends python3 &&
+ depends pyudev &&
+ optional_depends libxml2 '' '' 'for testing SVG validity' &&
+ optional_depends valgrind '' '' 'for valgrind testsuite'
+ ;;
+esac
diff --git a/graphics-libs/libwacom/DETAILS b/graphics-libs/libwacom/DETAILS
index a757b4c531..fef114c7fd 100755
--- a/graphics-libs/libwacom/DETAILS
+++ b/graphics-libs/libwacom/DETAILS
@@ -1,12 +1,12 @@
+. "$GRIMOIRE"/MESON_FUNCTIONS
SPELL=libwacom
- VERSION=0.29
- BRANCH=$(echo $VERSION|cut -d . -f 1,2)
- SOURCE=$SPELL-$VERSION.tar.bz2
+ VERSION=2.2.0
+ SOURCE=$SPELL-$VERSION.tar.xz
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
- SOURCE_URL[0]=http://downloads.sourceforge.net/sourceforge/linuxwacom/libwacom/$SOURCE
- SOURCE_HASH=sha512:22fb7610a21a577d7ebc567e14ed1135b883723bc6c37adda540915261ebaea2365e4ab19339beefe6c412ba3c45e85b958129ddb24bff8ec73338b7a63a70ff
+ SOURCE_URL[0]=https://github.com/linuxwacom/$SPELL/releases/download/$SPELL-$VERSION/$SOURCE
+ SOURCE_HASH=sha512:3bded4a72bec230f3318e72bdfd81fa577d4a86103a89367e01e993319f4dbb9ccc73c834c04d5a63f43a8b94457bf64e567d7e3f8d2a0e08b189300c63782a8
LICENSE[0]=GPL
- WEB_SITE=http://linuxwacom.sourceforge.net/
+ WEB_SITE=https://linuxwacom.github.io/
ENTERED=20120328
SHORT="wacom tablets support library"
cat << EOF
diff --git a/graphics-libs/libwacom/HISTORY b/graphics-libs/libwacom/HISTORY
index a16c9a87ad..58775b3deb 100644
--- a/graphics-libs/libwacom/HISTORY
+++ b/graphics-libs/libwacom/HISTORY
@@ -1,3 +1,9 @@
+2022-04-13 Ismael Luceno <ismael@sourcemage.org>
+ * PRE_BUILD: removed, no longer needed
+ * BUILD, CONFIGURE, DEPENDS, DETAILS: updated spell to 2.2.0
+ upstream switched to meson
+ updated dependencies and added knob for testsuite
+
2021-02-28 Ismael Luceno <ismael@sourcemage.org>
* DETAILS: updated spell to 0.29
diff --git a/graphics-libs/libwacom/PRE_BUILD b/graphics-libs/libwacom/PRE_BUILD
deleted file mode 100755
index 6f0b495da6..0000000000
--- a/graphics-libs/libwacom/PRE_BUILD
+++ /dev/null
@@ -1,4 +0,0 @@
-default_pre_build &&
-cd "$SOURCE_DIRECTORY" &&
-# Disable tests
-sedit '/^SUBDIRS =/s/ test//' Makefile.in