aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>2011-01-07 00:53:50 -0100
committerJorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>2011-01-07 00:53:50 -0100
commitebab4cc41a39392a7a650d9126ee99706b7b8dd7 (patch)
treea8023e1fe049faa603a8a26b3fcb6565b38d2fb0 /kde-base/kget/kget-4.5.95.ebuild
parentRevert "Mass commit to update the Copyright line and update EAPI 2 to 3." (diff)
parentMerge branch 'master' into kde-git (diff)
downloadkde-ebab4cc41a39392a7a650d9126ee99706b7b8dd7.tar.gz
kde-ebab4cc41a39392a7a650d9126ee99706b7b8dd7.tar.bz2
kde-ebab4cc41a39392a7a650d9126ee99706b7b8dd7.zip
Merge branch 'kde-git' of git+ssh://git.overlays.gentoo.org/proj/kde into kde-git
Diffstat (limited to 'kde-base/kget/kget-4.5.95.ebuild')
-rw-r--r--kde-base/kget/kget-4.5.95.ebuild49
1 files changed, 49 insertions, 0 deletions
diff --git a/kde-base/kget/kget-4.5.95.ebuild b/kde-base/kget/kget-4.5.95.ebuild
new file mode 100644
index 0000000000..5e7c3ec8ae
--- /dev/null
+++ b/kde-base/kget/kget-4.5.95.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="3"
+
+KDE_HANDBOOK="optional"
+KMNAME="kdenetwork"
+WEBKIT_REQUIRED="optional"
+inherit kde4-meta
+
+DESCRIPTION="An advanced download manager for KDE"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug bittorrent semantic-desktop sqlite"
+
+RDEPEND="
+ app-crypt/qca:2
+ $(add_kdebase_dep kdelibs 'semantic-desktop?')
+ $(add_kdebase_dep kdepimlibs)
+ $(add_kdebase_dep libkonq)
+ $(add_kdebase_dep libkworkspace)
+ $(add_kdebase_dep solid)
+ bittorrent? ( >=net-libs/libktorrent-1.0.3 )
+ sqlite? ( dev-db/sqlite:3 )
+ webkit? ( >=kde-misc/kwebkitpart-0.9.6 )
+"
+DEPEND="${RDEPEND}
+ dev-libs/boost
+"
+
+src_prepare() {
+ kde4-meta_src_prepare
+ # Disable bittorrent as supported mimetype
+ if ! use bittorrent; then
+ sed -e '/MimeType=/s|application/x-bittorrent;||' \
+ -i kget/desktop/kget.desktop || die
+ fi
+}
+
+src_configure() {
+ mycmakeargs=(
+ $(cmake-utils_use_with bittorrent KTorrent)
+ $(cmake-utils_use_with semantic-desktop Nepomuk)
+ $(cmake-utils_use_with semantic-desktop Soprano)
+ $(cmake-utils_use_with sqlite)
+ $(cmake-utils_use_with webkit KWebKitPart)
+ )
+ kde4-meta_src_configure
+}