1 |
commit: 28f8cabe464ae272f54ba547adc9fdd33a51b597 |
2 |
Author: Davide Pesavento <pesa <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri May 27 17:39:32 2016 +0000 |
4 |
Commit: Davide Pesavento <pesa <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 27 17:39:32 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28f8cabe |
7 |
|
8 |
net-p2p/qbittorrent: drop -r0, not a stable candidate |
9 |
|
10 |
Package-Manager: portage-2.3.0_rc1 |
11 |
|
12 |
net-p2p/qbittorrent/qbittorrent-3.3.4.ebuild | 85 ---------------------------- |
13 |
1 file changed, 85 deletions(-) |
14 |
|
15 |
diff --git a/net-p2p/qbittorrent/qbittorrent-3.3.4.ebuild b/net-p2p/qbittorrent/qbittorrent-3.3.4.ebuild |
16 |
deleted file mode 100644 |
17 |
index 786574f..0000000 |
18 |
--- a/net-p2p/qbittorrent/qbittorrent-3.3.4.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,85 +0,0 @@ |
21 |
-# Copyright 1999-2016 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
-# $Id$ |
24 |
- |
25 |
-EAPI=5 |
26 |
-PYTHON_COMPAT=( python2_7 python3_{3,4,5} ) |
27 |
- |
28 |
-inherit eutils python-r1 qt4-r2 flag-o-matic |
29 |
- |
30 |
-DESCRIPTION="BitTorrent client in C++ and Qt" |
31 |
-HOMEPAGE="http://www.qbittorrent.org/" |
32 |
- |
33 |
-MY_P=${P/_} |
34 |
-if [[ ${PV} == *9999* ]]; then |
35 |
- inherit git-r3 |
36 |
- EGIT_REPO_URI="https://github.com/${PN}/qBittorrent.git" |
37 |
-else |
38 |
- SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.xz" |
39 |
- KEYWORDS="~amd64 ~arm ~ppc64 ~x86" |
40 |
-fi |
41 |
- |
42 |
-LICENSE="GPL-2" |
43 |
-SLOT="0" |
44 |
-IUSE="+dbus debug qt4 +qt5 webui +X" |
45 |
-REQUIRED_USE=" |
46 |
- ^^ ( qt4 qt5 ) |
47 |
- dbus? ( X ) |
48 |
-" |
49 |
- |
50 |
-CDEPEND=" |
51 |
- dev-libs/boost:= |
52 |
- >=dev-qt/qtsingleapplication-2.6.1_p20130904-r1[qt4?,qt5?,X?] |
53 |
- >=net-libs/rb_libtorrent-1.0.6 |
54 |
- sys-libs/zlib |
55 |
- qt4? ( |
56 |
- dev-qt/qtcore:4 |
57 |
- dbus? ( dev-qt/qtdbus:4 ) |
58 |
- X? ( dev-qt/qtgui:4 ) |
59 |
- ) |
60 |
- qt5? ( |
61 |
- dev-qt/qtconcurrent:5 |
62 |
- dev-qt/qtcore:5 |
63 |
- dev-qt/qtnetwork:5 |
64 |
- dev-qt/qtxml:5 |
65 |
- dbus? ( dev-qt/qtdbus:5 ) |
66 |
- X? ( dev-qt/qtgui:5 |
67 |
- dev-qt/qtwidgets:5 ) |
68 |
- ) |
69 |
-" |
70 |
-DEPEND="${CDEPEND} |
71 |
- qt5? ( dev-qt/linguist-tools:5 ) |
72 |
- virtual/pkgconfig |
73 |
-" |
74 |
-RDEPEND="${CDEPEND} |
75 |
- ${PYTHON_DEPS}" |
76 |
- |
77 |
-S=${WORKDIR}/${MY_P} |
78 |
-DOCS=(AUTHORS Changelog README.md TODO) |
79 |
- |
80 |
-src_prepare() { |
81 |
- epatch_user |
82 |
- qt4-r2_src_prepare |
83 |
-} |
84 |
- |
85 |
-src_configure() { |
86 |
- # See bug 569062 |
87 |
- append-cppflags "-DBOOST_NO_CXX11_REF_QUALIFIERS" |
88 |
- |
89 |
- # Custom configure script, econf fails |
90 |
- local myconf=( |
91 |
- ./configure |
92 |
- --prefix="${EPREFIX}/usr" |
93 |
- --with-qtsingleapplication=system |
94 |
- $(use dbus || echo --disable-qt-dbus) |
95 |
- $(use debug && echo --enable-debug) |
96 |
- $(use qt4 && echo --with-qt4) |
97 |
- $(use webui || echo --disable-webui) |
98 |
- $(use X || echo --disable-gui) |
99 |
- ) |
100 |
- |
101 |
- echo "${myconf[@]}" |
102 |
- "${myconf[@]}" || die "configure failed" |
103 |
- use qt4 && eqmake4 |
104 |
- use qt5 && eqmake5 |
105 |
-} |