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 934801382C5 for ; Mon, 26 Feb 2018 22:46:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D503FE09A1; Mon, 26 Feb 2018 22:46:35 +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 9DA38E09A1 for ; Mon, 26 Feb 2018 22:46:35 +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 A2116335C06 for ; Mon, 26 Feb 2018 22:46:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0341E1E8 for ; Mon, 26 Feb 2018 22:46:33 +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: <1519685174.5e170dd844a9d4eb1726cf05ed41b70c61afd696.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-libs/libfakekey/files/, x11-libs/libfakekey/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-libs/libfakekey/files/libfakekey-0.1-ac.patch x11-libs/libfakekey/libfakekey-0.1-r3.ebuild X-VCS-Directories: x11-libs/libfakekey/files/ x11-libs/libfakekey/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 5e170dd844a9d4eb1726cf05ed41b70c61afd696 X-VCS-Branch: master Date: Mon, 26 Feb 2018 22:46:33 +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: c205c623-34af-4a8d-a6f2-c2d8dbe01944 X-Archives-Hash: 1d0870882f6cbeff55cbd130846b1574 commit: 5e170dd844a9d4eb1726cf05ed41b70c61afd696 Author: Andreas Sturmlechner gentoo org> AuthorDate: Mon Feb 26 22:41:08 2018 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Mon Feb 26 22:46:14 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e170dd8 x11-libs/libfakekey: EAPI 6, homepage, src_uri, drop eutils Package-Manager: Portage-2.3.24, Repoman-2.3.6 x11-libs/libfakekey/files/libfakekey-0.1-ac.patch | 4 +- x11-libs/libfakekey/libfakekey-0.1-r3.ebuild | 48 +++++++++++++++++++++++ 2 files changed, 50 insertions(+), 2 deletions(-) diff --git a/x11-libs/libfakekey/files/libfakekey-0.1-ac.patch b/x11-libs/libfakekey/files/libfakekey-0.1-ac.patch index 65c0b083aa7..7158ad220ef 100644 --- a/x11-libs/libfakekey/files/libfakekey-0.1-ac.patch +++ b/x11-libs/libfakekey/files/libfakekey-0.1-ac.patch @@ -1,5 +1,5 @@ ---- configure.ac.old 2011-05-22 14:59:45.801746472 +0100 -+++ configure.ac 2011-05-22 15:02:59.437159981 +0100 +--- a/configure.ac 2011-05-22 14:59:45.801746472 +0100 ++++ b/configure.ac 2011-05-22 15:02:59.437159981 +0100 @@ -14,16 +14,14 @@ AC_HEADER_STDC dnl ------ libtool versioning ----------------------------------------------- diff --git a/x11-libs/libfakekey/libfakekey-0.1-r3.ebuild b/x11-libs/libfakekey/libfakekey-0.1-r3.ebuild new file mode 100644 index 00000000000..ac34a6d782c --- /dev/null +++ b/x11-libs/libfakekey/libfakekey-0.1-r3.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools + +DESCRIPTION="Helper library for the x11-misc/matchbox-keyboard package" +HOMEPAGE="https://www.yoctoproject.org/tools-resources/projects/matchbox" +SRC_URI="http://downloads.yoctoproject.org/releases/matchbox/${PN}/${PV}/${P}.tar.bz2" +LICENSE="GPL-2" +SLOT="0" + +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" +IUSE="debug doc" + +RDEPEND="x11-libs/libXtst" + +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen )" + +PATCHES=( + # Allow configure to use libtool-2 + "${FILESDIR}/${P}-ac.patch" +) + +src_prepare() { + default + + # Fix underlinking bug #367595 + sed -i -e 's/^fakekey_test_LDADD=/fakekey_test_LDADD=-lX11 /' \ + tests/Makefile.am || die 'Cannot sed Makefile.am' + sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.ac || die + eautoreconf +} + +src_configure() { + # --with/without-x is ignored by configure script and X is used. + econf --with-x \ + $(use_enable debug) \ + $(use_enable doc doxygen-docs) +} + +src_install() { + emake DESTDIR="${D}" install + use doc && local HTML_DOCS=( doc/html/. ) + einstalldocs +}