diff options
author | Alexey Shvetsov <alexxy@gentoo.org> | 2009-03-04 21:26:38 +0000 |
---|---|---|
committer | Alexey Shvetsov <alexxy@gentoo.org> | 2009-03-04 21:26:38 +0000 |
commit | a98e1de2e1301af89094e7a36afa9d1d12042536 (patch) | |
tree | dc14505d130da26843e18074fb808eabb6077224 /kde-base/kget | |
parent | Bump KDE 4.2.1 (diff) | |
download | gentoo-2-a98e1de2e1301af89094e7a36afa9d1d12042536.tar.gz gentoo-2-a98e1de2e1301af89094e7a36afa9d1d12042536.tar.bz2 gentoo-2-a98e1de2e1301af89094e7a36afa9d1d12042536.zip |
Bump KDE 4.2.1
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'kde-base/kget')
-rw-r--r-- | kde-base/kget/ChangeLog | 7 | ||||
-rw-r--r-- | kde-base/kget/kget-4.2.1.ebuild | 56 |
2 files changed, 62 insertions, 1 deletions
diff --git a/kde-base/kget/ChangeLog b/kde-base/kget/ChangeLog index 1c5a6d22ae10..3c48307b75dd 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.105 2009/02/28 10:37:30 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kget/ChangeLog,v 1.106 2009/03/04 21:26:38 alexxy Exp $ + +*kget-4.2.1 (04 Mar 2009) + + 04 Mar 2009; Alexey Shvetsov <alexxy@gentoo.org> +kget-4.2.1.ebuild: + Bump KDE 4.2.1 28 Feb 2009; Markus Meier <maekke@gentoo.org> metadata.xml: semantic-desktop is a global USE-flag diff --git a/kde-base/kget/kget-4.2.1.ebuild b/kde-base/kget/kget-4.2.1.ebuild new file mode 100644 index 000000000000..13f82f78a5e5 --- /dev/null +++ b/kde-base/kget/kget-4.2.1.ebuild @@ -0,0 +1,56 @@ +# 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.1.ebuild,v 1.1 2009/03/04 21:26:38 alexxy Exp $ + +EAPI="2" + +KMNAME="kdenetwork" +inherit kde4-meta + +DESCRIPTION="An advanced download manager for KDE" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="debug +plasma bittorrent -bittorrent-external +semantic-desktop sqlite" + +DEPEND=" + dev-libs/libpcre + semantic-desktop? ( >=kde-base/nepomuk-${PV}:${SLOT} ) + sqlite? ( dev-db/sqlite ) + bittorrent? ( dev-libs/gmp app-crypt/qca:2 ) + bittorrent-external? ( >=net-p2p/ktorrent-3.1.5 )" +RDEPEND="${DEPEND}" + +pkg_setup() { + if use bittorrent && use bittorrent-external; then + eerror + eerror "USE flag 'bittorrent' conflicts with these USE flag 'bittorrent-external'" + eerror + eerror "You must disable these conflicting flags before you can emerge this package." + eerror "You can do this by disabling one of these flags in /etc/portage/package.use:" + eerror " =${CATEGORY}/${PN}-${PV} -bittorrent-external" + eerror + die "Conflicting USE flags found" + fi + + kde4-base_pkg_setup +} + +src_prepare() { + if ! use bittorrent && ! use bittorrent-external; then + sed -i -e '/bittorrent/s:^:#DONOTCOMPILE :' \ + "${S}"/kget/transfer-plugins/CMakeLists.txt \ + || die "sed to disable torrent support failed." + fi + + kde4-meta_src_prepare +} + +src_configure() { + mycmakeargs="${mycmakeargs} + $(cmake-utils_use_enable bittorrent EMBEDDED_TORRENT_SUPPORT) + $(cmake-utils_use_with plasma Plasma) + $(cmake-utils_use_with semantic-desktop Nepomuk) + $(cmake-utils_use_with semantic-desktop Soprano) + $(cmake-utils_use_with sqlite Sqlite)" + + kde4-meta_src_configure +} |