summaryrefslogtreecommitdiff
path: root/dev-libs/libwacom
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/libwacom')
-rw-r--r--dev-libs/libwacom/Manifest4
-rw-r--r--dev-libs/libwacom/libwacom-2.10.0.ebuild2
-rw-r--r--dev-libs/libwacom/libwacom-2.11.0.ebuild68
3 files changed, 72 insertions, 2 deletions
diff --git a/dev-libs/libwacom/Manifest b/dev-libs/libwacom/Manifest
index 352100af6c79..939e164d1a2a 100644
--- a/dev-libs/libwacom/Manifest
+++ b/dev-libs/libwacom/Manifest
@@ -1,8 +1,10 @@
DIST libwacom-2.10.0.tar.xz 114952 BLAKE2B ec9226feeac9998bc8b1886967db1ef5ea34312717eec5cce31796ffb2209cd479f6b2c1f7e2fe63c7c26ff7bdc93cf33a04314caefe84bb1113693086a78de5 SHA512 dc62db42596e14ace8463bc6bb115503d55f14c23a2a259b2169746e21b25eeeaacc09d7d1dd85c3e05f6dc5f3d96a3c757b2c93b171673e8f869337408495f9
+DIST libwacom-2.11.0.tar.xz 116056 BLAKE2B 2091859e036d928bc62543a56ea6ca0e2a879f83000437bc73560c334533a1b7b17e36a4f730c51f5b944cea6dbed0bc90b924c1f2112cd8f4bf0cb82505a0b7 SHA512 66823d97d165b428ddbfc3539572c94e2138b0732bc1c9e97c5ee071982fe8b82ead1302a5c308cbd1038e283fdfd7db853ef4a822c946f85a63b8247877a8a9
DIST libwacom-2.6.0.tar.xz 110288 BLAKE2B 321bacccab84f287141257b4c7af12822fca976c335027d399765fdbbb2c59eabcc76f40d4fd83c7cf1cdc88e2c57ccd317b1922ea3dddb98cf2a0847e920ff1 SHA512 aacf234e77bd976de2e2a687294c5ab704dca5a70df01fa2485441029e4faa34bec2824c455642115ae79f5cbbac41d064569e4eb2788655c324b37149009d26
DIST libwacom-2.7.0.tar.xz 111424 BLAKE2B 2cb046a7390c017680a2a67197896b0613fa3b0ca65d388b5d760fba1438c3079786efa77a5b69d26dce7b8813436ca4240500ef00d77e11427fee81df912d64 SHA512 47dd8fc7b82fce88ae9d857bcbecec2e45f2a83e832a5e1f97d5b09f77a2dacd53a470e08e756217fe7c5ef4420fdd8d3e3c37071336f7a3dce522b9fa781583
DIST libwacom-2.8.0.tar.xz 112244 BLAKE2B cc9bd7118f8e8d8d4ee3a22a6af20f00b95a3660cbc7c0822b7c067c1e78d89a9615db710cd8f3fbcf3a14ccdd434a2694dbb3ce0ef9bdd540b456c774927536 SHA512 b374ee8ded4f5cb7961699d2b9826ad69a3089f9a3073b4275596e1036f0e08813fba09c98653e852da73781c34c779e3faf20dab66eff667812a655e153f133
-EBUILD libwacom-2.10.0.ebuild 1441 BLAKE2B ccca26019588f69fbb0344cf970c09e9c7278fcace7e8cccc87bcb8296add61edbef279204ec8dcb0142e7599aca5a0d6551992dba87cd9dbc790cb526e46ba1 SHA512 5eadc31d3415cb12b66ad90d8c0e7b75edbb2a258df4d6145f58e1d8bdd688e2988ba6ea631b60bd88e366524ade706377845c66065306a1ccabe32a24708454
+EBUILD libwacom-2.10.0.ebuild 1435 BLAKE2B 13773e63c537c2ad33503314b75cbba8510cb67bd82382ecf8f5117c570badb00d20d2fe59e5f1f19ce09e4cd24d2fcc150e1609f571229d96cd25b6c6a94fcd SHA512 51396664c5527d44e936cba7290d3fe6799fc2713a65d060974d2240241ce3229fb711b2cbccd71065df3ab705af733227bc41ada9c7e849cfa9e3d6569c6e52
+EBUILD libwacom-2.11.0.ebuild 1441 BLAKE2B ccca26019588f69fbb0344cf970c09e9c7278fcace7e8cccc87bcb8296add61edbef279204ec8dcb0142e7599aca5a0d6551992dba87cd9dbc790cb526e46ba1 SHA512 5eadc31d3415cb12b66ad90d8c0e7b75edbb2a258df4d6145f58e1d8bdd688e2988ba6ea631b60bd88e366524ade706377845c66065306a1ccabe32a24708454
EBUILD libwacom-2.6.0.ebuild 1494 BLAKE2B 97233bfad12bf355b3eca8235be62801f0179ba9fc8a4ee5cff0a477d9cb057865a01ab11cb3e8ea1dec40564ff65f29b61c996ca9c8c051b76c49902f3caa20 SHA512 d48c95618c25cb1dfd2011af84ff3ff17f596d12b68d0c50a3e63b251f59d3a1dd094e181c58ae3c4a28e801279ac6e0b7bde63abb84ff55e9e900fb5cced44c
EBUILD libwacom-2.7.0.ebuild 1494 BLAKE2B 97233bfad12bf355b3eca8235be62801f0179ba9fc8a4ee5cff0a477d9cb057865a01ab11cb3e8ea1dec40564ff65f29b61c996ca9c8c051b76c49902f3caa20 SHA512 d48c95618c25cb1dfd2011af84ff3ff17f596d12b68d0c50a3e63b251f59d3a1dd094e181c58ae3c4a28e801279ac6e0b7bde63abb84ff55e9e900fb5cced44c
EBUILD libwacom-2.8.0.ebuild 1416 BLAKE2B 7bcc5b30760555a2d4db75515aa33f9c677ba8f953da407b7628fcde15b0e40734fde98a71e6132ad1035fe468926bcef5811b3a6551d4821e05b183d38078cf SHA512 8be77ece66720deade0fd4f589329a9f5d45fe1dd36b203dd229415acca495f65a98557628921691ffecff929177e790605e92317029fbbab3d0c5649a9f166b
diff --git a/dev-libs/libwacom/libwacom-2.10.0.ebuild b/dev-libs/libwacom/libwacom-2.10.0.ebuild
index ec6ea6420bb5..4b992460e769 100644
--- a/dev-libs/libwacom/libwacom-2.10.0.ebuild
+++ b/dev-libs/libwacom/libwacom-2.10.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/linuxwacom/${PN}/releases/download/${P}/${P}.tar.xz"
LICENSE="MIT"
SLOT="0/9" # libwacom SONAME
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm ~arm64 ~ia64 ppc ppc64 sparc x86"
IUSE="doc test"
RESTRICT="!test? ( test )"
diff --git a/dev-libs/libwacom/libwacom-2.11.0.ebuild b/dev-libs/libwacom/libwacom-2.11.0.ebuild
new file mode 100644
index 000000000000..ec6ea6420bb5
--- /dev/null
+++ b/dev-libs/libwacom/libwacom-2.11.0.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit meson python-any-r1 udev
+
+DESCRIPTION="Library for identifying Wacom tablets and their model-specific features"
+HOMEPAGE="https://github.com/linuxwacom/libwacom"
+SRC_URI="https://github.com/linuxwacom/${PN}/releases/download/${P}/${P}.tar.xz"
+
+LICENSE="MIT"
+SLOT="0/9" # libwacom SONAME
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="doc test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ dev-libs/glib:2
+ dev-libs/libevdev
+ dev-libs/libgudev:=
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ ${PYTHON_DEPS}
+ virtual/pkgconfig
+ doc? ( app-text/doxygen )
+ test? (
+ $(python_gen_any_dep '
+ dev-python/libevdev[${PYTHON_USEDEP}]
+ dev-python/pyudev[${PYTHON_USEDEP}]
+ dev-python/pytest[${PYTHON_USEDEP}]
+ ')
+ )
+"
+
+python_check_deps() {
+ use test || return 0
+ python_has_version \
+ "dev-python/libevdev[${PYTHON_USEDEP}]" \
+ "dev-python/pyudev[${PYTHON_USEDEP}]" \
+ "dev-python/pytest[${PYTHON_USEDEP}]"
+}
+
+src_prepare() {
+ default
+
+ # Don't call systemd daemon-reload in the test suite
+ sed -i -e '/daemon-reload/d' test/test_udev_rules.py || die
+}
+
+src_configure() {
+ local emesonargs=(
+ $(meson_feature doc documentation)
+ $(meson_feature test tests)
+ -Dudev-dir=$(get_udevdir)
+ )
+ meson_src_configure
+}
+
+pkg_postinst() {
+ udev_reload
+}
+
+pkg_postrm() {
+ udev_reload
+}