public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Paulos Ratis" <dastergon@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: net-p2p/ktorrent/
Date: Fri, 18 May 2012 14:12:03 +0000 (UTC)	[thread overview]
Message-ID: <1337350007.96b43d196598c5b350d27730c8d829400fe9e8f8.dastergon@gentoo> (raw)

commit:     96b43d196598c5b350d27730c8d829400fe9e8f8
Author:     Pavlos Ratis <dastergon <AT> gmail <DOT> com>
AuthorDate: Tue Mar 13 17:03:33 2012 +0000
Commit:     Paulos Ratis <dastergon <AT> gmail <DOT> com>
CommitDate: Fri May 18 14:06:47 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=96b43d19

[net-p2p/ktorrent] version bump

---
 net-p2p/ktorrent/ktorrent-4.2.0.ebuild |  102 ++++++++++++++++++++++++++++++++
 1 files changed, 102 insertions(+), 0 deletions(-)

diff --git a/net-p2p/ktorrent/ktorrent-4.2.0.ebuild b/net-p2p/ktorrent/ktorrent-4.2.0.ebuild
new file mode 100644
index 0000000..0b39111
--- /dev/null
+++ b/net-p2p/ktorrent/ktorrent-4.2.0.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+KDE_SCM="git"
+KDE_MINIMAL="4.5"
+LIBKT_VERSION_MIN="${PV}"
+LIBKT_VERSION_MAX="99999999"
+if [[ ${PV} != 9999* ]]; then
+	inherit versionator
+	# upstream likes to skip that _ in beta releases
+	MY_PV="${PV/_/}"
+	LIBKT_VERSION_MIN=$(($(get_major_version)-3)).$(get_version_component_range 2-3 ${PV})
+	LIBKT_VERSION_MAX=$(($(get_major_version)-3)).$(($(get_version_component_range 2)+1))
+	MY_P="${PN}-${MY_PV}"
+	KDE_HANDBOOK="optional"
+	KDE_DOC_DIRS="doc"
+
+	KDE_LINGUAS="ar ast be bg ca ca@valencia cs da de el en_GB eo es et eu
+		fi fr ga gl hi hne hr hu is it ja km lt lv mai ms nb nds nl nn oc
+		pl pt pt_BR ro ru se si sk sl sr sr@ijekavian sr@ijekavianlatin
+		sr@latin sv tr uk zh_CN zh_TW"
+	SRC_URI="http://ktorrent.org/downloads/${MY_PV}/${MY_P}.tar.bz2"
+	S="${WORKDIR}"/"${MY_P}"
+
+	KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+else
+	LIBKT_VERSION_MIN="${PV}"
+	LIBKT_VERSION_MAX="99999999"
+	KEYWORDS=""
+fi
+
+inherit kde4-base
+
+DESCRIPTION="A BitTorrent program for KDE."
+HOMEPAGE="http://ktorrent.org/"
+
+LICENSE="GPL-2"
+SLOT="4"
+IUSE="+bwscheduler debug +downloadorder +infowidget +ipfilter +kross +logviewer
++magnetgenerator +mediaplayer plasma rss +scanfolder +search +shutdown +stats
++upnp webinterface +zeroconf"
+
+COMMONDEPEND="
+	<net-libs/libktorrent-${LIBKT_VERSION_MAX}
+	>=net-libs/libktorrent-${LIBKT_VERSION_MIN}
+	infowidget? ( dev-libs/geoip )
+	mediaplayer? ( >=media-libs/taglib-1.5 )
+	plasma? ( $(add_kdebase_dep libtaskmanager) )
+	rss? ( $(add_kdebase_dep kdepimlibs) )
+	shutdown? (
+		$(add_kdebase_dep libkworkspace)
+		$(add_kdebase_dep solid)
+	)
+"
+DEPEND="${COMMONDEPEND}
+	dev-libs/boost
+	sys-devel/gettext
+"
+RDEPEND="${COMMONDEPEND}
+	ipfilter? (
+		app-arch/bzip2
+		app-arch/unzip
+		$(add_kdebase_dep kdebase-kioslaves)
+	)
+	kross? ( $(add_kdebase_dep krosspython) )
+"
+
+src_prepare() {
+	if ! use plasma; then
+		sed -i \
+			-e "s:add_subdirectory(plasma):#nada:g" \
+			CMakeLists.txt || die "Failed to make plasmoid optional"
+	fi
+
+	kde4-base_src_prepare
+}
+
+src_configure() {
+	mycmakeargs=(
+		$(cmake-utils_use_enable bwscheduler BWSCHEDULER_PLUGIN)
+		$(cmake-utils_use_enable downloadorder DOWNLOADORDER_PLUGIN)
+		$(cmake-utils_use_enable infowidget INFOWIDGET_PLUGIN)
+		$(cmake-utils_use_with infowidget SYSTEM_GEOIP)
+		$(cmake-utils_use_enable ipfilter IPFILTER_PLUGIN)
+		$(cmake-utils_use_enable kross SCRIPTING_PLUGIN)
+		$(cmake-utils_use_enable logviewer LOGVIEWER_PLUGIN)
+		$(cmake-utils_use_enable magnetgenerator MAGNETGENERATOR_PLUGIN)
+		$(cmake-utils_use_enable mediaplayer MEDIAPLAYER_PLUGIN)
+		$(cmake-utils_use_enable rss SYNDICATION_PLUGIN)
+		$(cmake-utils_use_enable scanfolder SCANFOLDER_PLUGIN)
+		$(cmake-utils_use_enable search SEARCH_PLUGIN)
+		$(cmake-utils_use_enable shutdown SHUTDOWN_PLUGIN)
+		$(cmake-utils_use_enable stats STATS_PLUGIN)
+		$(cmake-utils_use_enable upnp UPNP_PLUGIN)
+		$(cmake-utils_use_enable webinterface WEBINTERFACE_PLUGIN)
+		$(cmake-utils_use_enable zeroconf ZEROCONF_PLUGIN)
+	)
+	kde4-base_src_configure
+}



             reply	other threads:[~2012-05-18 14:12 UTC|newest]

