1 |
commit: 2bf8c71b6b0de9617e55526a2dddd9b4ed7fb76f |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jul 1 07:30:13 2017 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 9 21:41:17 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2bf8c71b |
7 |
|
8 |
app-office/orage: Bump to EAPI=6 |
9 |
|
10 |
app-office/orage/orage-4.12.1-r1.ebuild | 67 +++++++++++++++++++++++++++++++++ |
11 |
1 file changed, 67 insertions(+) |
12 |
|
13 |
diff --git a/app-office/orage/orage-4.12.1-r1.ebuild b/app-office/orage/orage-4.12.1-r1.ebuild |
14 |
new file mode 100644 |
15 |
index 00000000000..85e10a53d98 |
16 |
--- /dev/null |
17 |
+++ b/app-office/orage/orage-4.12.1-r1.ebuild |
18 |
@@ -0,0 +1,67 @@ |
19 |
+# Copyright 1999-2017 Gentoo Foundation |
20 |
+# Distributed under the terms of the GNU General Public License v2 |
21 |
+ |
22 |
+EAPI=6 |
23 |
+ |
24 |
+inherit gnome2-utils |
25 |
+ |
26 |
+DESCRIPTION="A time managing application (and panel plug-in) for the Xfce desktop environment" |
27 |
+HOMEPAGE="https://git.xfce.org/apps/orage/" |
28 |
+SRC_URI="mirror://xfce/src/apps/${PN}/${PV%.*}/${P}.tar.bz2" |
29 |
+ |
30 |
+LICENSE="GPL-2" |
31 |
+SLOT="0" |
32 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris" |
33 |
+IUSE="berkdb dbus libnotify +xfce_plugins_clock" |
34 |
+ |
35 |
+RDEPEND=">=dev-libs/libical-0.48:= |
36 |
+ dev-libs/popt:= |
37 |
+ >=x11-libs/gtk+-2.10:2= |
38 |
+ berkdb? ( >=sys-libs/db-4:= ) |
39 |
+ dbus? ( >=dev-libs/dbus-glib-0.100:= ) |
40 |
+ libnotify? ( >=x11-libs/libnotify-0.7:= ) |
41 |
+ xfce_plugins_clock? ( >=xfce-base/xfce4-panel-4.10:= )" |
42 |
+DEPEND="${RDEPEND} |
43 |
+ dev-util/intltool |
44 |
+ sys-devel/gettext |
45 |
+ >=sys-devel/libtool-2.2.6 |
46 |
+ virtual/pkgconfig" |
47 |
+ |
48 |
+pkg_setup() { |
49 |
+ # PM doesn't let directory to be replaced by a symlink, see src_install() |
50 |
+ rm -rf "${EROOT}"/usr/share/${PN}/doc || die |
51 |
+} |
52 |
+ |
53 |
+src_configure() { |
54 |
+ local myconf=( |
55 |
+ --libexecdir="${EPREFIX}/usr/$(get_libdir)" |
56 |
+ --docdir="${EPREFIX}"/usr/share/doc/${PF}/html |
57 |
+ $(use_enable xfce_plugins_clock libxfce4panel) |
58 |
+ $(use_enable dbus) |
59 |
+ $(use_enable libnotify) |
60 |
+ $(use_with berkdb bdb4) |
61 |
+ ) |
62 |
+ |
63 |
+ econf "${myconf[@]}" |
64 |
+} |
65 |
+ |
66 |
+src_install() { |
67 |
+ emake DESTDIR="${D}" install \ |
68 |
+ docdir="${EPREFIX}"/usr/share/doc/${PF}/html \ |
69 |
+ imagesdir="${EPREFIX}"/usr/share/doc/${PF}/html/images |
70 |
+ |
71 |
+ # Create compability symlink for retarded path hardcoding in src/{mainbox,parameters}.c |
72 |
+ dosym /usr/share/doc/${PF}/html /usr/share/${PN}/doc/C |
73 |
+ |
74 |
+ find "${D}" -name '*.la' -delete || die |
75 |
+} |
76 |
+ |
77 |
+pkg_postinst() { |
78 |
+ gnome2_icon_cache_update |
79 |
+ xdg_desktop_database_update |
80 |
+} |
81 |
+ |
82 |
+pkg_postrm() { |
83 |
+ gnome2_icon_cache_update |
84 |
+ xdg_desktop_database_update |
85 |
+} |