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 8B187138335 for ; Sat, 19 Oct 2019 10:48:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 82819E0943; Sat, 19 Oct 2019 10:48:39 +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 5A277E0943 for ; Sat, 19 Oct 2019 10:48:39 +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 E1CC834C059 for ; Sat, 19 Oct 2019 10:48:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B06EE882 for ; Sat, 19 Oct 2019 10:48:35 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1571482084.955a0c1c306ca8c85a411e2df28e78f1e767ae0c.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/xvnkb/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-i18n/xvnkb/xvnkb-0.2.9a-r1.ebuild X-VCS-Directories: app-i18n/xvnkb/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: 955a0c1c306ca8c85a411e2df28e78f1e767ae0c X-VCS-Branch: master Date: Sat, 19 Oct 2019 10:48:35 +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: b5bab31f-302d-49cf-97ba-dfd9e5e640bd X-Archives-Hash: 150418225d3bb4a3440342e7b846974f commit: 955a0c1c306ca8c85a411e2df28e78f1e767ae0c Author: David Seifert gentoo org> AuthorDate: Sat Oct 19 10:48:04 2019 +0000 Commit: David Seifert gentoo org> CommitDate: Sat Oct 19 10:48:04 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=955a0c1c app-i18n/xvnkb: Port to EAPI 7 Bug: https://bugs.gentoo.org/697382 Package-Manager: Portage-2.3.77, Repoman-2.3.17 Signed-off-by: David Seifert gentoo.org> app-i18n/xvnkb/xvnkb-0.2.9a-r1.ebuild | 50 +++++++++++++++-------------------- 1 file changed, 22 insertions(+), 28 deletions(-) diff --git a/app-i18n/xvnkb/xvnkb-0.2.9a-r1.ebuild b/app-i18n/xvnkb/xvnkb-0.2.9a-r1.ebuild index 3011a713004..3f52d6d81c3 100644 --- a/app-i18n/xvnkb/xvnkb-0.2.9a-r1.ebuild +++ b/app-i18n/xvnkb/xvnkb-0.2.9a-r1.ebuild @@ -1,57 +1,50 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=0 +EAPI=7 -inherit eutils multilib toolchain-funcs - -IUSE="spell xft" +inherit toolchain-funcs DESCRIPTION="Vietnamese input keyboard for X" SRC_URI="http://xvnkb.sourceforge.net/${P}.tar.bz2" HOMEPAGE="http://xvnkb.sourceforge.net/" LICENSE="GPL-2" - SLOT="0" -KEYWORDS="amd64 ~ppc x86" -RDEPEND="x11-libs/libX11 - xft? ( x11-libs/libXft )" -DEPEND="${RDEPEND} - x11-base/xorg-proto" +KEYWORDS="amd64 ppc x86" +IUSE="spell xft" -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${P}-ldflags.patch -} +RDEPEND=" + x11-libs/libX11:= + xft? ( x11-libs/libXft:= )" +DEPEND=" + ${RDEPEND} + x11-base/xorg-proto" -src_compile() { - local myconf +PATCHES=( "${FILESDIR}"/${P}-ldflags.patch ) +src_configure() { tc-export CC - use spell || myconf="${myconf} --no-spellcheck" - use xft || myconf="${myconf} --no-xft" + local myconf=() + ! use spell && myconf+=( --no-spellcheck ) + ! use xft && myconf+=( --no-xft ) # *not* autotools ./configure \ - --use-extstroke ${myconf} \ + --use-extstroke "${myconf[@]}" \ || die "./configure failed" - - emake || die "emake failed" } src_install() { dobin xvnkb dobin tools/xvnkb_ctrl - dolib xvnkb.so.${PV} + dolib.so xvnkb.so.${PV} dosym xvnkb.so.${PV} /usr/$(get_libdir)/xvnkb.so - dodoc ChangeLog AUTHORS THANKS TODO README* doc/* - docinto scripts; dodoc scripts/* - docinto contrib; dodoc contrib/* + einstalldocs + dodoc -r doc/. scripts contrib } pkg_postinst() { @@ -60,7 +53,8 @@ pkg_postinst() { elog "(or any other UTF-8 locale) and" elog "$ export LD_PRELOAD=/usr/$(get_libdir)/xvnkb.so" elog "before starting X Window" - elog "More documents are in /usr/share/doc/${PF}" + elog "More documents are in ${EROOT}/usr/share/doc/${PF}" + ewarn "Programs with suid/sgid will have LD_PRELOAD cleared" ewarn "You have to unset suid/sgid to use with xvnkb" }