summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'kde-apps/konqueror')
-rw-r--r--kde-apps/konqueror/Manifest1
-rw-r--r--kde-apps/konqueror/konqueror-18.12.2.ebuild116
2 files changed, 117 insertions, 0 deletions
diff --git a/kde-apps/konqueror/Manifest b/kde-apps/konqueror/Manifest
index 53c7033db804..a25a537412ee 100644
--- a/kde-apps/konqueror/Manifest
+++ b/kde-apps/konqueror/Manifest
@@ -1,2 +1,3 @@
DIST konqueror-18.08.3.tar.xz 7742624 BLAKE2B 13b4ee924a3ba1f5373c35676ac940ff446aa5d4beb34fc32b34afc80387695e270543ad720a541c249ef560dc04e87b067a7377986778348c5ffb0dcab1e8a9 SHA512 ac7f03c03e8fed6c052350654d7248c35832d8b13ab325afc7d48e1beb321c3016ff57c434e7121fedc12a9e52780390cdcbe2745c290bb52a5f2dab64a7113c
DIST konqueror-18.12.1.tar.xz 7755864 BLAKE2B c591dbf4a626017d1d94f9678cf3728bff7ea0cf1a8470cab7e652c4db9d3096e73b728a52658dbe2cc1491805dec35ba118165ba05aeebc6708fd5c09b1ca51 SHA512 55de5911b926d9a8867363fcbf2c457d6d9d7b8e53766c53a389ffe7fc2c2b4e0c3c35361bf85d8838b086a9b578ba67ecf86183f4fae99e1b33f22a6ce6da91
+DIST konqueror-18.12.2.tar.xz 7756580 BLAKE2B e5ad626e45e875fb3cef3caff0087bdb2d1bbff03f44fb7ae1f8e8e1f203b620cb863b5592d2b90f5d278213d087166c2da185cf0df922d9d2725644c5d907f2 SHA512 4f99daeaa453ead12d810ae8b4dd85aabb0511234271517dcfd9fd144d22931368050ba42d901641ff3cea097693d914ee3a44037c286a96bacab6671ce0939b
diff --git a/kde-apps/konqueror/konqueror-18.12.2.ebuild b/kde-apps/konqueror/konqueror-18.12.2.ebuild
new file mode 100644
index 000000000000..59d9513b25e8
--- /dev/null
+++ b/kde-apps/konqueror/konqueror-18.12.2.ebuild
@@ -0,0 +1,116 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+KDE_HANDBOOK="forceoptional" # not optional until !kdelibs4support
+KDE_TEST="true"
+VIRTUALX_REQUIRED="test"
+inherit flag-o-matic kde5
+
+DESCRIPTION="Web browser and file manager based on KDE Frameworks"
+HOMEPAGE="
+ https://www.kde.org/applications/internet/konqueror/
+ https://konqueror.org/
+"
+KEYWORDS="~amd64 ~x86"
+IUSE="activities speech tidy +webengine X"
+# 4 of 4 tests fail. Last checked for 4.0.3
+RESTRICT+=" test"
+
+COMMON_DEPEND="
+ $(add_frameworks_dep karchive)
+ $(add_frameworks_dep kbookmarks)
+ $(add_frameworks_dep kcmutils)
+ $(add_frameworks_dep kcodecs)
+ $(add_frameworks_dep kcompletion)
+ $(add_frameworks_dep kconfig)
+ $(add_frameworks_dep kconfigwidgets)
+ $(add_frameworks_dep kcoreaddons)
+ $(add_frameworks_dep kcrash)
+ $(add_frameworks_dep kdbusaddons)
+ $(add_frameworks_dep kdelibs4support)
+ $(add_frameworks_dep kdesu)
+ $(add_frameworks_dep kguiaddons)
+ $(add_frameworks_dep khtml)
+ $(add_frameworks_dep ki18n)
+ $(add_frameworks_dep kiconthemes)
+ $(add_frameworks_dep kio)
+ $(add_frameworks_dep kitemviews)
+ $(add_frameworks_dep kjobwidgets)
+ $(add_frameworks_dep kparts)
+ $(add_frameworks_dep kservice)
+ $(add_frameworks_dep kwallet)
+ $(add_frameworks_dep kwidgetsaddons)
+ $(add_frameworks_dep kwindowsystem)
+ $(add_frameworks_dep kxmlgui)
+ $(add_qt_dep qtdbus)
+ $(add_qt_dep qtgui)
+ $(add_qt_dep qtwidgets)
+ $(add_qt_dep qtxml)
+ sys-libs/zlib
+ speech? ( $(add_qt_dep qtspeech) )
+ tidy? ( app-text/tidy-html5 )
+ webengine? ( $(add_qt_dep qtwebengine 'widgets') )
+ X? ( $(add_qt_dep qtx11extras) )
+"
+DEPEND="${COMMON_DEPEND}
+ activities? ( $(add_frameworks_dep kactivities) )
+"
+RDEPEND="${COMMON_DEPEND}
+ !kde-apps/kfmclient:4
+ !kde-apps/konq-plugins
+ !kde-apps/konqueror:4
+ !kde-apps/libkonq:5
+ $(add_kdeapps_dep kfind)
+ $(add_plasma_dep kde-cli-tools)
+ !webengine? ( kde-misc/kwebkitpart:5 )
+"
+
+PATCHES=( "${FILESDIR}/${PN}-18.08.3-tidyhtml5.patch" )
+
+src_prepare() {
+ [[ ${CHOST} == *-solaris* ]] && append-ldflags -lmalloc
+
+ if ! use webengine; then
+ punt_bogus_dep Qt5 WebEngineWidgets
+ cmake_comment_add_subdirectory webenginepart
+ fi
+
+ kde5_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use_find_package activities KF5Activities)
+ $(cmake-utils_use_find_package speech Qt5TextToSpeech)
+ $(cmake-utils_use_find_package tidy LibTidy)
+ $(cmake-utils_use_find_package X X11)
+ )
+ kde5_src_configure
+}
+
+pkg_postinst() {
+ kde5_pkg_postinst
+
+ if [[ -z "${REPLACING_VERSIONS}" ]]; then
+ if ! has_version kde-apps/keditbookmarks:${SLOT} ; then
+ elog "For bookmarks support, install keditbookmarks:"
+ elog "kde-apps/keditbookmarks:${SLOT}"
+ fi
+
+ 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 kde-apps/svg:${SLOT} ; then
+ elog "For konqueror to view SVGs, install the svg kpart:"
+ elog "kde-apps/svgpart:${SLOT}"
+ fi
+
+ if ! has_version virtual/jre ; then
+ elog "To use Java on webpages install virtual/jre."
+ fi
+ fi
+}