Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 428252 | Differences between
and this patch

Collapse All | Expand All

(-)aria2-1.15.0.ebuild.orig (-5 / +8 lines)
Lines 4-16 Link Here
4
4
5
EAPI="4"
5
EAPI="4"
6
6
7
inherit bash-completion-r1
7
inherit bash-completion-r1 multilib
8
8
9
DESCRIPTION="A download utility with resuming and segmented downloading with HTTP/HTTPS/FTP/BitTorrent support."
9
DESCRIPTION="A download utility with resuming and segmented downloading with HTTP/HTTPS/FTP/BitTorrent support."
10
HOMEPAGE="http://aria2.sourceforge.net/"
10
HOMEPAGE="http://aria2.sourceforge.net/"
11
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
11
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
12
LICENSE="GPL-2"
12
LICENSE="GPL-2"
13
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
13
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
14
SLOT="0"
14
SLOT="0"
15
IUSE="ares bittorrent doc expat gnutls metalink nettle nls scripts sqlite ssl test xmlrpc"
15
IUSE="ares bittorrent doc expat gnutls metalink nettle nls scripts sqlite ssl test xmlrpc"
16
REQUIRED_USE="gnutls? ( ssl )"
16
REQUIRED_USE="gnutls? ( ssl )"
Lines 56-62 Link Here
56
src_configure() {
56
src_configure() {
57
	local myconf="--without-gnutls --without-openssl"
57
	local myconf="--without-gnutls --without-openssl"
58
	use ssl && \
58
	use ssl && \
59
		myconf="$(use_with gnutls) $(use_with !gnutls openssl)"
59
		myconf="$(use_with gnutls) $(use_with !gnutls openssl) \
60
		$(use_with !gnutls openssl-prefix "${EPREFIX}")"
60
61
61
	# according to upstream:
62
	# according to upstream:
62
	# * only link against one of the crypto-libs if bittorrent-support is requested
63
	# * only link against one of the crypto-libs if bittorrent-support is requested
Lines 72-78 Link Here
72
	fi
73
	fi
73
74
74
	if use metalink || use xmlrpc ; then
75
	if use metalink || use xmlrpc ; then
75
		myconf+=" $(use_with expat libexpat) $(use_with !expat libxml2)"
76
		myconf+=" $(use_with expat libexpat) $(use_with expat libexpat-prefix "${EPREFIX}") $(use_with !expat libxml2)"
76
	else
77
	else
77
		myconf+=" --without-libexpat --without-libxml2"
78
		myconf+=" --without-libexpat --without-libxml2"
78
	fi
79
	fi
Lines 93-107 Link Here
93
		$(use_enable nls) \
94
		$(use_enable nls) \
94
		$(use_enable metalink) \
95
		$(use_enable metalink) \
95
		$(use_with sqlite sqlite3) \
96
		$(use_with sqlite sqlite3) \
97
		$(use_with sqlite sqlite3-prefix "${EPREFIX}") \
96
		$(use_enable bittorrent) \
98
		$(use_enable bittorrent) \
97
		$(use_with ares libcares) \
99
		$(use_with ares libcares) \
100
		$(use_with ares libcares-prefix "${EPREFIX}") \
98
		${myconf}
101
		${myconf}
99
}
102
}
100
103
101
src_install() {
104
src_install() {
102
	default
105
	default
103
106
104
	rm -rf "${D}/usr/share/doc/aria2"
107
	rm -rf "${ED}/usr/share/doc/aria2"
105
	dohtml README.html doc/aria2c.1.html
108
	dohtml README.html doc/aria2c.1.html
106
109
107
	use bash-completion && dobashcomp doc/bash_completion/aria2c
110
	use bash-completion && dobashcomp doc/bash_completion/aria2c

Return to bug 428252