commit: 96d5ed7743f1bdfa521e7dbb7e838ccff49eb8e0 Author: David Seifert <soap <AT> gentoo <DOT> org> AuthorDate: Sat Oct 16 17:37:51 2021 +0000 Commit: David Seifert <soap <AT> gentoo <DOT> org> CommitDate: Sat Oct 16 17:37:51 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96d5ed77
x11-misc/parcellite: update EAPI 5 -> 8 Signed-off-by: David Seifert <soap <AT> gentoo.org> .../files/parcellite-1.2.1-desktop-QA.patch | 9 ++++++ x11-misc/parcellite/parcellite-1.2.1.ebuild | 32 ++++++++-------------- 2 files changed, 20 insertions(+), 21 deletions(-) diff --git a/x11-misc/parcellite/files/parcellite-1.2.1-desktop-QA.patch b/x11-misc/parcellite/files/parcellite-1.2.1-desktop-QA.patch new file mode 100644 index 00000000000..1590a76505b --- /dev/null +++ b/x11-misc/parcellite/files/parcellite-1.2.1-desktop-QA.patch @@ -0,0 +1,9 @@ +--- a/data/parcellite.desktop.in ++++ b/data/parcellite.desktop.in +@@ -6,5 +6,5 @@ + Exec=parcellite + Terminal=false + Type=Application +-Categories=GTK;GNOME;Application;Utility; ++Categories=GTK;GNOME;Utility; + OnlyShowIn=GNOME;KDE;LXDE;MATE;Razor;ROX;TDE;Unity;XFCE;Old; diff --git a/x11-misc/parcellite/parcellite-1.2.1.ebuild b/x11-misc/parcellite/parcellite-1.2.1.ebuild index b89ab441c54..d9bab58ad41 100644 --- a/x11-misc/parcellite/parcellite-1.2.1.ebuild +++ b/x11-misc/parcellite/parcellite-1.2.1.ebuild @@ -1,51 +1,41 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=8 -inherit autotools eutils xdg-utils +inherit autotools xdg MY_P=${PN}-${PV/_} DESCRIPTION="A lightweight GTK+ based clipboard manager" HOMEPAGE="http://parcellite.sourceforge.net/" SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" LICENSE="GPL-3" SLOT="0" KEYWORDS="amd64 ~ppc x86" IUSE="nls" -RDEPEND=">=dev-libs/glib-2.14 - >=x11-libs/gtk+-2.10:2 +RDEPEND=" + dev-libs/glib:2 + x11-libs/gtk+:2 x11-misc/xdotool" -DEPEND="${RDEPEND} +DEPEND="${RDEPEND}" +BDEPEND=" virtual/pkgconfig nls? ( dev-util/intltool sys-devel/gettext )" -S=${WORKDIR}/${MY_P} +PATCHES=( "${FILESDIR}"/${P}-desktop-QA.patch ) src_prepare() { - sed -i data/${PN}.desktop.in -e 's:Application;::g' || die - - sed -i -e '/^ALL_LINGUAS=/d' configure.ac || die - strip-linguas -i po/ - export ALL_LINGUAS="${LINGUAS}" - + default eautoreconf } src_configure() { econf $(use_enable nls) } - -pkg_postinst() { - xdg_desktop_database_update -} - -pkg_postrm() { - xdg_desktop_database_update -}