Gentoo Archives: gentoo-commits

From: Sam Jorna <wraeth@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-p2p/airdcpp-webclient/
Date: Wed, 27 Apr 2016 15:08:02
Message-Id: 1461769659.40909e66ea68b9202f8ff0eae589b60c45d9f526.wraeth@gentoo
1 commit: 40909e66ea68b9202f8ff0eae589b60c45d9f526
2 Author: Louis Sautier <sautier.louis <AT> gmail <DOT> com>
3 AuthorDate: Wed Apr 27 13:06:35 2016 +0000
4 Commit: Sam Jorna <wraeth <AT> gentoo <DOT> org>
5 CommitDate: Wed Apr 27 15:07:39 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40909e66
7
8 net-p2p/airdcpp-webclient: bump to 1.0.3
9
10 Package-Manager: portage-2.2.28
11
12 net-p2p/airdcpp-webclient/Manifest | 1 +
13 .../airdcpp-webclient-1.0.3.ebuild | 62 ++++++++++++++++++++++
14 2 files changed, 63 insertions(+)
15
16 diff --git a/net-p2p/airdcpp-webclient/Manifest b/net-p2p/airdcpp-webclient/Manifest
17 index 223d3e1..3167448 100644
18 --- a/net-p2p/airdcpp-webclient/Manifest
19 +++ b/net-p2p/airdcpp-webclient/Manifest
20 @@ -1,3 +1,4 @@
21 DIST airdcpp-webclient-1.0.0.tar.gz 705277 SHA256 46c19884e220f39924a59c98d09743f2e9017a11bc81f7f95f5419798627813b SHA512 5a8523f15f6ee598d9b5dde502a80831ab8bb7c36c2fa60abb88232619c1e0f64ee3a2d08f1f90ec1a8af6ee0571733f353514522975614fc036d9f6655610ac WHIRLPOOL ef9aad1bc02fdcf66355ceea9302bacb79a69561b507963cec59bfb9f423d17316edcbccb1edba596e0acd93971eaf6f45661f5f90b3d16b007ed42b39e67535
22 DIST airdcpp-webclient-1.0.1.tar.gz 705436 SHA256 865cb00afa63076ebc1e9f8136380452f8b4d264b8381814cd209acb48525c6c SHA512 5312758d80741434941d43b1312689a25cb96f2e50ca4392074e356dc619d6949fd4ba8a6830ddb0ceb194d2f5a6616eb3b2e772d71efaeb1c49a53fcc5eb541 WHIRLPOOL 804ef5af06aa406511e10b22e320c031d59777d8f5e4ce1dfb02ea03559558741ff5ed6659c6a9175d6f4e1d9e87e0d564a01c9d23d0cba36bf1cf428d018e83
23 DIST airdcpp-webclient-1.0.2.tar.gz 705947 SHA256 ab5e23438d4a5ed820e5994f758a5e534ea2693096399b152c4e00f654a791fc SHA512 11b09adec44e594ca96f7bc3df81f2739f1f00261406d19277f97b336ff5a71281ad40d2b1f7238fbe1d0461e959f64e6391620ebd38166664e3a47f694d56d5 WHIRLPOOL 67f016e4a0b69410c91de188fc456913a04322fdc7a077fd1830338eaa6db2a8e5450791b9339c222e429ebb87419e8fa0accb420909b4dbe2e27f6ab0bedb26
24 +DIST airdcpp-webclient-1.0.3.tar.gz 706279 SHA256 97239cdb973fd892b01446766b78403852ad39ec44ed9e2b94bd3a4b5514b139 SHA512 8294889d89644476e99ffa6938a52b1f5e5659a2bb51fdd409f06b56295b6fd5788b79c8ab8491af0500331fc4d0bd782535b68778b914ebb841fa16bb47fb08 WHIRLPOOL a0644a6582a9c43621e8b31cc0ed8a100ab395da3b26a3287ec746ec1c58546d8d69e8e56f1b8c0eb0e53f4e5f369e1cfe758ed938f69d676b894ad052c263b7
25
26 diff --git a/net-p2p/airdcpp-webclient/airdcpp-webclient-1.0.3.ebuild b/net-p2p/airdcpp-webclient/airdcpp-webclient-1.0.3.ebuild
27 new file mode 100644
28 index 0000000..9c38324
29 --- /dev/null
30 +++ b/net-p2p/airdcpp-webclient/airdcpp-webclient-1.0.3.ebuild
31 @@ -0,0 +1,62 @@
32 +# Copyright 1999-2016 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +# $Id$
35 +
36 +EAPI=6
37 +
38 +inherit cmake-utils user
39 +
40 +DESCRIPTION="Cross-platform Direct Connect client"
41 +HOMEPAGE="https://github.com/airdcpp-web/airdcpp-webclient"
42 +SRC_URI="https://github.com/airdcpp-web/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
43 +
44 +KEYWORDS="~amd64 ~x86"
45 +LICENSE="GPL-2"
46 +SLOT="0"
47 +IUSE="nat-pmp +tbb +webui"
48 +
49 +RDEPEND="
50 + app-arch/bzip2
51 + dev-cpp/websocketpp
52 + dev-libs/boost
53 + dev-libs/geoip
54 + dev-libs/leveldb
55 + dev-libs/openssl:0=
56 + net-libs/miniupnpc
57 + sys-libs/zlib
58 + virtual/libiconv
59 + nat-pmp? ( net-libs/libnatpmp )
60 + tbb? ( dev-cpp/tbb )
61 +"
62 +DEPEND="
63 + dev-lang/python:*
64 + ${RDEPEND}
65 +"
66 +PDEPEND="webui? ( www-apps/airdcpp-webui )"
67 +
68 +src_configure() {
69 + local mycmakeargs=(
70 + -DINSTALL_WEB_UI=OFF
71 + -DLIB_INSTALL_DIR=$(get_libdir)
72 + )
73 + cmake-utils_src_configure
74 +}
75 +
76 +src_install() {
77 + newconfd "${FILESDIR}/airdcppd.confd" airdcppd
78 + newinitd "${FILESDIR}/airdcppd.initd" airdcppd
79 + keepdir /var/lib/airdcppd
80 + fowners airdcppd:airdcppd /var/lib/airdcppd
81 + cmake-utils_src_install
82 +}
83 +
84 +pkg_setup() {
85 + enewgroup airdcppd
86 + enewuser airdcppd -1 -1 /var/lib/airdcppd airdcppd
87 +}
88 +
89 +pkg_postinst() {
90 + if [[ -z "${REPLACING_VERSIONS}" ]]; then
91 + elog "Run 'airdcppd --configure' to set up ports and authentication"
92 + fi
93 +}