1 |
commit: 96d5ed7743f1bdfa521e7dbb7e838ccff49eb8e0 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 16 17:37:51 2021 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 16 17:37:51 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96d5ed77 |
7 |
|
8 |
x11-misc/parcellite: update EAPI 5 -> 8 |
9 |
|
10 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
11 |
|
12 |
.../files/parcellite-1.2.1-desktop-QA.patch | 9 ++++++ |
13 |
x11-misc/parcellite/parcellite-1.2.1.ebuild | 32 ++++++++-------------- |
14 |
2 files changed, 20 insertions(+), 21 deletions(-) |
15 |
|
16 |
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 |
17 |
new file mode 100644 |
18 |
index 00000000000..1590a76505b |
19 |
--- /dev/null |
20 |
+++ b/x11-misc/parcellite/files/parcellite-1.2.1-desktop-QA.patch |
21 |
@@ -0,0 +1,9 @@ |
22 |
+--- a/data/parcellite.desktop.in |
23 |
++++ b/data/parcellite.desktop.in |
24 |
+@@ -6,5 +6,5 @@ |
25 |
+ Exec=parcellite |
26 |
+ Terminal=false |
27 |
+ Type=Application |
28 |
+-Categories=GTK;GNOME;Application;Utility; |
29 |
++Categories=GTK;GNOME;Utility; |
30 |
+ OnlyShowIn=GNOME;KDE;LXDE;MATE;Razor;ROX;TDE;Unity;XFCE;Old; |
31 |
|
32 |
diff --git a/x11-misc/parcellite/parcellite-1.2.1.ebuild b/x11-misc/parcellite/parcellite-1.2.1.ebuild |
33 |
index b89ab441c54..d9bab58ad41 100644 |
34 |
--- a/x11-misc/parcellite/parcellite-1.2.1.ebuild |
35 |
+++ b/x11-misc/parcellite/parcellite-1.2.1.ebuild |
36 |
@@ -1,51 +1,41 @@ |
37 |
-# Copyright 1999-2018 Gentoo Foundation |
38 |
+# Copyright 1999-2021 Gentoo Authors |
39 |
# Distributed under the terms of the GNU General Public License v2 |
40 |
|
41 |
-EAPI=5 |
42 |
+EAPI=8 |
43 |
|
44 |
-inherit autotools eutils xdg-utils |
45 |
+inherit autotools xdg |
46 |
|
47 |
MY_P=${PN}-${PV/_} |
48 |
|
49 |
DESCRIPTION="A lightweight GTK+ based clipboard manager" |
50 |
HOMEPAGE="http://parcellite.sourceforge.net/" |
51 |
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" |
52 |
+S="${WORKDIR}/${MY_P}" |
53 |
|
54 |
LICENSE="GPL-3" |
55 |
SLOT="0" |
56 |
KEYWORDS="amd64 ~ppc x86" |
57 |
IUSE="nls" |
58 |
|
59 |
-RDEPEND=">=dev-libs/glib-2.14 |
60 |
- >=x11-libs/gtk+-2.10:2 |
61 |
+RDEPEND=" |
62 |
+ dev-libs/glib:2 |
63 |
+ x11-libs/gtk+:2 |
64 |
x11-misc/xdotool" |
65 |
-DEPEND="${RDEPEND} |
66 |
+DEPEND="${RDEPEND}" |
67 |
+BDEPEND=" |
68 |
virtual/pkgconfig |
69 |
nls? ( |
70 |
dev-util/intltool |
71 |
sys-devel/gettext |
72 |
)" |
73 |
|
74 |
-S=${WORKDIR}/${MY_P} |
75 |
+PATCHES=( "${FILESDIR}"/${P}-desktop-QA.patch ) |
76 |
|
77 |
src_prepare() { |
78 |
- sed -i data/${PN}.desktop.in -e 's:Application;::g' || die |
79 |
- |
80 |
- sed -i -e '/^ALL_LINGUAS=/d' configure.ac || die |
81 |
- strip-linguas -i po/ |
82 |
- export ALL_LINGUAS="${LINGUAS}" |
83 |
- |
84 |
+ default |
85 |
eautoreconf |
86 |
} |
87 |
|
88 |
src_configure() { |
89 |
econf $(use_enable nls) |
90 |
} |
91 |
- |
92 |
-pkg_postinst() { |
93 |
- xdg_desktop_database_update |
94 |
-} |
95 |
- |
96 |
-pkg_postrm() { |
97 |
- xdg_desktop_database_update |
98 |
-} |