1 |
commit: 5301f5bdc4600a122437c373e22b1758c5f4667e |
2 |
Author: Denis Dupeyron <calchan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Nov 27 19:37:28 2017 +0000 |
4 |
Commit: Denis Dupeyron <calchan <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 27 19:37:28 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5301f5bd |
7 |
|
8 |
app-editors/mousepad: remove obsolete xfconf.eclass, migrate to EAPI6 |
9 |
|
10 |
Package-Manager: Portage-2.3.13, Repoman-2.3.3 |
11 |
|
12 |
app-editors/mousepad/mousepad-0.4.0-r1.ebuild | 49 +++++++++++++++++++++++++++ |
13 |
1 file changed, 49 insertions(+) |
14 |
|
15 |
diff --git a/app-editors/mousepad/mousepad-0.4.0-r1.ebuild b/app-editors/mousepad/mousepad-0.4.0-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 00000000000..1905563284f |
18 |
--- /dev/null |
19 |
+++ b/app-editors/mousepad/mousepad-0.4.0-r1.ebuild |
20 |
@@ -0,0 +1,49 @@ |
21 |
+# Copyright 1999-2017 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+ |
24 |
+EAPI=6 |
25 |
+inherit gnome2-utils xdg-utils |
26 |
+ |
27 |
+DESCRIPTION="GTK+-based editor for the Xfce Desktop Environment" |
28 |
+HOMEPAGE="https://goodies.xfce.org/projects/applications/start" |
29 |
+SRC_URI="mirror://xfce/src/apps/${PN}/${PV%.*}/${P}.tar.bz2" |
30 |
+ |
31 |
+LICENSE="GPL-2" |
32 |
+SLOT="0" |
33 |
+KEYWORDS="~amd64 ~x86" |
34 |
+IUSE="dbus gtk3" |
35 |
+ |
36 |
+RDEPEND=">=dev-libs/glib-2.30:2= |
37 |
+ dbus? ( >=dev-libs/dbus-glib-0.100:0= ) |
38 |
+ !gtk3? ( >=x11-libs/gtk+-2.24:2= |
39 |
+ x11-libs/gtksourceview:2.0= ) |
40 |
+ gtk3? ( x11-libs/gtk+:3= |
41 |
+ x11-libs/gtksourceview:3.0= )" |
42 |
+DEPEND="${RDEPEND} |
43 |
+ dev-lang/perl |
44 |
+ dev-util/intltool |
45 |
+ sys-devel/gettext |
46 |
+ virtual/pkgconfig" |
47 |
+ |
48 |
+DOCS=( AUTHORS ChangeLog NEWS README TODO ) |
49 |
+ |
50 |
+src_configure() { |
51 |
+ local myconf=( |
52 |
+ $(use_enable dbus) |
53 |
+ $(use_enable gtk3) |
54 |
+ ) |
55 |
+ |
56 |
+ econf "${myconf[@]}" |
57 |
+} |
58 |
+ |
59 |
+pkg_postinst() { |
60 |
+ gnome2_icon_cache_update |
61 |
+ gnome2_schemas_update |
62 |
+ xdg_desktop_database_update |
63 |
+} |
64 |
+ |
65 |
+pkg_postrm() { |
66 |
+ gnome2_icon_cache_update |
67 |
+ gnome2_schemas_update |
68 |
+ xdg_desktop_database_update |
69 |
+} |