1 |
commit: fb94d19ef38174bcac207a539021602d56fbad0b |
2 |
Author: Tim Harder <radhermit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Aug 31 11:57:32 2017 +0000 |
4 |
Commit: Tim Harder <radhermit <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 31 11:57:32 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb94d19e |
7 |
|
8 |
media-gfx/viewnior: update from fdo-mime to xdg-utils eclass |
9 |
|
10 |
media-gfx/viewnior/viewnior-1.6.ebuild | 9 +++++---- |
11 |
1 file changed, 5 insertions(+), 4 deletions(-) |
12 |
|
13 |
diff --git a/media-gfx/viewnior/viewnior-1.6.ebuild b/media-gfx/viewnior/viewnior-1.6.ebuild |
14 |
index 6ae74e2e0ee..b98ebe15bea 100644 |
15 |
--- a/media-gfx/viewnior/viewnior-1.6.ebuild |
16 |
+++ b/media-gfx/viewnior/viewnior-1.6.ebuild |
17 |
@@ -2,7 +2,7 @@ |
18 |
# Distributed under the terms of the GNU General Public License v2 |
19 |
|
20 |
EAPI=6 |
21 |
-inherit fdo-mime gnome2-utils autotools |
22 |
+inherit xdg-utils gnome2-utils autotools |
23 |
|
24 |
MY_PN=Viewnior |
25 |
DESCRIPTION="Fast and simple image viewer" |
26 |
@@ -23,11 +23,12 @@ RDEPEND="${DEPEND}" |
27 |
S=${WORKDIR}/${MY_PN}-${P} |
28 |
|
29 |
src_prepare() { |
30 |
+ default |
31 |
+ |
32 |
# fix for bug #454230 |
33 |
sed -r -i "s:(PKG_CHECK_MODULES):AC_CHECK_LIB([m],[cos])\n\n\1:" configure.ac |
34 |
|
35 |
eautoreconf |
36 |
- default |
37 |
} |
38 |
|
39 |
pkg_preinst() { |
40 |
@@ -35,11 +36,11 @@ pkg_preinst() { |
41 |
} |
42 |
|
43 |
pkg_postinst() { |
44 |
- fdo-mime_desktop_database_update |
45 |
+ xdg_desktop_database_update |
46 |
gnome2_icon_cache_update |
47 |
} |
48 |
|
49 |
pkg_postrm() { |
50 |
- fdo-mime_desktop_database_update |
51 |
+ xdg_desktop_database_update |
52 |
gnome2_icon_cache_update |
53 |
} |