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 720A9138334 for ; Fri, 13 Jul 2018 11:16:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5FCEFE0893; Fri, 13 Jul 2018 11:16:49 +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 312EBE0893 for ; Fri, 13 Jul 2018 11:16:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 9CB5633BEBE for ; Fri, 13 Jul 2018 11:16:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D038E365 for ; Fri, 13 Jul 2018 11:16:45 +0000 (UTC) From: "Tony Vroon" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Tony Vroon" Message-ID: <1531480598.d6f48757fd057fcde3b6b28a98f00b3879f2d1dc.chainsaw@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libevdev/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libevdev/libevdev-1.5.9-r1.ebuild X-VCS-Directories: dev-libs/libevdev/ X-VCS-Committer: chainsaw X-VCS-Committer-Name: Tony Vroon X-VCS-Revision: d6f48757fd057fcde3b6b28a98f00b3879f2d1dc X-VCS-Branch: master Date: Fri, 13 Jul 2018 11:16:45 +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: d0dee0df-dda7-4092-ad2e-76a3e7263b32 X-Archives-Hash: d442701018bf94099659a0a266e2e35e commit: d6f48757fd057fcde3b6b28a98f00b3879f2d1dc Author: Marty E. Plummer startmail com> AuthorDate: Sun Jul 8 00:24:27 2018 +0000 Commit: Tony Vroon gentoo org> CommitDate: Fri Jul 13 11:16:38 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6f48757 dev-libs/libevdev: port to EAPI 7 Package-Manager: Portage-2.3.41, Repoman-2.3.9 Closes: https://github.com/gentoo/gentoo/pull/9207 dev-libs/libevdev/libevdev-1.5.9-r1.ebuild | 48 ++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/dev-libs/libevdev/libevdev-1.5.9-r1.ebuild b/dev-libs/libevdev/libevdev-1.5.9-r1.ebuild new file mode 100644 index 00000000000..d551ca6aecf --- /dev/null +++ b/dev-libs/libevdev/libevdev-1.5.9-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) + +inherit multilib-minimal python-any-r1 + +DESCRIPTION="Handler library for evdev events" +HOMEPAGE="https://www.freedesktop.org/wiki/Software/libevdev/" + +if [[ ${PV} == 9999* ]] ; then + EGIT_REPO_URI="https://anongit.freedesktop.org/git/libevdev.git" + inherit autotools git-r3 +else + SRC_URI="https://www.freedesktop.org/software/libevdev/${P}.tar.xz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="doc static-libs" + +BDEPEND=" + ${PYTHON_DEPS} + doc? ( app-doc/doxygen ) + virtual/pkgconfig +" +RESTRICT="test" # Tests need to run as root. + +src_prepare() { + default + [[ ${PV} == 9999* ]] && eautoreconf +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf $(use_enable static-libs static) +} + +multilib_src_install() { + default + find "${D}" -name '*.la' -delete || die + if use doc ;then + local HTML_DOCS=( doc/html/. ) + einstalldocs + fi +}