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 BCADD1382C5 for ; Sat, 30 May 2020 08:37:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DCB2DE07AE; Sat, 30 May 2020 08:37:58 +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 C5007E07AE for ; Sat, 30 May 2020 08:37:58 +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 D02A734F059 for ; Sat, 30 May 2020 08:37:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7AB3B238 for ; Sat, 30 May 2020 08:37:56 +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: <1590827865.fec1848c871caea335f7651f5898ce476b81ca90.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-libs/libfakekey/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-libs/libfakekey/libfakekey-0.3-r1.ebuild X-VCS-Directories: x11-libs/libfakekey/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: fec1848c871caea335f7651f5898ce476b81ca90 X-VCS-Branch: master Date: Sat, 30 May 2020 08:37:56 +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: f496d941-d928-4aad-ad01-234858fb6f1c X-Archives-Hash: 65e64d1f9176dd24bd8a02f03c1b3915 commit: fec1848c871caea335f7651f5898ce476b81ca90 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sat May 30 08:36:17 2020 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sat May 30 08:37:45 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fec1848c x11-libs/libfakekey: --disable-static Closes: https://bugs.gentoo.org/726146 Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Andreas Sturmlechner gentoo.org> x11-libs/libfakekey/libfakekey-0.3-r1.ebuild | 48 ++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/x11-libs/libfakekey/libfakekey-0.3-r1.ebuild b/x11-libs/libfakekey/libfakekey-0.3-r1.ebuild new file mode 100644 index 00000000000..ba84cd53b00 --- /dev/null +++ b/x11-libs/libfakekey/libfakekey-0.3-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +DESCRIPTION="Helper library for the x11-misc/matchbox-keyboard package" +HOMEPAGE="https://www.yoctoproject.org/tools-resources/projects/matchbox" +SRC_URI="https://git.yoctoproject.org/cgit/cgit.cgi/${PN}/snapshot/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ppc ~ppc64 x86" +IUSE="debug doc" + +BDEPEND="doc? ( app-doc/doxygen )" +DEPEND="x11-libs/libXtst" +RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}/${P}-ac.patch" ) # Allow configure to use libtool-2 + +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() { + local myeconfargs=( + # --with/without-x is ignored by configure script and X is used. + --with-x + --disable-static + $(use_enable debug) + $(use_enable doc doxygen-docs) + ) + econf "${myeconfargs[@]}" +} + +src_install() { + use doc && local HTML_DOCS=( doc/html/. ) + default + find "${D}" -name '*.la' -type f -delete || die +}