diff options
author | Alexey Shvetsov <alexxy@gentoo.org> | 2009-06-04 12:30:59 +0000 |
---|---|---|
committer | Alexey Shvetsov <alexxy@gentoo.org> | 2009-06-04 12:30:59 +0000 |
commit | 5e931b42c07845dfdb65198ff0ec08a49d0712f7 (patch) | |
tree | 5e69e692375322258de9cb1d78a3e6774b502dfc /kde-base/kget | |
parent | Version bump KDE 4.2.4 (diff) | |
download | gentoo-2-5e931b42c07845dfdb65198ff0ec08a49d0712f7.tar.gz gentoo-2-5e931b42c07845dfdb65198ff0ec08a49d0712f7.tar.bz2 gentoo-2-5e931b42c07845dfdb65198ff0ec08a49d0712f7.zip |
Version bump KDE 4.2.4
(Portage version: 2.2_rc33/cvs/Linux x86_64, RepoMan options: --force)
Diffstat (limited to 'kde-base/kget')
-rw-r--r-- | kde-base/kget/ChangeLog | 7 | ||||
-rw-r--r-- | kde-base/kget/kget-4.2.4.ebuild | 61 |
2 files changed, 67 insertions, 1 deletions
diff --git a/kde-base/kget/ChangeLog b/kde-base/kget/ChangeLog index d65391d6fbb1..4ed7e9b42902 100644 --- a/kde-base/kget/ChangeLog +++ b/kde-base/kget/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for kde-base/kget # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kget/ChangeLog,v 1.119 2009/06/03 15:45:23 alexxy Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kget/ChangeLog,v 1.120 2009/06/04 12:30:59 alexxy Exp $ + +*kget-4.2.4 (04 Jun 2009) + + 04 Jun 2009; Alexey Shvetsov <alexxy@gentoo.org> +kget-4.2.4.ebuild: + Version bump 03 Jun 2009; Alexey Shvetsov <alexxy@gentoo.org> -kget-4.2.2.ebuild: Drop KDE 4.2.2 diff --git a/kde-base/kget/kget-4.2.4.ebuild b/kde-base/kget/kget-4.2.4.ebuild new file mode 100644 index 000000000000..2258227559a9 --- /dev/null +++ b/kde-base/kget/kget-4.2.4.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/kde-base/kget/kget-4.2.4.ebuild,v 1.1 2009/06/04 12:30:59 alexxy Exp $ + +EAPI="2" + +KMNAME="kdenetwork" +inherit kde4-meta + +DESCRIPTION="An advanced download manager for KDE" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="debug +handbook +plasma bittorrent bittorrent-external +semantic-desktop sqlite" + +DEPEND=" + dev-libs/libpcre + >=kde-base/kdelibs-${PV}:${SLOT}[kdeprefix=,semantic-desktop?] + >=kde-base/libkonq-${PV}:${SLOT}[kdeprefix=] + >=kde-base/libkworkspace-${PV}:${SLOT}[kdeprefix=] + bittorrent? ( + app-crypt/qca:2 + dev-libs/gmp + ) + bittorrent-external? ( >=net-p2p/ktorrent-3.1.5 ) + sqlite? ( dev-db/sqlite ) +" +RDEPEND="${DEPEND} + semantic-desktop? ( >=kde-base/nepomuk-${PV}:${SLOT}[kdeprefix=] ) +" + +src_prepare() { + if ! use bittorrent && ! use bittorrent-external; then + sed -i -e '/bittorrent/s:^:#DONOTCOMPILE :' \ + kget/transfer-plugins/CMakeLists.txt \ + || die "sed to disable torrent support failed." + sed -i -e 's|application/x-bittorrent;||' \ + kget/desktop/kget.desktop \ + || die "sed to disable torrent mime-type handling failed." + fi + + kde4-meta_src_prepare +} + +src_configure() { + if use bittorrent-external && use bittorrent ; then + einfo "Using the external plugin." + einfo "Disable bittorrent-external useflag if you want iternal one." + fi + if use bittorrent-external; then + mycmakeargs="${mycmakeargs} -DEMBEDDED_TORRENT_SUPPORT=OFF" + else + mycmakeargs="${mycmakeargs} + $(cmake-utils_use_enable bittorrent EMBEDDED_TORRENT_SUPPORT)" + fi + mycmakeargs="${mycmakeargs} + $(cmake-utils_use_with plasma) + $(cmake-utils_use_with semantic-desktop Nepomuk) + $(cmake-utils_use_with semantic-desktop Soprano) + $(cmake-utils_use_with sqlite)" + + kde4-meta_src_configure +} |