diff options
Diffstat (limited to 'kde-apps/konqueror/konqueror-16.04.1.ebuild')
-rw-r--r-- | kde-apps/konqueror/konqueror-16.04.1.ebuild | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/kde-apps/konqueror/konqueror-16.04.1.ebuild b/kde-apps/konqueror/konqueror-16.04.1.ebuild new file mode 100644 index 000000000000..653d0f2329d4 --- /dev/null +++ b/kde-apps/konqueror/konqueror-16.04.1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +KDE_HANDBOOK="optional" +KMNAME="kde-baseapps" +inherit flag-o-matic kde4-meta + +DESCRIPTION="Web browser and file manager" +HOMEPAGE=" + https://www.kde.org/applications/internet/konqueror/ + https://konqueror.org/ +" +KEYWORDS="~amd64 ~x86" +IUSE="+bookmarks debug svg" +# 4 of 4 tests fail. Last checked for 4.0.3 +RESTRICT="test" + +DEPEND=" + $(add_kdeapps_dep libkonq) +" + +# bug #544630: evince[nsplugin] crashes konqueror +RDEPEND="${DEPEND} + $(add_kdeapps_dep kfind) + $(add_kdeapps_dep kfmclient) + $(add_kdeapps_dep kurifilter-plugins) + bookmarks? ( $(add_kdeapps_dep keditbookmarks) ) + svg? ( $(add_kdeapps_dep svgpart) ) + !app-text/evince[nsplugin] +" + +KMEXTRACTONLY=" + konqueror/client/ + lib/konq/ +" + +src_prepare() { + [[ ${CHOST} == *-solaris* ]] && append-ldflags -lmalloc + + kde4-meta_src_prepare + + # Do not install *.desktop files for kfmclient + sed -e "/kfmclient\.desktop/d" -i konqueror/CMakeLists.txt \ + || die "Failed to omit .desktop files" +} + +pkg_postinst() { + kde4-meta_pkg_postinst + + if ! has_version kde-apps/dolphin:${SLOT} ; then + elog "If you want to use konqueror as a filemanager, install the dolphin kpart:" + elog "kde-apps/dolphin:${SLOT}" + fi + + if ! has_version virtual/jre ; then + elog "To use Java on webpages install virtual/jre." + fi +} |