diff options
Diffstat (limited to 'kde-base')
-rw-r--r-- | kde-base/kget/ChangeLog | 6 | ||||
-rw-r--r-- | kde-base/kget/kget-4.5.1.ebuild | 24 | ||||
-rw-r--r-- | kde-base/kget/metadata.xml | 4 |
3 files changed, 22 insertions, 12 deletions
diff --git a/kde-base/kget/ChangeLog b/kde-base/kget/ChangeLog index f1e8d30966d5..83479cceb4a6 100644 --- a/kde-base/kget/ChangeLog +++ b/kde-base/kget/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for kde-base/kget # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kget/ChangeLog,v 1.174 2010/09/06 00:31:37 tampakrap Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kget/ChangeLog,v 1.175 2010/09/15 00:40:46 reavertm Exp $ + + 15 Sep 2010; Maciej Mrozowski <reavertm@gentoo.org> kget-4.5.1.ebuild, + metadata.xml: + Deps cleanup. add missing splid dep - bug 337033 among others. *kget-4.5.1 (06 Sep 2010) diff --git a/kde-base/kget/kget-4.5.1.ebuild b/kde-base/kget/kget-4.5.1.ebuild index aef3b67cfc16..2a5a1999f589 100644 --- a/kde-base/kget/kget-4.5.1.ebuild +++ b/kde-base/kget/kget-4.5.1.ebuild @@ -1,26 +1,28 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kget/kget-4.5.1.ebuild,v 1.3 2010/09/14 12:54:01 reavertm Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kget/kget-4.5.1.ebuild,v 1.4 2010/09/15 00:40:46 reavertm Exp $ EAPI="3" KDE_HANDBOOK="optional" KMNAME="kdenetwork" +WEBKIT_REQUIRED="optional" inherit kde4-meta DESCRIPTION="An advanced download manager for KDE" KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" -IUSE="debug +plasma semantic-desktop sqlite" +IUSE="debug bittorrent semantic-desktop sqlite" RDEPEND=" app-crypt/qca:2 - dev-libs/gmp - dev-libs/libpcre $(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 @@ -28,20 +30,20 @@ DEPEND="${RDEPEND} src_prepare() { kde4-meta_src_prepare - - # Don't use external libbtcore, it's not really ready yet - sed -e 's:find_package(BTCore):macro_optional_&:' \ - -i kget/transfer-plugins/bittorrent/CMakeLists.txt || die "sed failed" + # 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=( - -DWITH_BTCore=OFF - $(cmake-utils_use_with plasma) + $(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 } diff --git a/kde-base/kget/metadata.xml b/kde-base/kget/metadata.xml index 8d1e86a9cefb..b43e54bba9aa 100644 --- a/kde-base/kget/metadata.xml +++ b/kde-base/kget/metadata.xml @@ -2,4 +2,8 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>kde</herd> +<use> + <flag name="bittorrent">Enable bittorrent transfer plugin through <pkg>net-libs/libktorrent</pkg></flag> + <flag name="webkit">Enable KdeWebkit browser plugin using <pkg>kde-misc/kwebkitpart</pkg></flag> +</use> </pkgmetadata> |