From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1S8TNS-0003gu-0t for garchives@archives.gentoo.org; Fri, 16 Mar 2012 09:23:14 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2985CE0A88; Fri, 16 Mar 2012 09:23:07 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id E05A3E0A88 for ; Fri, 16 Mar 2012 09:23:06 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 26C9A1B4002 for ; Fri, 16 Mar 2012 09:23:06 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id DBF89E542C for ; Fri, 16 Mar 2012 09:23:04 +0000 (UTC) From: "Johannes Huber" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Johannes Huber" Message-ID: <1331890062.c1cc9c7f2dab33ddf014083b4fe182340c1a7f79.johu@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: net-p2p/ktorrent/ X-VCS-Repository: proj/kde X-VCS-Files: net-p2p/ktorrent/ktorrent-4.2.0.ebuild X-VCS-Directories: net-p2p/ktorrent/ X-VCS-Committer: johu X-VCS-Committer-Name: Johannes Huber X-VCS-Revision: c1cc9c7f2dab33ddf014083b4fe182340c1a7f79 X-VCS-Branch: master Date: Fri, 16 Mar 2012 09:23:04 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 70957900-5bde-411e-8cbe-3b1a93c6f504 X-Archives-Hash: fea660ce1773ab0bed2a2a63b50a768d commit: c1cc9c7f2dab33ddf014083b4fe182340c1a7f79 Author: Pavlos Ratis gmail com> AuthorDate: Tue Mar 13 17:03:33 2012 +0000 Commit: Johannes Huber gentoo org> CommitDate: Fri Mar 16 09:27:42 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/kde.git;a=3Dc= ommit;h=3Dc1cc9c7f [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/kt= orrent-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=3D4 + +KDE_SCM=3D"git" +KDE_MINIMAL=3D"4.5" +LIBKT_VERSION_MIN=3D"${PV}" +LIBKT_VERSION_MAX=3D"99999999" +if [[ ${PV} !=3D 9999* ]]; then + inherit versionator + # upstream likes to skip that _ in beta releases + MY_PV=3D"${PV/_/}" + LIBKT_VERSION_MIN=3D$(($(get_major_version)-3)).$(get_version_component= _range 2-3 ${PV}) + LIBKT_VERSION_MAX=3D$(($(get_major_version)-3)).$(($(get_version_compon= ent_range 2)+1)) + MY_P=3D"${PN}-${MY_PV}" + KDE_HANDBOOK=3D"optional" + KDE_DOC_DIRS=3D"doc" + + KDE_LINGUAS=3D"ar ast be bg ca ca@valencia cs da de el en_GB eo es et e= u + 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=3D"http://ktorrent.org/downloads/${MY_PV}/${MY_P}.tar.bz2" + S=3D"${WORKDIR}"/"${MY_P}" + + KEYWORDS=3D"~amd64 ~ppc ~ppc64 ~x86" +else + LIBKT_VERSION_MIN=3D"${PV}" + LIBKT_VERSION_MAX=3D"99999999" + KEYWORDS=3D"" +fi + +inherit kde4-base + +DESCRIPTION=3D"A BitTorrent program for KDE." +HOMEPAGE=3D"http://ktorrent.org/" + +LICENSE=3D"GPL-2" +SLOT=3D"4" +IUSE=3D"+bwscheduler debug +downloadorder +infowidget +ipfilter +kross += logviewer ++magnetgenerator +mediaplayer plasma rss +scanfolder +search +shutdown += stats ++upnp webinterface +zeroconf" + +COMMONDEPEND=3D" + =3Dnet-libs/libktorrent-${LIBKT_VERSION_MIN} + infowidget? ( dev-libs/geoip ) + mediaplayer? ( >=3Dmedia-libs/taglib-1.5 ) + plasma? ( $(add_kdebase_dep libtaskmanager) ) + rss? ( $(add_kdebase_dep kdepimlibs) ) + shutdown? ( + $(add_kdebase_dep libkworkspace) + $(add_kdebase_dep solid) + ) +" +DEPEND=3D"${COMMONDEPEND} + dev-libs/boost + sys-devel/gettext +" +RDEPEND=3D"${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=3D( + $(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 +}