From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B2B84138330 for ; Mon, 28 May 2018 00:02:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CE871E083D; Mon, 28 May 2018 00:02:44 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A6319E083D for ; Mon, 28 May 2018 00:02:44 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E2B0C335C63 for ; Mon, 28 May 2018 00:02:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8CF8427A for ; Mon, 28 May 2018 00:02:40 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1527465619.7ad9a1b9c986031828510c1c86b40666b3ad5adc.mattst88@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-drivers/xf86-input-wacom/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-drivers/xf86-input-wacom/xf86-input-wacom-0.36.0-r1.ebuild X-VCS-Directories: x11-drivers/xf86-input-wacom/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: 7ad9a1b9c986031828510c1c86b40666b3ad5adc X-VCS-Branch: master Date: Mon, 28 May 2018 00:02:40 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 9dfadc14-ba00-415c-846d-8b36aa93dbab X-Archives-Hash: 79c3b0114c8100e7810d8a19826dbf7e commit: 7ad9a1b9c986031828510c1c86b40666b3ad5adc Author: Matt Turner gentoo org> AuthorDate: Mon May 28 00:00:08 2018 +0000 Commit: Matt Turner gentoo org> CommitDate: Mon May 28 00:00:19 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ad9a1b9 x11-drivers/xf86-input-wacom: Depend on virtual/libudev:= Bug: https://bugs.gentoo.org/545906 .../xf86-input-wacom-0.36.0-r1.ebuild | 72 ++++++++++++++++++++++ 1 file changed, 72 insertions(+) diff --git a/x11-drivers/xf86-input-wacom/xf86-input-wacom-0.36.0-r1.ebuild b/x11-drivers/xf86-input-wacom/xf86-input-wacom-0.36.0-r1.ebuild new file mode 100644 index 00000000000..4bcff4b9fed --- /dev/null +++ b/x11-drivers/xf86-input-wacom/xf86-input-wacom-0.36.0-r1.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit linux-info xorg-2 + +DESCRIPTION="Driver for Wacom tablets and drawing devices" +HOMEPAGE="http://linuxwacom.sourceforge.net/" +LICENSE="GPL-2" +EGIT_REPO_URI="git://git.code.sf.net/p/linuxwacom/${PN}" +[[ ${PV} != 9999* ]] && \ + SRC_URI="mirror://sourceforge/linuxwacom/${PN}/${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=( + $(use_enable debug) + ) +} + +src_install() { + xorg-2_src_install + + rm -rf "${ED}"/usr/share/hal +} + +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 + +}