commit:     158102a12cd54ad685beed8c251ef05151424c40
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 18 02:16:06 2022 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Mon Jul 18 02:17:16 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=158102a1

x11-drivers/xf86-input-wacom: Version bump to 1.1.0

Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 x11-drivers/xf86-input-wacom/Manifest              |  1 +
 .../xf86-input-wacom/xf86-input-wacom-1.1.0.ebuild | 81 ++++++++++++++++++++++
 2 files changed, 82 insertions(+)

diff --git a/x11-drivers/xf86-input-wacom/Manifest 
b/x11-drivers/xf86-input-wacom/Manifest
index 284d06915322..d020d5071ed5 100644
--- a/x11-drivers/xf86-input-wacom/Manifest
+++ b/x11-drivers/xf86-input-wacom/Manifest
@@ -1,2 +1,3 @@
 DIST xf86-input-wacom-0.40.0.tar.bz2 629310 BLAKE2B 
63b930d3cd786d825250048fdf368fff4e607a39bfabee44e42a2c3ce9693c44ec8966871759d06b823f0568c4e3c2aee003633b863f5437eedc3125f19dd351
 SHA512 
ce0a24e2e9b4768e7eb65a5c663b3adce856356da7b83a1367dd7e031525805fc26d0b7c8b176a21fcd949c757940e18fec51d7253da157c0ac43ca446c4e536
 DIST xf86-input-wacom-1.0.0.tar.bz2 629019 BLAKE2B 
4270dd4988a40d1307d15fce7fa0b6748db754e779cff5473b7a8f8ca5d0bbb36fd6125186e3ddba073f5521ee5c8657523d57dfaa82937a9d50b06605bcb8d1
 SHA512 
61b48380d8874241bbf687a3916aa089af087e50be93034cfc701a3311513ff855705e3e4073590a1b55be9751ab744166ddf14aa2311fdf0ccc01122af8e315
+DIST xf86-input-wacom-1.1.0.tar.bz2 645948 BLAKE2B 
fccc81f49777b10527072bf4b30cb1a510e35d61f30fca96a68d05df55acc91f6c8dc44b2fad5d2b2f3f000646d85b2052841cbc8f933db51b668b1eb3e49dbe
 SHA512 
d4ca8d5ea5e328c6e6b4bdb3d0ca23dee0bdb960e79f4422483d456330f9c88ea7579da4fba192fd250b23d7db1b7f40ad8ef0127f334c580030858edcbb9f4d

diff --git a/x11-drivers/xf86-input-wacom/xf86-input-wacom-1.1.0.ebuild 
b/x11-drivers/xf86-input-wacom/xf86-input-wacom-1.1.0.ebuild
new file mode 100644
index 000000000000..5869c3f88865
--- /dev/null
+++ b/x11-drivers/xf86-input-wacom/xf86-input-wacom-1.1.0.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2022 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
+}

Reply via email to