diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-12-15 18:09:03 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-12-15 18:09:03 +0000 |
commit | 7bc9c63c9da678a7e6fceb095d56c634afd22c56 (patch) | |
tree | 4a67d50a439e9af63947e5f8b6ba3719af98b6c9 /kde-apps/konqueror/konqueror-19.12.0.ebuild | |
parent | b284a3168fa91a038925d2ecf5e4791011ea5e7d (diff) |
gentoo resync : 15.12.2019
Diffstat (limited to 'kde-apps/konqueror/konqueror-19.12.0.ebuild')
-rw-r--r-- | kde-apps/konqueror/konqueror-19.12.0.ebuild | 115 |
1 files changed, 115 insertions, 0 deletions
diff --git a/kde-apps/konqueror/konqueror-19.12.0.ebuild b/kde-apps/konqueror/konqueror-19.12.0.ebuild new file mode 100644 index 000000000000..5c5b4e85515d --- /dev/null +++ b/kde-apps/konqueror/konqueror-19.12.0.ebuild @@ -0,0 +1,115 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +ECM_HANDBOOK="forceoptional" # not optional until !kdelibs4support +ECM_TEST="true" +PVCUT=$(ver_cut 1-3) +KFMIN=5.63.0 +PLASMA_MINIMAL=5.16.5 +QTMIN=5.12.3 +VIRTUALX_REQUIRED="test" +inherit flag-o-matic ecm kde.org + +DESCRIPTION="Web browser and file manager based on KDE Frameworks" +HOMEPAGE="https://kde.org/applications/internet/org.kde.konqueror" + +LICENSE="GPL-2" # TODO: CHECK +SLOT="5" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="activities speech tidy +webengine X" + +# 4 of 4 tests fail. Last checked for 4.0.3 +RESTRICT+=" test" + +COMMON_DEPEND=" + >=kde-frameworks/karchive-${KFMIN}:5 + >=kde-frameworks/kbookmarks-${KFMIN}:5 + >=kde-frameworks/kcmutils-${KFMIN}:5 + >=kde-frameworks/kcodecs-${KFMIN}:5 + >=kde-frameworks/kcompletion-${KFMIN}:5 + >=kde-frameworks/kconfig-${KFMIN}:5 + >=kde-frameworks/kconfigwidgets-${KFMIN}:5 + >=kde-frameworks/kcoreaddons-${KFMIN}:5 + >=kde-frameworks/kcrash-${KFMIN}:5 + >=kde-frameworks/kdbusaddons-${KFMIN}:5 + >=kde-frameworks/kdelibs4support-${KFMIN}:5 + >=kde-frameworks/kdesu-${KFMIN}:5 + >=kde-frameworks/kguiaddons-${KFMIN}:5 + >=kde-frameworks/khtml-${KFMIN}:5 + >=kde-frameworks/ki18n-${KFMIN}:5 + >=kde-frameworks/kiconthemes-${KFMIN}:5 + >=kde-frameworks/kio-${KFMIN}:5 + >=kde-frameworks/kitemviews-${KFMIN}:5 + >=kde-frameworks/kjobwidgets-${KFMIN}:5 + >=kde-frameworks/kparts-${KFMIN}:5 + >=kde-frameworks/kservice-${KFMIN}:5 + >=kde-frameworks/kwallet-${KFMIN}:5 + >=kde-frameworks/kwidgetsaddons-${KFMIN}:5 + >=kde-frameworks/kwindowsystem-${KFMIN}:5 + >=kde-frameworks/kxmlgui-${KFMIN}:5 + >=dev-qt/qtdbus-${QTMIN}:5 + >=dev-qt/qtgui-${QTMIN}:5 + >=dev-qt/qtwidgets-${QTMIN}:5 + >=dev-qt/qtxml-${QTMIN}:5 + sys-libs/zlib + speech? ( >=dev-qt/qtspeech-${QTMIN}:5 ) + tidy? ( app-text/tidy-html5 ) + webengine? ( >=dev-qt/qtwebengine-${QTMIN}:5[widgets] ) + X? ( >=dev-qt/qtx11extras-${QTMIN}:5 ) +" +DEPEND="${COMMON_DEPEND} + activities? ( >=kde-frameworks/kactivities-${KFMIN}:5 ) +" +RDEPEND="${COMMON_DEPEND} + >=kde-apps/kfind-${PVCUT}:5 + >=kde-plasma/kde-cli-tools-${PLASMA_MINIMAL}:5 + !webengine? ( kde-misc/kwebkitpart:5 ) +" + +src_prepare() { + [[ ${CHOST} == *-solaris* ]] && append-ldflags -lmalloc + + if ! use webengine; then + ecm_punt_bogus_dep Qt5 WebEngineWidgets + cmake_comment_add_subdirectory webenginepart + fi + + ecm_src_prepare +} + +src_configure() { + local mycmakeargs=( + $(cmake_use_find_package activities KF5Activities) + $(cmake_use_find_package speech Qt5TextToSpeech) + $(cmake_use_find_package tidy LibTidy) + $(cmake_use_find_package X X11) + ) + ecm_src_configure +} + +pkg_postinst() { + ecm_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 +} |