Thread overview: 54+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-18 14:12 Paulos Ratis [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-04-21 19:42 [gentoo-commits] proj/kde:master commit in: net-p2p/ktorrent/ Andreas Sturmlechner
2024-02-27 22:28 Sam James
2024-02-25 21:34 Sam James
2023-12-14 21:24 Andreas Sturmlechner
2023-12-09 15:15 Andreas Sturmlechner
2023-12-09 10:03 Andreas Sturmlechner
2023-09-14 11:38 Andreas Sturmlechner
2022-10-06  9:02 Andreas Sturmlechner
2022-09-08 12:33 Andreas Sturmlechner
2022-02-02 19:46 Andreas Sturmlechner
2021-08-26 14:23 Andreas Sturmlechner
2020-11-01 23:11 Andreas Sturmlechner
2020-10-25  0:26 Andreas Sturmlechner
2020-06-07  8:28 Andreas Sturmlechner
2020-01-04 14:11 Andreas Sturmlechner
2019-11-13  2:00 Andreas Sturmlechner
2019-07-10 10:30 Andreas Sturmlechner
2018-09-12  5:47 Andreas Sturmlechner
2018-09-02 10:25 Andreas Sturmlechner
2018-03-06 22:10 Andreas Sturmlechner
2017-10-01 21:56 Andreas Sturmlechner
2017-09-29  2:56 Michael Palimaka
2017-08-31 21:01 Andreas Sturmlechner
2017-08-31 21:01 Andreas Sturmlechner
2017-08-22 13:27 Michael Palimaka
2017-08-21 12:24 Andreas Sturmlechner
2017-07-09 13:38 Andreas Sturmlechner
2017-07-03 18:29 Andreas Sturmlechner
2017-06-30 17:41 Andreas Sturmlechner
2017-06-30 17:41 Andreas Sturmlechner
2017-06-04 18:01 Andreas Sturmlechner
2017-04-16 17:15 Andreas Sturmlechner
2017-01-15 14:07 Andreas Sturmlechner
2017-01-04 17:22 Johannes Huber
2016-07-27 13:22 Michael Palimaka
2016-06-02 14:22 Michael Palimaka
2016-04-20 16:38 Michael Palimaka
2016-04-20 10:34 Michael Palimaka
2016-04-20 10:34 Michael Palimaka
2016-04-20 10:34 Michael Palimaka
2016-04-20 10:34 Michael Palimaka
2016-04-19 12:13 Johannes Huber
2016-04-16 13:42 Johannes Huber
2016-03-13 11:39 Johannes Huber
2016-03-08 14:26 Michael Palimaka
2016-02-23 14:15 Michael Palimaka
2013-03-03 16:08 Michael Palimaka
2013-01-29 12:49 Michael Palimaka
2012-12-10 16:07 Michael Palimaka
2012-08-22 20:12 Johannes Huber
2012-05-18 17:23 Johannes Huber
2012-03-19 17:21 Johannes Huber
2012-03-16  9:23 Johannes Huber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1337350007.96b43d196598c5b350d27730c8d829400fe9e8f8.dastergon@gentoo \
    --to=dastergon@gmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox