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 1B05213835A for ; Thu, 31 Dec 2020 03:28:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 45352E0898; Thu, 31 Dec 2020 03:28:07 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 2D835E0898 for ; Thu, 31 Dec 2020 03:28:07 +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 D8847340DC1 for ; Thu, 31 Dec 2020 03:28:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 79D47332 for ; Thu, 31 Dec 2020 03:28:04 +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: <1609385266.6d459581fa39969d8245292768ea5bbdfd6aca1e.mattst88@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libwacom/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libwacom/Manifest dev-libs/libwacom/libwacom-1.7.ebuild X-VCS-Directories: dev-libs/libwacom/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: 6d459581fa39969d8245292768ea5bbdfd6aca1e X-VCS-Branch: master Date: Thu, 31 Dec 2020 03:28:04 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c1f26f12-c477-4009-ae1c-676d781c033a X-Archives-Hash: 95a811b41759b325c617c7aaf91fb8f8 commit: 6d459581fa39969d8245292768ea5bbdfd6aca1e Author: Matt Turner gentoo org> AuthorDate: Thu Dec 31 02:56:40 2020 +0000 Commit: Matt Turner gentoo org> CommitDate: Thu Dec 31 03:27:46 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d459581 dev-libs/libwacom: Version bump to 1.7 Closes: https://bugs.gentoo.org/756076 Signed-off-by: Matt Turner gentoo.org> dev-libs/libwacom/Manifest | 1 + dev-libs/libwacom/libwacom-1.7.ebuild | 60 +++++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) diff --git a/dev-libs/libwacom/Manifest b/dev-libs/libwacom/Manifest index a1069f2bb74..d7887891f93 100644 --- a/dev-libs/libwacom/Manifest +++ b/dev-libs/libwacom/Manifest @@ -1 +1,2 @@ DIST libwacom-1.1.tar.bz2 502696 BLAKE2B 1c2e03b00eb3b17dea2d5cd3e61afa4b7f36dcb727f07bb1cc42631febc9d1939bdd2652d6fd1f0d020815cac1f937c1daddae3019ac9aa01659442cdc8b9054 SHA512 8b63d9bad18c27f8078711408a7b79c70086cd0c64fe692ee693d53d834dff8ab45631eabd206f0dfac80d8cc86c14b5833831b1b99b06e34aacd235176d266b +DIST libwacom-1.7.tar.bz2 513320 BLAKE2B 36cead331b8d79fa629803441190de2c28e22c0e70822075d0ff31552f780e93d606ec2229a2fee744d9e6b91eb4879cb5a202075caf6adf1301b07502cefb7b SHA512 0cdd34c54a4477ffb763c4a291f0a6b33d2df6b1d237332b116e792685201a63a50c3ec98b84e9dc7c0b97c9e407c3531cd67c0af5a8398b5bbf8be6ca103066 diff --git a/dev-libs/libwacom/libwacom-1.7.ebuild b/dev-libs/libwacom/libwacom-1.7.ebuild new file mode 100644 index 00000000000..0c54c6c491e --- /dev/null +++ b/dev-libs/libwacom/libwacom-1.7.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) + +inherit meson python-any-r1 toolchain-funcs 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" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="doc test" +RESTRICT="!test? ( test )" + +BDEPEND=" + virtual/pkgconfig + doc? ( app-doc/doxygen ) + test? ( + ${PYTHON_DEPS} + $(python_gen_any_dep ' + dev-python/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}]" +} + +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_configure() { + local emesonargs=( + $(meson_feature doc documentation) + $(meson_feature test tests) + -Dudev-dir=$(get_udevdir) + + ) + meson_src_configure +}