diff options
Diffstat (limited to 'dev-libs/libwacom')
-rw-r--r-- | dev-libs/libwacom/Manifest | 6 | ||||
-rw-r--r-- | dev-libs/libwacom/libwacom-2.10.0.ebuild | 68 | ||||
-rw-r--r-- | dev-libs/libwacom/libwacom-2.11.0.ebuild | 68 | ||||
-rw-r--r-- | dev-libs/libwacom/libwacom-2.6.0.ebuild (renamed from dev-libs/libwacom/libwacom-1.9.ebuild) | 51 | ||||
-rw-r--r-- | dev-libs/libwacom/libwacom-2.7.0.ebuild | 71 | ||||
-rw-r--r-- | dev-libs/libwacom/libwacom-2.8.0.ebuild | 67 | ||||
-rw-r--r-- | dev-libs/libwacom/metadata.xml | 4 |
7 files changed, 312 insertions, 23 deletions
diff --git a/dev-libs/libwacom/Manifest b/dev-libs/libwacom/Manifest index 11b8aeb2b249..15b5c4b67c06 100644 --- a/dev-libs/libwacom/Manifest +++ b/dev-libs/libwacom/Manifest @@ -1 +1,5 @@ -DIST libwacom-1.9.tar.bz2 516223 BLAKE2B 272dd462bee6f152840fb684213d5cdf83cda05b71b95e28a4a307240fa3edcb42b7afb9ef0ac1bd8b470a138e54f3fed9509b02186aff771314fa87ecf3307a SHA512 d62da97038caeaf727800a680a4ef2ef49a56e632844b9a0d6c0eed9c808e033bc1d969aa1c523b4a1724dfb9b8b3665290ecb90fcdcfbf5f50cae2d06c0bffa +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 diff --git a/dev-libs/libwacom/libwacom-2.10.0.ebuild b/dev-libs/libwacom/libwacom-2.10.0.ebuild new file mode 100644 index 000000000000..4b992460e769 --- /dev/null +++ b/dev-libs/libwacom/libwacom-2.10.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 +} 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 +} diff --git a/dev-libs/libwacom/libwacom-1.9.ebuild b/dev-libs/libwacom/libwacom-2.6.0.ebuild index be1415a4cf5a..d1ebf1a3d796 100644 --- a/dev-libs/libwacom/libwacom-1.9.ebuild +++ b/dev-libs/libwacom/libwacom-2.6.0.ebuild @@ -1,60 +1,71 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -PYTHON_COMPAT=( python3_{7..9} ) - -inherit meson python-any-r1 toolchain-funcs udev +PYTHON_COMPAT=( python3_{9..11} ) +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.bz2" +SRC_URI="https://github.com/linuxwacom/${PN}/releases/download/${P}/${P}.tar.xz" LICENSE="MIT" -SLOT="0" +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/libgudev:= +" +DEPEND="${RDEPEND}" BDEPEND=" virtual/pkgconfig - doc? ( app-doc/doxygen ) + doc? ( app-text/doxygen ) test? ( ${PYTHON_DEPS} $(python_gen_any_dep ' - dev-python/python-libevdev[${PYTHON_USEDEP}] + dev-python/libevdev[${PYTHON_USEDEP}] dev-python/pyudev[${PYTHON_USEDEP}] dev-python/pytest[${PYTHON_USEDEP}] ') ) " -RDEPEND=" - dev-libs/glib:2 - dev-libs/libgudev:= -" -DEPEND="${RDEPEND}" python_check_deps() { - has_version -b "dev-python/python-libevdev[${PYTHON_USEDEP}]" && - has_version -b "dev-python/pyudev[${PYTHON_USEDEP}]" && - has_version -b "dev-python/pytest[${PYTHON_USEDEP}]" + python_has_version "dev-python/libevdev[${PYTHON_USEDEP}]" && + python_has_version "dev-python/pyudev[${PYTHON_USEDEP}]" && + python_has_version "dev-python/pytest[${PYTHON_USEDEP}]" } pkg_setup() { - tc-ld-disable-gold # bug https://github.com/linuxwacom/libwacom/issues/170 - if use test; then python-any-r1_pkg_setup fi } +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 +} diff --git a/dev-libs/libwacom/libwacom-2.7.0.ebuild b/dev-libs/libwacom/libwacom-2.7.0.ebuild new file mode 100644 index 000000000000..d1ebf1a3d796 --- /dev/null +++ b/dev-libs/libwacom/libwacom-2.7.0.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) +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/libgudev:= +" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig + doc? ( app-text/doxygen ) + test? ( + ${PYTHON_DEPS} + $(python_gen_any_dep ' + dev-python/libevdev[${PYTHON_USEDEP}] + dev-python/pyudev[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + ') + ) +" + +python_check_deps() { + python_has_version "dev-python/libevdev[${PYTHON_USEDEP}]" && + python_has_version "dev-python/pyudev[${PYTHON_USEDEP}]" && + python_has_version "dev-python/pytest[${PYTHON_USEDEP}]" +} + +pkg_setup() { + if use test; then + python-any-r1_pkg_setup + fi +} + +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 +} diff --git a/dev-libs/libwacom/libwacom-2.8.0.ebuild b/dev-libs/libwacom/libwacom-2.8.0.ebuild new file mode 100644 index 000000000000..3267e544f61e --- /dev/null +++ b/dev-libs/libwacom/libwacom-2.8.0.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..11} ) +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/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 +} diff --git a/dev-libs/libwacom/metadata.xml b/dev-libs/libwacom/metadata.xml index 0a5e779e809b..7b987913f902 100644 --- a/dev-libs/libwacom/metadata.xml +++ b/dev-libs/libwacom/metadata.xml @@ -1,10 +1,10 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="project"> <email>freedesktop-bugs@gentoo.org</email> </maintainer> <upstream> - <remote-id type="sourceforge">linuxwacom</remote-id> + <remote-id type="github">linuxwacom/libwacom</remote-id> </upstream> </pkgmetadata> |