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 E5A6A1382C5 for ; Sun, 18 Apr 2021 22:22:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1292EE0809; Sun, 18 Apr 2021 22:22:56 +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 EF6ADE0809 for ; Sun, 18 Apr 2021 22:22:55 +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 B5FB8340E1F for ; Sun, 18 Apr 2021 22:22:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1A6B8648 for ; Sun, 18 Apr 2021 22:22:52 +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: <1618784553.dcf768987550f7c9a7a3774abf1acea19a846d46.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-dicts/verbiste/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-dicts/verbiste/verbiste-0.1.44.ebuild X-VCS-Directories: app-dicts/verbiste/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: dcf768987550f7c9a7a3774abf1acea19a846d46 X-VCS-Branch: master Date: Sun, 18 Apr 2021 22:22:52 +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: af9e314f-9bd7-42e3-8351-ef33f74ef2e5 X-Archives-Hash: b210ad3cb86c2247329843ecafd53559 commit: dcf768987550f7c9a7a3774abf1acea19a846d46 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Apr 18 21:45:57 2021 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Apr 18 22:22:33 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcf76898 app-dicts/verbiste: EAPI-7, use desktop.eclass, drop ltprune, gnome2-utils Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner gentoo.org> app-dicts/verbiste/verbiste-0.1.44.ebuild | 27 +++++++++++---------------- 1 file changed, 11 insertions(+), 16 deletions(-) diff --git a/app-dicts/verbiste/verbiste-0.1.44.ebuild b/app-dicts/verbiste/verbiste-0.1.44.ebuild index 97076d8d151..216d19d2a72 100644 --- a/app-dicts/verbiste/verbiste-0.1.44.ebuild +++ b/app-dicts/verbiste/verbiste-0.1.44.ebuild @@ -1,25 +1,25 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="5" +EAPI=7 -inherit eutils gnome2-utils ltprune xdg-utils +inherit desktop xdg-utils DESCRIPTION="French conjugation system" HOMEPAGE="http://sarrazip.com/dev/verbiste.html" SRC_URI="http://sarrazip.com/dev/${P}.tar.gz" -SLOT="0" LICENSE="GPL-2" +SLOT="0" KEYWORDS="amd64 ppc x86" - IUSE="gtk" RDEPEND=" >=dev-libs/libxml2-2.4.0:2 gtk? ( >=x11-libs/gtk+-2.6:2 ) " -DEPEND="${RDEPEND} +DEPEND="${RDEPEND}" +BDEPEND=" sys-devel/gettext virtual/pkgconfig " @@ -34,33 +34,28 @@ src_configure() { src_install() { default - prune_libtool_files + dodoc HACKING LISEZMOI # file is only installed with USE=gnome if use gtk; then sed -e 's/Exec=.*/Exec=verbiste-gtk/' \ -i src/gnome/verbiste.desktop || die - insinto usr/share/applications - doins src/gnome/verbiste.desktop + domenu src/gnome/verbiste.desktop fi -} -pkg_preinst() { - if use gtk; then - gnome2_icon_savelist - fi + find "${ED}" -name '*.la' -delete || die } pkg_postinst() { if use gtk; then xdg_desktop_database_update - gnome2_icon_cache_update + xdg_icon_cache_update fi } pkg_postrm() { if use gtk; then xdg_desktop_database_update - gnome2_icon_cache_update + xdg_icon_cache_update fi }