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 E659C138334 for ; Fri, 13 Jul 2018 11:16:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9E20DE08E0; Fri, 13 Jul 2018 11:16:50 +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 6DA7CE08E0 for ; Fri, 13 Jul 2018 11:16:50 +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 E36FE33BED4 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 E409036B 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.d0bf18ac90ee0cc0eccca63b96a0590a79a04a5d.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-9999.ebuild X-VCS-Directories: dev-libs/libevdev/ X-VCS-Committer: chainsaw X-VCS-Committer-Name: Tony Vroon X-VCS-Revision: d0bf18ac90ee0cc0eccca63b96a0590a79a04a5d 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: 1a00949b-3fcb-4c0b-9d0c-947d5f8ecd3f X-Archives-Hash: 4fef0477f3a364ad3cf6bbbf6e465461 commit: d0bf18ac90ee0cc0eccca63b96a0590a79a04a5d Author: Marty E. Plummer startmail com> AuthorDate: Sun Jul 8 00:30:43 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=d0bf18ac dev-libs/libevdev: add live ebuild Package-Manager: Portage-2.3.41, Repoman-2.3.9 dev-libs/libevdev/libevdev-9999.ebuild | 48 ++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/dev-libs/libevdev/libevdev-9999.ebuild b/dev-libs/libevdev/libevdev-9999.ebuild new file mode 100644 index 00000000000..d551ca6aecf --- /dev/null +++ b/dev-libs/libevdev/libevdev-9999.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 +}