From: | "Dror Levin (spatz)" <spatz@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-libs/libktorrent: metadata.xml ChangeLog libktorrent-1.0.0.ebuild |
Date: | Thu, 27 May 2010 23:01:26 |
Message-Id: | 20100527230122.EACE62CF39@corvid.gentoo.org |
1 | spatz 10/05/27 23:01:22 |
2 | |
3 | Added: metadata.xml ChangeLog libktorrent-1.0.0.ebuild |
4 | Log: |
5 | Initial import from kde overlay, thanks to all people who worked on it there. |
6 | (Portage version: 2.2_rc67/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 net-libs/libktorrent/metadata.xml |
10 | |
11 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libktorrent/metadata.xml?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libktorrent/metadata.xml?rev=1.1&content-type=text/plain |
13 | |
14 | Index: metadata.xml |
15 | =================================================================== |
16 | <?xml version="1.0" encoding="UTF-8"?> |
17 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
18 | <pkgmetadata> |
19 | <herd>kde</herd> |
20 | </pkgmetadata> |
21 | |
22 | |
23 | |
24 | 1.1 net-libs/libktorrent/ChangeLog |
25 | |
26 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libktorrent/ChangeLog?rev=1.1&view=markup |
27 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libktorrent/ChangeLog?rev=1.1&content-type=text/plain |
28 | |
29 | Index: ChangeLog |
30 | =================================================================== |
31 | # ChangeLog for net-libs/libktorrent |
32 | # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
33 | # $Header: /var/cvsroot/gentoo-x86/net-libs/libktorrent/ChangeLog,v 1.1 2010/05/27 23:01:22 spatz Exp $ |
34 | |
35 | *libktorrent-1.0.0 (27 May 2010) |
36 | |
37 | 27 May 2010; Dror Levin <spatz@g.o> +libktorrent-1.0.0.ebuild, |
38 | +metadata.xml: |
39 | Initial import from kde overlay, thanks to all people who worked on it |
40 | there. |
41 | |
42 | |
43 | |
44 | |
45 | 1.1 net-libs/libktorrent/libktorrent-1.0.0.ebuild |
46 | |
47 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libktorrent/libktorrent-1.0.0.ebuild?rev=1.1&view=markup |
48 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libktorrent/libktorrent-1.0.0.ebuild?rev=1.1&content-type=text/plain |
49 | |
50 | Index: libktorrent-1.0.0.ebuild |
51 | =================================================================== |
52 | # Copyright 1999-2010 Gentoo Foundation |
53 | # Distributed under the terms of the GNU General Public License v2 |
54 | # $Header: /var/cvsroot/gentoo-x86/net-libs/libktorrent/libktorrent-1.0.0.ebuild,v 1.1 2010/05/27 23:01:22 spatz Exp $ |
55 | |
56 | EAPI="2" |
57 | |
58 | inherit kde4-base |
59 | |
60 | KTORRENT_VERSION="4.0" |
61 | DESCRIPTION="A BitTorrent library based on KDE Platform" |
62 | HOMEPAGE="http://ktorrent.org/" |
63 | SRC_URI="http://ktorrent.org/downloads/${KTORRENT_VERSION}/${P}.tar.bz2" |
64 | |
65 | LICENSE="GPL-2" |
66 | KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86" |
67 | SLOT="4" |
68 | IUSE="debug doc" |
69 | |
70 | COMMONDEPEND=" |
71 | app-crypt/qca:2 |
72 | dev-libs/gmp |
73 | " |
74 | DEPEND="${COMMONDEPEND} |
75 | dev-libs/boost |
76 | sys-devel/gettext |
77 | doc? ( app-doc/doxygen[-nodot] ) |
78 | " |
79 | RDEPEND="${COMMONDEPEND}" |
80 | |
81 | src_compile() { |
82 | cmake-utils_src_compile |
83 | |
84 | use doc && cmake-utils_src_compile docs |
85 | } |
86 | |
87 | src_install() { |
88 | use doc && HTML_DOCS="${CMAKE_BUILD_DIR}"/apidocs/html/ |
89 | |
90 | cmake-utils_src_install |
91 | } |