You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/kde-base/konqueror/konqueror-4.9.4.ebuild

52 lines
1.2 KiB

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/konqueror/konqueror-4.9.4.ebuild,v 1.1 2012/12/05 16:57:39 alexxy Exp $
EAPI=4
KDE_HANDBOOK="optional"
KMNAME="kde-baseapps"
inherit flag-o-matic kde4-meta
DESCRIPTION="KDE: Web browser, file manager, ..."
KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux"
IUSE="+bookmarks debug svg"
# 4 of 4 tests fail. Last checked for 4.0.3
RESTRICT="test"
DEPEND="
$(add_kdebase_dep libkonq)
"
RDEPEND="${DEPEND}
$(add_kdebase_dep kfind)
$(add_kdebase_dep kfmclient)
bookmarks? ( $(add_kdebase_dep keditbookmarks) )
svg? ( $(add_kdebase_dep svgpart) )
"
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
echo
elog "If you want to use konqueror as a filemanager, install the dolphin kpart:"
elog "emerge -1 kde-base/dolphin:${SLOT}"
elog
elog "To use Java on webpages: emerge jre"
echo
}