1 |
commit: b72926c241a736b456b40ff79f63b12cfe218ec9 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Dec 9 19:59:52 2017 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 9 21:10:02 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b72926c2 |
7 |
|
8 |
app-text/djview: Bump to EAPI 6, switch from fdo-mime to xdg-utils |
9 |
|
10 |
Package-Manager: Portage-2.3.17, Repoman-2.3.6 |
11 |
|
12 |
app-text/djview/djview-4.10.6-r1.ebuild | 18 +++++++++--------- |
13 |
1 file changed, 9 insertions(+), 9 deletions(-) |
14 |
|
15 |
diff --git a/app-text/djview/djview-4.10.6-r1.ebuild b/app-text/djview/djview-4.10.6-r1.ebuild |
16 |
index ed5f990d45e..9765ecc6989 100644 |
17 |
--- a/app-text/djview/djview-4.10.6-r1.ebuild |
18 |
+++ b/app-text/djview/djview-4.10.6-r1.ebuild |
19 |
@@ -1,9 +1,9 @@ |
20 |
# Copyright 1999-2017 Gentoo Foundation |
21 |
# Distributed under the terms of the GNU General Public License v2 |
22 |
|
23 |
-EAPI=4 |
24 |
+EAPI=6 |
25 |
|
26 |
-inherit autotools gnome2-utils fdo-mime flag-o-matic qmake-utils versionator toolchain-funcs multilib nsplugins |
27 |
+inherit autotools gnome2-utils flag-o-matic nsplugins qmake-utils toolchain-funcs versionator xdg-utils |
28 |
|
29 |
DESCRIPTION="Portable DjVu viewer using Qt" |
30 |
HOMEPAGE="http://djvu.sourceforge.net/djview4.html" |
31 |
@@ -27,7 +27,11 @@ DEPEND="${RDEPEND} |
32 |
virtual/pkgconfig |
33 |
nsplugin? ( dev-libs/glib:2 )" |
34 |
|
35 |
+DOCS=( README NEWS ) |
36 |
+ |
37 |
src_prepare() { |
38 |
+ default |
39 |
+ |
40 |
# Force XEmbed instead of Xt-based mainloop (disable Xt autodep) |
41 |
sed -e 's:\(ac_xt=\)yes:\1no:' -i configure* || die |
42 |
sed 's/AC_CXX_OPTIMIZE/OPTS=;AC_SUBST(OPTS)/' -i configure.ac || die #263688 |
43 |
@@ -55,7 +59,7 @@ src_install() { |
44 |
plugindir=/usr/$(get_libdir)/${PLUGINS_DIR} \ |
45 |
install |
46 |
|
47 |
- dodoc README NEWS |
48 |
+ einstalldocs |
49 |
|
50 |
cd desktopfiles |
51 |
insinto /usr/share/icons/hicolor/32x32/apps |
52 |
@@ -68,16 +72,12 @@ src_install() { |
53 |
domenu djvulibre-djview4.desktop |
54 |
} |
55 |
|
56 |
-pkg_preinst() { |
57 |
- gnome2_icon_savelist |
58 |
-} |
59 |
- |
60 |
pkg_postinst() { |
61 |
- fdo-mime_desktop_database_update |
62 |
+ xdg_desktop_database_update |
63 |
gnome2_icon_cache_update |
64 |
} |
65 |
|
66 |
pkg_postrm() { |
67 |
- fdo-mime_desktop_database_update |
68 |
+ xdg_desktop_database_update |
69 |
gnome2_icon_cache_update |
70 |
} |