Gentoo Archives: gentoo-commits

From: "Timo Gurr (tgurr)" <tgurr@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-p2p/ktorrent: ChangeLog ktorrent-3.0.0.ebuild
Date: Fri, 22 Feb 2008 16:54:58
Message-Id: E1JSbAk-0006IS-RO@stork.gentoo.org
1 tgurr 08/02/22 16:54:54
2
3 Modified: ChangeLog
4 Added: ktorrent-3.0.0.ebuild
5 Log:
6 Add ktorrent-3.0.0.ebuild, first ktorrent release based on KDE4.
7 (Portage version: 2.1.4.4)
8
9 Revision Changes Path
10 1.79 net-p2p/ktorrent/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/ktorrent/ChangeLog?rev=1.79&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/ktorrent/ChangeLog?rev=1.79&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/ktorrent/ChangeLog?r1=1.78&r2=1.79
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-p2p/ktorrent/ChangeLog,v
19 retrieving revision 1.78
20 retrieving revision 1.79
21 diff -u -r1.78 -r1.79
22 --- ChangeLog 19 Feb 2008 02:03:09 -0000 1.78
23 +++ ChangeLog 22 Feb 2008 16:54:54 -0000 1.79
24 @@ -1,6 +1,11 @@
25 # ChangeLog for net-p2p/ktorrent
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/ktorrent/ChangeLog,v 1.78 2008/02/19 02:03:09 ingmar Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/ktorrent/ChangeLog,v 1.79 2008/02/22 16:54:54 tgurr Exp $
29 +
30 +*ktorrent-3.0.0 (22 Feb 2008)
31 +
32 + 22 Feb 2008; Timo Gurr <tgurr@g.o> +ktorrent-3.0.0.ebuild:
33 + Add ktorrent-3.0.0.ebuild, first ktorrent release based on KDE4.
34
35 19 Feb 2008; Ingmar Vanhassel <ingmar@g.o> ktorrent-2.2.4.ebuild,
36 ktorrent-2.2.5-r1.ebuild:
37
38
39
40 1.1 net-p2p/ktorrent/ktorrent-3.0.0.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/ktorrent/ktorrent-3.0.0.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/ktorrent/ktorrent-3.0.0.ebuild?rev=1.1&content-type=text/plain
44
45 Index: ktorrent-3.0.0.ebuild
46 ===================================================================
47 # Copyright 1999-2008 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/net-p2p/ktorrent/ktorrent-3.0.0.ebuild,v 1.1 2008/02/22 16:54:54 tgurr Exp $
50
51 EAPI="1"
52
53 NEED_KDE="4.0.0"
54 inherit kde4-base versionator
55
56 # Install to KDEDIR rather than /usr, to slot properly.
57 PREFIX="${KDEDIR}"
58
59 DESCRIPTION="A BitTorrent program for KDE."
60 HOMEPAGE="http://ktorrent.org/"
61 SRC_URI="http://${PN}.org/downloads/${PV}/${P}.tar.bz2"
62
63 LICENSE="GPL-2"
64 KEYWORDS="~amd64 ~x86"
65 SLOT="kde-4"
66 IUSE="+bwscheduler +infowidget +ipfilter +logviewer +scanfolder +search +stats +upnp +webinterface +zeroconf"
67
68 DEPEND="dev-libs/gmp
69 app-crypt/qca:2"
70 RDEPEND="${DEPEND}
71 infowidget? ( >=dev-libs/geoip-1.4.4 )
72 ipfilter? (
73 || ( >=kde-base/kdebase-kioslaves-4.0.0:${SLOT}
74 >=kde-base/kdebase-4.0.0:${SLOT} ) )
75 zeroconf? (
76 || ( >=kde-base/kdnssd-4.0.0:${SLOT}
77 >=kde-base/kdenetwork-4.0.0:${SLOT} ) )"
78
79 LANGS="ar be bg ca da de el en_GB eo es et eu fi fr ga gl hu it ja km lt nb nds nl nn
80 oc pl pt pt_BR ru se sk sr sv tr uk zh_CN zh_TW"
81
82 for X in ${LANGS}; do
83 IUSE="${IUSE} linguas_${X}"
84 done
85
86 src_compile() {
87 comment_all_add_subdirectory po/ || die "sed to remove all linguas failed."
88
89 local X
90 for X in ${LANGS}; do
91 if use linguas_${X}; then
92 sed -i -e "/add_subdirectory(\s*${X}\s*)\s*$/ s/^#DONOTCOMPILE //" \
93 po/CMakeLists.txt || die "sed to uncomment ${lang} failed."
94 fi
95 done
96
97 mycmakeargs="${mycmakeargs}
98 -DCMAKE_INSTALL_PREFIX=${PREFIX}
99 -DENABLE_DHT_SUPPORT=ON
100 $(cmake-utils_use_enable bwscheduler BWSCHEDULER_PLUGIN)
101 $(cmake-utils_use_enable infowidget INFOWIDGET_PLUGIN)
102 $(cmake-utils_use_with infowidget SYSTEM_GEOIP)
103 $(cmake-utils_use_enable ipfilter IPFILTER_PLUGIN)
104 $(cmake-utils_use_enable logviewer LOGVIEWER_PLUGIN)
105 $(cmake-utils_use_enable scanfolder SCANFOLDER_PLUGIN)
106 $(cmake-utils_use_enable search SEARCH_PLUGIN)
107 $(cmake-utils_use_enable stats STATS_PLUGIN)
108 $(cmake-utils_use_enable upnp UPNP_PLUGIN)
109 $(cmake-utils_use_enable webinterface WEBINTERFACE_PLUGIN)
110 $(cmake-utils_use_enable zeroconf ZEROCONF_PLUGIN)"
111 kde4-base_src_compile
112 }
113
114
115
116 --
117 gentoo-commits@l.g.o mailing list