mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
x11-misc/parcellite: update EAPI 5 -> 8
Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
@@ -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;
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user