Gentoo Archives: gentoo-commits

From: "Andreas HAttel (dilfridge)" <dilfridge@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-p2p/ktorrent: ChangeLog ktorrent-4.1.3.ebuild
Date: Fri, 30 Dec 2011 23:14:27
Message-Id: 20111230231415.529982004C@flycatcher.gentoo.org
1 dilfridge 11/12/30 23:14:15
2
3 Modified: ChangeLog
4 Added: ktorrent-4.1.3.ebuild
5 Log:
6 Version bump including a backport of the kde-4.8 support, bug 392343
7
8 (Portage version: 2.1.10.41/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.173 net-p2p/ktorrent/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/ktorrent/ChangeLog?rev=1.173&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/ktorrent/ChangeLog?rev=1.173&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/ktorrent/ChangeLog?r1=1.172&r2=1.173
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-p2p/ktorrent/ChangeLog,v
20 retrieving revision 1.172
21 retrieving revision 1.173
22 diff -u -r1.172 -r1.173
23 --- ChangeLog 15 Dec 2011 22:22:43 -0000 1.172
24 +++ ChangeLog 30 Dec 2011 23:14:15 -0000 1.173
25 @@ -1,6 +1,12 @@
26 # ChangeLog for net-p2p/ktorrent
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/ktorrent/ChangeLog,v 1.172 2011/12/15 22:22:43 ago Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/ktorrent/ChangeLog,v 1.173 2011/12/30 23:14:15 dilfridge Exp $
30 +
31 +*ktorrent-4.1.3 (30 Dec 2011)
32 +
33 + 30 Dec 2011; Andreas K. Huettel <dilfridge@g.o>
34 + +ktorrent-4.1.3.ebuild, +files/ktorrent-4.1.3-tasks.patch:
35 + Version bump including a backport of the kde-4.8 support, bug 392343
36
37 15 Dec 2011; Agostino Sarubbo <ago@g.o> ktorrent-4.1.2.ebuild:
38 Stable for AMD64, wrt bug #394867
39
40
41
42 1.1 net-p2p/ktorrent/ktorrent-4.1.3.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/ktorrent/ktorrent-4.1.3.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/ktorrent/ktorrent-4.1.3.ebuild?rev=1.1&content-type=text/plain
46
47 Index: ktorrent-4.1.3.ebuild
48 ===================================================================
49 # Copyright 1999-2011 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/net-p2p/ktorrent/ktorrent-4.1.3.ebuild,v 1.1 2011/12/30 23:14:15 dilfridge Exp $
52
53 EAPI=4
54
55 KDE_SCM="git"
56 KDE_MINIMAL="4.5"
57 LIBKT_VERSION_MIN="${PV}"
58 LIBKT_VERSION_MAX="99999999"
59 if [[ ${PV} != 9999* ]]; then
60 inherit versionator
61 # upstream likes to skip that _ in beta releases
62 MY_PV="${PV/_/}"
63 LIBKT_VERSION_MIN=$(($(get_major_version)-3)).$(get_version_component_range 2-3 ${PV})
64 LIBKT_VERSION_MAX=$(($(get_major_version)-3)).$(($(get_version_component_range 2)+1))
65 MY_P="${PN}-${MY_PV}"
66 KDE_HANDBOOK="optional"
67 KDE_DOC_DIRS="doc"
68
69 KDE_LINGUAS="ar ast be bg ca ca@valencia cs da de el en_GB eo es et eu
70 fi fr ga gl hi hne hr hu is it ja km lt lv mai ms nb nds nl nn oc
71 pl pt pt_BR ro ru se si sk sl sr sr@ijekavian sr@ijekavianlatin
72 sr@latin sv tr uk zh_CN zh_TW"
73 SRC_URI="http://ktorrent.org/downloads/${MY_PV}/${MY_P}.tar.bz2"
74 S="${WORKDIR}"/"${MY_P}"
75
76 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
77 else
78 LIBKT_VERSION_MIN="${PV}"
79 LIBKT_VERSION_MAX="99999999"
80 KEYWORDS=""
81 fi
82
83 inherit kde4-base
84
85 DESCRIPTION="A BitTorrent program for KDE."
86 HOMEPAGE="http://ktorrent.org/"
87
88 LICENSE="GPL-2"
89 SLOT="4"
90 IUSE="+bwscheduler debug +downloadorder +infowidget +ipfilter +kross +logviewer
91 +magnetgenerator +mediaplayer plasma rss +scanfolder +search +shutdown +stats
92 +upnp webinterface +zeroconf"
93
94 COMMONDEPEND="
95 <net-libs/libktorrent-${LIBKT_VERSION_MAX}
96 >=net-libs/libktorrent-${LIBKT_VERSION_MIN}
97 infowidget? ( dev-libs/geoip )
98 mediaplayer? ( >=media-libs/taglib-1.5 )
99 plasma? ( $(add_kdebase_dep libtaskmanager) )
100 rss? ( $(add_kdebase_dep kdepimlibs) )
101 shutdown? (
102 $(add_kdebase_dep libkworkspace)
103 $(add_kdebase_dep solid)
104 )
105 "
106 DEPEND="${COMMONDEPEND}
107 dev-libs/boost
108 sys-devel/gettext
109 "
110 RDEPEND="${COMMONDEPEND}
111 ipfilter? (
112 app-arch/bzip2
113 app-arch/unzip
114 $(add_kdebase_dep kdebase-kioslaves)
115 )
116 kross? ( $(add_kdebase_dep krosspython) )
117 "
118
119 PATCHES=( "${FILESDIR}/${P}-tasks.patch" )
120
121 src_prepare() {
122 if ! use plasma; then
123 sed -i \
124 -e "s:add_subdirectory(plasma):#nada:g" \
125 CMakeLists.txt || die "Failed to make plasmoid optional"
126 fi
127
128 kde4-base_src_prepare
129 }
130
131 src_configure() {
132 mycmakeargs=(
133 $(cmake-utils_use_enable bwscheduler BWSCHEDULER_PLUGIN)
134 $(cmake-utils_use_enable downloadorder DOWNLOADORDER_PLUGIN)
135 $(cmake-utils_use_enable infowidget INFOWIDGET_PLUGIN)
136 $(cmake-utils_use_with infowidget SYSTEM_GEOIP)
137 $(cmake-utils_use_enable ipfilter IPFILTER_PLUGIN)
138 $(cmake-utils_use_enable kross SCRIPTING_PLUGIN)
139 $(cmake-utils_use_enable logviewer LOGVIEWER_PLUGIN)
140 $(cmake-utils_use_enable magnetgenerator MAGNETGENERATOR_PLUGIN)
141 $(cmake-utils_use_enable mediaplayer MEDIAPLAYER_PLUGIN)
142 $(cmake-utils_use_enable rss SYNDICATION_PLUGIN)
143 $(cmake-utils_use_enable scanfolder SCANFOLDER_PLUGIN)
144 $(cmake-utils_use_enable search SEARCH_PLUGIN)
145 $(cmake-utils_use_enable shutdown SHUTDOWN_PLUGIN)
146 $(cmake-utils_use_enable stats STATS_PLUGIN)
147 $(cmake-utils_use_enable upnp UPNP_PLUGIN)
148 $(cmake-utils_use_enable webinterface WEBINTERFACE_PLUGIN)
149 $(cmake-utils_use_enable zeroconf ZEROCONF_PLUGIN)
150 )
151 kde4-base_src_configure
152 }