From a45eaba8b74340f1b166bb2ba96d61d41fc11fad Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 4 Mar 2024 23:43:21 +0000 Subject: gentoo auto-resync : 04:03:2024 - 23:43:21 --- x11-drivers/xf86-input-wacom/Manifest | 2 + .../xf86-input-wacom/xf86-input-wacom-1.2.1.ebuild | 81 ++++++++++++++++++++++ 2 files changed, 83 insertions(+) create mode 100644 x11-drivers/xf86-input-wacom/xf86-input-wacom-1.2.1.ebuild (limited to 'x11-drivers/xf86-input-wacom') diff --git a/x11-drivers/xf86-input-wacom/Manifest b/x11-drivers/xf86-input-wacom/Manifest index c79c02f188ae..fa4f403509b4 100644 --- a/x11-drivers/xf86-input-wacom/Manifest +++ b/x11-drivers/xf86-input-wacom/Manifest @@ -1,3 +1,5 @@ DIST xf86-input-wacom-1.2.0.tar.bz2 647874 BLAKE2B c59e605bacb2694c2e322faba9b030112ffb57f916c816cbcb9a946fa063713c0590e1ea29273f73a84f4360b5bc5241c9768d7e61d77dfc9fb0af72b1a6f1cc SHA512 34817b87318d1fcf885e6427436a54d748a1c910026e6af0a22fafb461b227ca566cf06846f1f57c0d66412d5a3b20c95f014a71f8ef394ea8ca360a5f902318 +DIST xf86-input-wacom-1.2.1.tar.bz2 655198 BLAKE2B 0597b9c4e05ddd696943e1a03eaf1543db78ba895d8ac3d29cf6fe0a185236eb522a8511a2757c5eb965e35283e2bd4c08e4416548de1f76456d0d27575f5eaa SHA512 b8fd8496bf297ac0e44f36e8d84131600b689e27f35368895795302d4fd60d83ae9da9773c71007cf4f2b1c02d1aec27280d789821f17c57ec47b988c4f4c3bb EBUILD xf86-input-wacom-1.2.0.ebuild 1918 BLAKE2B 508aa3ec637806433278223879451b8b6eec906d4f1826ee6933961ea0bbf0438155bd8aad7b867bb941b3a5d4461ea2237beafb48b96a53fff67f43c06fbb1a SHA512 9be4d52b4478e20d165e6196a759218c8623bf9b64ca8b7e6ed38003f383a46893fc7879d79efbf80e4df9c08fc6f05c3b5ab2e0654fc2ac955d4b24b23d62d2 +EBUILD xf86-input-wacom-1.2.1.ebuild 1924 BLAKE2B e523beec04b2c02330eac67ec16d844d7df7563c73800ece199a582eff078384a14b1c4289bae05251cfde6d0bbe6e6fdadfa91d1f684fd89f539fd37c6c347f SHA512 e69b56902a7c808d12ddbfa9ee4c1bec510318a168f50781189557fdbb35d244d21762b79af071b3006d66ad846026853d7985372eb30eef098c029d1ae64302 MISC metadata.xml 337 BLAKE2B 4af5fa6cfa58ef6ecec60cbe9f316cc4adfa0b1eb304d2c1fe4525b916e1c347bd3b9a74c2e79a5bb88649aae92f00b624c619169fc8cb6ac81e359e58c53d2b SHA512 fba2d6d8bbfe90c65794dd1b831c6bad7dcd2b6e67036f46d629f4e85f926409b7fba0e99892ce7a2ce527fd080d5e75467d0ec38fee0ea2f7ecd311c2c49893 diff --git a/x11-drivers/xf86-input-wacom/xf86-input-wacom-1.2.1.ebuild b/x11-drivers/xf86-input-wacom/xf86-input-wacom-1.2.1.ebuild new file mode 100644 index 000000000000..d0c9b40ae40e --- /dev/null +++ b/x11-drivers/xf86-input-wacom/xf86-input-wacom-1.2.1.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit linux-info systemd udev xorg-3 meson + +DESCRIPTION="Driver for Wacom tablets and drawing devices" +HOMEPAGE="https://linuxwacom.github.io/" +LICENSE="GPL-2" +SRC_URI="https://github.com/linuxwacom/${PN}/releases/download/${P}/${P}.tar.bz2" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-libs/libwacom-2:= + >=x11-base/xorg-server-1.13:= + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXi + x11-libs/libXrandr + x11-libs/libXinerama + virtual/libudev:=" +DEPEND="${RDEPEND} + x11-base/xorg-proto" + +pkg_pretend() { + linux-info_pkg_setup + + if kernel_is lt 3 17; then + if ! linux_config_exists \ + || ! linux_chkconfig_present TABLET_USB_WACOM \ + || ! linux_chkconfig_present INPUT_EVDEV; then + echo + ewarn "If you use a USB Wacom tablet, you need to enable support in your kernel" + ewarn " Device Drivers --->" + ewarn " Input device support --->" + ewarn " <*> Event interface" + ewarn " [*] Tablets --->" + ewarn " <*> Wacom Intuos/Graphire tablet support (USB)" + echo + fi + else + if ! linux_config_exists \ + || ! linux_chkconfig_present HID_WACOM; then + echo + ewarn "If you use a USB Wacom tablet, you need to enable support in your kernel" + ewarn " Device Drivers --->" + ewarn " HID support --->" + ewarn " Special HID drivers --->" + ewarn " <*> Wacom Intuos/Graphire tablet support (USB)" + echo + fi + fi +} + +pkg_setup() { + linux-info_pkg_setup +} + +src_configure() { + xorg-3_flags_setup + + local emesonargs=( + -Dsystemd-unit-dir="$(systemd_get_systemunitdir)" + -Dudev-rules-dir="$(get_udevdir)/rules.d" + $(meson_feature test unittests) + -Dwacom-gobject=disabled + ) + meson_src_configure +} + +pkg_postinst() { + udev_reload +} + +pkg_postrm() { + udev_reload +} -- cgit v1.2.3