summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'kde-base/konqueror/konqueror-3.5.8.ebuild')
-rw-r--r--kde-base/konqueror/konqueror-3.5.8.ebuild67
1 files changed, 67 insertions, 0 deletions
diff --git a/kde-base/konqueror/konqueror-3.5.8.ebuild b/kde-base/konqueror/konqueror-3.5.8.ebuild
new file mode 100644
index 000000000000..a62a20c4b6c0
--- /dev/null
+++ b/kde-base/konqueror/konqueror-3.5.8.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/kde-base/konqueror/konqueror-3.5.8.ebuild,v 1.1 2007/10/19 23:16:09 philantrop Exp $
+
+KMNAME=kdebase
+# Note: we need >=kdelibs-3.3.2-r1, but we don't want 3.3.3!
+MAXKDEVER=$PV
+KM_DEPRANGE="$PV $MAXKDEVER"
+inherit kde-meta eutils
+
+SRC_URI="${SRC_URI}
+ mirror://gentoo/kdebase-3.5-patchset-06.tar.bz2"
+
+DESCRIPTION="KDE: Web browser, file manager, ..."
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="branding java kdehiddenvisibility"
+
+DEPEND="
+$(deprange $PV $MAXKDEVER kde-base/libkonq)"
+
+RDEPEND="${DEPEND}
+ $(deprange $PV $MAXKDEVER kde-base/kcontrol)
+ $(deprange $PV $MAXKDEVER kde-base/kdebase-kioslaves)
+ $(deprange $PV $MAXKDEVER kde-base/kfind)
+ java? ( >=virtual/jre-1.4 )"
+
+KMCOPYLIB="libkonq libkonq"
+KMEXTRACTONLY=kdesktop/KDesktopIface.h
+
+pkg_preinst() {
+ kde_pkg_preinst
+
+ # We need to symlink here, as kfmclient freaks out completely,
+ # if it does not find konqueror.desktop in the legacy path.
+ dodir ${PREFIX}/share/applications/kde
+ dosym ../../applnk/konqueror.desktop ${PREFIX}/share/applications/kde/konqueror.desktop
+}
+
+src_install() {
+ kde_src_install
+
+ if use branding ; then
+ dodir ${PREFIX}/share/services/searchproviders
+ insinto ${PREFIX}/share/services/searchproviders
+ doins "${WORKDIR}/patches/*.desktop"
+ fi
+}
+
+pkg_postinst() {
+ kde_pkg_postinst
+
+ if use branding ; then
+ echo
+ elog "We've added three Gentoo-related web shortcuts:"
+ elog "- gb Gentoo Bugzilla searching"
+ elog "- gf Gentoo Forums searching"
+ elog "- gp Gentoo Package searching"
+ echo
+ elog "You'll have to activate them in 'Configure Konqueror...'."
+ fi
+ echo
+ elog "If you can't open new ${PN} windows and get something like"
+ elog "'WARNING: Outdated database found' when starting ${PN} in a console, run"
+ elog "kbuildsycoca as the user you're running KDE under."
+ elog "This is NOT a bug."
+ echo
+}