diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2017-12-09 20:59:52 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2017-12-09 22:10:02 +0100 |
commit | b72926c241a736b456b40ff79f63b12cfe218ec9 (patch) | |
tree | 6f2e1e06e4d6dea72591decddf150ef97ad8475b /app-text | |
parent | app-text/djview: Switch to Qt5 (diff) | |
download | gentoo-b72926c241a736b456b40ff79f63b12cfe218ec9.tar.gz gentoo-b72926c241a736b456b40ff79f63b12cfe218ec9.tar.bz2 gentoo-b72926c241a736b456b40ff79f63b12cfe218ec9.zip |
app-text/djview: Bump to EAPI 6, switch from fdo-mime to xdg-utils
Package-Manager: Portage-2.3.17, Repoman-2.3.6
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/djview/djview-4.10.6-r1.ebuild | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/app-text/djview/djview-4.10.6-r1.ebuild b/app-text/djview/djview-4.10.6-r1.ebuild index ed5f990d45ee..9765ecc69891 100644 --- a/app-text/djview/djview-4.10.6-r1.ebuild +++ b/app-text/djview/djview-4.10.6-r1.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=4 +EAPI=6 -inherit autotools gnome2-utils fdo-mime flag-o-matic qmake-utils versionator toolchain-funcs multilib nsplugins +inherit autotools gnome2-utils flag-o-matic nsplugins qmake-utils toolchain-funcs versionator xdg-utils DESCRIPTION="Portable DjVu viewer using Qt" HOMEPAGE="http://djvu.sourceforge.net/djview4.html" @@ -27,7 +27,11 @@ DEPEND="${RDEPEND} virtual/pkgconfig nsplugin? ( dev-libs/glib:2 )" +DOCS=( README NEWS ) + src_prepare() { + default + # Force XEmbed instead of Xt-based mainloop (disable Xt autodep) sed -e 's:\(ac_xt=\)yes:\1no:' -i configure* || die sed 's/AC_CXX_OPTIMIZE/OPTS=;AC_SUBST(OPTS)/' -i configure.ac || die #263688 @@ -55,7 +59,7 @@ src_install() { plugindir=/usr/$(get_libdir)/${PLUGINS_DIR} \ install - dodoc README NEWS + einstalldocs cd desktopfiles insinto /usr/share/icons/hicolor/32x32/apps @@ -68,16 +72,12 @@ src_install() { domenu djvulibre-djview4.desktop } -pkg_preinst() { - gnome2_icon_savelist -} - 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 } |