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 5442C1382C5 for ; Thu, 25 Feb 2021 15:07:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A3F5EE0938; Thu, 25 Feb 2021 15:07:25 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 8D4BDE0938 for ; Thu, 25 Feb 2021 15:07:25 +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 ADCDE340F3D for ; Thu, 25 Feb 2021 15:07:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1C032B9 for ; Thu, 25 Feb 2021 15:07:23 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1614265610.cff308d862a376ce9671288b88ef4c6b1c2eaeeb.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-libs/tslib/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-libs/tslib/Manifest x11-libs/tslib/tslib-1.22.ebuild X-VCS-Directories: x11-libs/tslib/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: cff308d862a376ce9671288b88ef4c6b1c2eaeeb X-VCS-Branch: master Date: Thu, 25 Feb 2021 15:07:23 +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: ab73dd75-d10b-4d85-8fe6-25c61fbabe79 X-Archives-Hash: 399196b8b487687af4637828b1eaf3c7 commit: cff308d862a376ce9671288b88ef4c6b1c2eaeeb Author: Andreas Sturmlechner gentoo org> AuthorDate: Thu Feb 25 11:28:04 2021 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Thu Feb 25 15:06:50 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cff308d8 x11-libs/tslib: 1.22 version bump, switch to cmake.eclass Released on 2020-07-01. Bug: https://bugs.gentoo.org/618654 Closes: https://bugs.gentoo.org/770559 Package-Manager: Portage-3.0.15, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner gentoo.org> x11-libs/tslib/Manifest | 1 + x11-libs/tslib/tslib-1.22.ebuild | 61 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) diff --git a/x11-libs/tslib/Manifest b/x11-libs/tslib/Manifest index 44416661c4e..02b0727cf96 100644 --- a/x11-libs/tslib/Manifest +++ b/x11-libs/tslib/Manifest @@ -1 +1,2 @@ DIST tslib-1.21.tar.xz 349216 BLAKE2B e19623c9390688b0aa85e6547a57542d2e10498c8ebbb30f840157d240dc9975c3e6735814a5e6f02fb71c273a52f860695cf4772fef28522e74c5781cdcb02a SHA512 66c5e5dc4e2314277e19af29b5dce1181573579f13b0e79fa43e658838d4c19a77feb978b60d7c6458337e8d6100ee54a42fc4af3a99fd8d6840cccafa6323c4 +DIST tslib-1.22.tar.xz 351192 BLAKE2B 8cec9fe17b9aee7dac44bf54a78482b81a67072a7c1497b4c5a2a6703bb0e897a2481bc06df0fd91ca97fef3b4ebf17c475c3b717ce7f32fb677db5918630759 SHA512 8f51fc5e37bb1babb89e8d6d5302c7d7b712820525bed0253f980028a78b343e4100065bbe0ecafb828a7edf3a9b77f96929ab79205d516ebbf6c25b32af0008 diff --git a/x11-libs/tslib/tslib-1.22.ebuild b/x11-libs/tslib/tslib-1.22.ebuild new file mode 100644 index 00000000000..1fadd84c49a --- /dev/null +++ b/x11-libs/tslib/tslib-1.22.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +CMAKE_ECLASS=cmake +inherit cmake-multilib + +DESCRIPTION="Touchscreen Access Library" +HOMEPAGE="https://github.com/kergoth/tslib" +SRC_URI="https://github.com/libts/tslib/releases/download/${PV}/${P}.tar.xz" + +LICENSE="LGPL-2 uinput? ( GPL-2+ )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="evdev sdl uinput" + +BDEPEND=" + evdev? ( virtual/pkgconfig ) +" +DEPEND=" + evdev? ( dev-libs/libevdev[${MULTILIB_USEDEP}] ) + sdl? ( media-libs/libsdl2[${MULTILIB_USEDEP}] ) +" +RDEPEND="${DEPEND}" + +DOCS=( AUTHORS NEWS README{,.md} ) + +PATCHES=( "${FILESDIR}/${PN}-1.21-optional-utils.patch" ) + +src_configure() { + my_configure() { + local mycmakeargs=( + -Denable-input-evdev=$(usex evdev) + -DENABLE_TOOLS=$(usex uinput $(multilib_is_native_abi && echo ON || echo OFF) OFF) + -DENABLE_UTILS=$(multilib_is_native_abi && echo ON || echo OFF) + -Denable-arctic2=ON + -Denable-collie=ON + -Denable-corgi=ON + -Denable-cy8mrln-palmpre=ON + -Denable-dejitter=ON + -Denable-dmc=ON + -Denable-dmc_dus3000=ON + -Denable-galax=ON + -Denable-h3600=ON + -Denable-input=ON + -Denable-linear-h2200=ON + -Denable-linear=ON + -Denable-mk712=ON + -Denable-one-wire-ts-input=ON + -Denable-pthres=ON + -Denable-tatung=ON + -Denable-ucb1x00=ON + -Denable-variance=ON + ) + multilib_is_native_abi && mycmakeargs+=( -Dwith-sdl=$(usex sdl) ) + + cmake_src_configure + } + multilib_parallel_foreach_abi my_configure +}