diff options
Diffstat (limited to 'kde-apps/konqueror')
-rw-r--r-- | kde-apps/konqueror/Manifest | 1 | ||||
-rw-r--r-- | kde-apps/konqueror/konqueror-16.08.2.ebuild | 99 |
2 files changed, 100 insertions, 0 deletions
diff --git a/kde-apps/konqueror/Manifest b/kde-apps/konqueror/Manifest index 2714eb7b3185..1c991af8c015 100644 --- a/kde-apps/konqueror/Manifest +++ b/kde-apps/konqueror/Manifest @@ -1,2 +1,3 @@ DIST kde-baseapps-16.04.3.tar.xz 2051084 SHA256 5d0df76825a12d106862d260f46210ab50bb59c32752eb6e406a9e29e762346a SHA512 238130d2b50b3c16d0ab861634bb33c12619f3adf757eb0b491fe44777eb03ecca77c3ad749ea11dbf49302add622d147fe8100eda5c6b1b130f064f5574dc61 WHIRLPOOL 5ad076c4f227dcde189d316274d3f913bfc49b5e69ff75ed6df1c82510b13f0ca8845018528138f6e627a70875560f18734ed38ed6761cc35e1b45ac69a87c47 DIST kde-baseapps-16.08.1.tar.xz 2051240 SHA256 a114222051218aece07e52527ef1dcb864f787b4e54e5fe2f60172d16b482369 SHA512 91bf1ec895e042564145877957c53e853155f492bb143da3422acdcffd51007444f6c2ccc50e97c696e527310b463d09d7cd24f9b7f9ba3ff02383d149ac99e2 WHIRLPOOL ae95cb548568cdeff40bed9741c4a6ee023353526fbecf12d7d5b4666621d6c3ef8a778dc9f4d805e7acf442e0c73ede5a7f11c2c3195f0a0a8f529726266421 +DIST kde-baseapps-16.08.2.tar.xz 2051040 SHA256 20bc66448a7b3b063560e0e56a3036310501703ef99617227f8d47fcbc0cf0dc SHA512 c90f6799f3daf76ba09c30d9355e40c650f6b66b1a0005b934b11162f30e9ffda9a1ea8f57597cc33e6198004b43f3da397fd6ae07f6d131158c2d7ac10b4a8a WHIRLPOOL def3c0f363c1fc2b68196887a2f746da2f8aa4dc198bb97a2d7c2d7126628bd69dba8cea799b02d5e6326bffc93b4c801bde7ea3cf6619adf390c35ad98eec34 diff --git a/kde-apps/konqueror/konqueror-16.08.2.ebuild b/kde-apps/konqueror/konqueror-16.08.2.ebuild new file mode 100644 index 000000000000..bc8892e3d24c --- /dev/null +++ b/kde-apps/konqueror/konqueror-16.08.2.ebuild @@ -0,0 +1,99 @@ +# 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 ~arm ~x86" +IUSE="+bookmarks debug +filemanager svg" +# 4 of 4 tests fail. Last checked for 4.0.3 +RESTRICT="test" + +DEPEND=" + $(add_kdeapps_dep libkonq) + filemanager? ( + media-libs/phonon[qt4] + x11-libs/libXrender + ) +" + +# 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) ) + filemanager? ( + $(add_kdeapps_dep kdebase-kioslaves) + $(add_kdeapps_dep kfind) + $(add_kdeapps_dep konsolepart) + !kde-apps/dolphin:4 + ) + svg? ( $(add_kdeapps_dep svgpart) ) + !app-text/evince[nsplugin] +" + +KMEXTRA=" + dolphin/ +" + +KMEXTRACTONLY=" + konqueror/client/ + lib/konq/ +" + +PATCHES=( "${FILESDIR}/${PN}-16.08.0-kactivities.patch" ) + +src_prepare() { + [[ ${CHOST} == *-solaris* ]] && append-ldflags -lmalloc + + # required for dolphin + sed -e "/konq_copytomenu.h/ s/# //" \ + -e "/konq_copytomenu.h/ s/ - anyone needs it?//" \ + -i lib/konq/CMakeLists.txt \ + || die "Failed to fix libkonq CMakeLists.txt" + + kde4-meta_src_prepare + + use filemanager || cmake_comment_add_subdirectory dolphin + + # Do not install *.desktop files for kfmclient + sed -e "/kfmclient\.desktop/d" -i konqueror/CMakeLists.txt \ + || die "Failed to omit .desktop files" +} + +src_configure() { + local mycmakeargs + + if use filemanager ; then + mycmakeargs=( + -DWITH_Baloo=OFF + -DWITH_BalooWidgets=OFF + -DWITH_KFileMetaData=OFF + -DCMAKE_DISABLE_FIND_PACKAGE_KActivities=ON + ) + fi + + kde4-meta_src_configure +} + +pkg_postinst() { + kde4-meta_pkg_postinst + + if use filemanager && ! has_version media-gfx/icoutils ; then + elog "For .exe file preview support, install media-gfx/icoutils." + fi + + if ! has_version virtual/jre ; then + elog "To use Java on webpages install virtual/jre." + fi +} |