diff options
Diffstat (limited to 'x11-drivers/xf86-input-wacom')
-rw-r--r-- | x11-drivers/xf86-input-wacom/Manifest | 4 | ||||
-rw-r--r-- | x11-drivers/xf86-input-wacom/metadata.xml | 3 | ||||
-rw-r--r-- | x11-drivers/xf86-input-wacom/xf86-input-wacom-0.38.0.ebuild | 67 |
3 files changed, 71 insertions, 3 deletions
diff --git a/x11-drivers/xf86-input-wacom/Manifest b/x11-drivers/xf86-input-wacom/Manifest index ab1c8210dcc8..8c645663b286 100644 --- a/x11-drivers/xf86-input-wacom/Manifest +++ b/x11-drivers/xf86-input-wacom/Manifest @@ -1,3 +1,5 @@ DIST xf86-input-wacom-0.36.0.tar.bz2 611678 BLAKE2B b3fc8310514e6e07c3c25fceeb982d66e9e10730028af769cd331578a48720666a0872b625beb15c7f68bbb291293dfe4c4e305411310c67bb2bd148e7d570d8 SHA512 48e4cf945eb0f5c7c65d46153756372bbfd6d1f101cd90f609c71cc21b36fa671d98c7be0b52d519775c7e7b875ec441d4308cf70d7897198600553e7a93ccc5 +DIST xf86-input-wacom-0.38.0.tar.bz2 621356 BLAKE2B b5bf1bca3b49035981e77348ef9a6a0382c204bce473af51e17ba5c9297da7d9cc9bc621f42a2babf62106c2bbfd149fbac3feb4057234da77d8ba16ab446d8d SHA512 853d0d91c5a18a96ccf9e30abdabc69c1bc9fc3c067746762eb789240272d1d7faaaa4524e60fd299f44d9f6603adb2de69caf697cde3f841debab8232d983b5 EBUILD xf86-input-wacom-0.36.0-r2.ebuild 1859 BLAKE2B d6be9dc610c8f404fcca26cfb16c4c8e934d2150184f9d387dd1bcd013d5738bc13e46e56e86d053ace3d2d17b825ae23e96eb5f561be5bb2c11eeac92135569 SHA512 48c99a0900a4f7a815eaf90775929b639ad69fbade7672b9122c62bcff295e4441eeb28e5ab219d86329f325979975c166a6fc2e5a59b9bbe4f39873e067e733 -MISC metadata.xml 436 BLAKE2B 255853d810de0bc1d6fdefd359d613163d1277f2eb423e81fe29c3a699f4cee22731b52286d68c64aa3a1b579b3f723a5b86a8d45d18962d234f4f0cb316c7f5 SHA512 2aa103f44b3d36ff6466ac1fb010b25c649f1cc19d2db1d5c9b1ad54d954184eb7c55496feb58174bd466a9296f6c3eb269819b9036486a071a8100b1a3a6cb2 +EBUILD xf86-input-wacom-0.38.0.ebuild 1815 BLAKE2B 6f96a6786feb77b1050cb315e17a91ec3a35950b73438228d541fbfdcb1fbf292d07cc5f8ffd7db69c25c2b46f49345a5ad79bc427409dca22fc5506bbf46b57 SHA512 3da425f8e3464929292fac52c4d75b8b7d6d84d4ad4e0c1df2143fc6900b091de9a71e680700c25a7c4b42acdcb6bb06502852da588f2a66a27fd35df749c175 +MISC metadata.xml 336 BLAKE2B 695ad5dc8eb6e6aa5d1dd2d6c462e077ca1aede7a309de0a9b13744299e4894514f6f83d42e39457751fd42dd7408a496d6ba6533387ebc130cab3ee21ce7405 SHA512 780490741b739aff3ba3d1a4fe1861c3b198196dd3a1ce471d5637d2c2b2a19b2aadda8103defd41a010b70bb5dad1fc00a78552c1b0ea8fab280423259fb360 diff --git a/x11-drivers/xf86-input-wacom/metadata.xml b/x11-drivers/xf86-input-wacom/metadata.xml index e563270e5120..ac3347f94146 100644 --- a/x11-drivers/xf86-input-wacom/metadata.xml +++ b/x11-drivers/xf86-input-wacom/metadata.xml @@ -5,8 +5,7 @@ <email>x11@gentoo.org</email> <name>X11</name> </maintainer> - <longdescription>Driver for Wacom tablets and drawing devices (friendly fork of linuxwacom)</longdescription> <upstream> - <remote-id type="sourceforge">linuxwacom</remote-id> + <remote-id type="github">linuxwacom/xf86-input-wacom</remote-id> </upstream> </pkgmetadata> diff --git a/x11-drivers/xf86-input-wacom/xf86-input-wacom-0.38.0.ebuild b/x11-drivers/xf86-input-wacom/xf86-input-wacom-0.38.0.ebuild new file mode 100644 index 000000000000..7b393d7cfa94 --- /dev/null +++ b/x11-drivers/xf86-input-wacom/xf86-input-wacom-0.38.0.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit linux-info systemd udev xorg-3 + +DESCRIPTION="Driver for Wacom tablets and drawing devices" +HOMEPAGE="https://linuxwacom.github.io/" +LICENSE="GPL-2" +EGIT_REPO_URI="https://github.com/linuxwacom/xf86-input-wacom" +[[ ${PV} != 9999* ]] && \ + SRC_URI="https://github.com/linuxwacom/${PN}/releases/download/${P}/${P}.tar.bz2" + +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="debug" + +RDEPEND="dev-libs/libwacom + virtual/libudev:= + >=x11-base/xorg-server-1.7 + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXi + x11-libs/libXrandr + x11-libs/libXinerama" +DEPEND="${RDEPEND} + x11-base/xorg-proto" + +pkg_setup() { + linux-info_pkg_setup + + XORG_CONFIGURE_OPTIONS=( + --with-systemd-unit-dir="$(systemd_get_systemunitdir)" + --with-udev-rules-dir="$(get_udevdir)/rules.d" + $(use_enable debug) + ) +} + +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 +} |