summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2017-08-31 07:57:32 -0400
committerTim Harder <radhermit@gentoo.org>2017-08-31 07:57:32 -0400
commitfb94d19ef38174bcac207a539021602d56fbad0b (patch)
tree046852a22997dd9a012ce7ed6a90ea4ca5d0dada /media-gfx/viewnior
parentmedia-gfx/viewnior: use https for HOMEPAGE (diff)
downloadgentoo-fb94d19ef38174bcac207a539021602d56fbad0b.tar.gz
gentoo-fb94d19ef38174bcac207a539021602d56fbad0b.tar.bz2
gentoo-fb94d19ef38174bcac207a539021602d56fbad0b.zip
media-gfx/viewnior: update from fdo-mime to xdg-utils eclass
Diffstat (limited to 'media-gfx/viewnior')
-rw-r--r--media-gfx/viewnior/viewnior-1.6.ebuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/media-gfx/viewnior/viewnior-1.6.ebuild b/media-gfx/viewnior/viewnior-1.6.ebuild
index 6ae74e2e0eef..b98ebe15bea4 100644
--- a/media-gfx/viewnior/viewnior-1.6.ebuild
+++ b/media-gfx/viewnior/viewnior-1.6.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-inherit fdo-mime gnome2-utils autotools
+inherit xdg-utils gnome2-utils autotools
MY_PN=Viewnior
DESCRIPTION="Fast and simple image viewer"
@@ -23,11 +23,12 @@ RDEPEND="${DEPEND}"
S=${WORKDIR}/${MY_PN}-${P}
src_prepare() {
+ default
+
# fix for bug #454230
sed -r -i "s:(PKG_CHECK_MODULES):AC_CHECK_LIB([m],[cos])\n\n\1:" configure.ac
eautoreconf
- default
}
pkg_preinst() {
@@ -35,11 +36,11 @@ pkg_preinst() {
}
pkg_postinst() {
- fdo-mime_desktop_database_update
+ xdg_desktop_database_update
gnome2_icon_cache_update
}
pkg_postrm() {
- fdo-mime_desktop_database_update
+ xdg_desktop_database_update
gnome2_icon_cache_update
}