Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-p2p/airdcpp-webclient/
Date: Fri, 26 Aug 2016 09:03:41
Message-Id: 1472202201.a1083b233c98a0503005fac49644ef6677d9f031.monsieurp@gentoo
1 commit: a1083b233c98a0503005fac49644ef6677d9f031
2 Author: Louis Sautier <sautier.louis <AT> gmail <DOT> com>
3 AuthorDate: Thu Aug 25 22:56:17 2016 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 26 09:03:21 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1083b23
7
8 net-p2p/airdcpp-webclient: version bump to 1.2.0.
9
10 Package-Manager: portage-2.3.0
11 Closes: https://github.com/gentoo/gentoo/pull/2147
12
13 Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
14
15 net-p2p/airdcpp-webclient/Manifest | 1 +
16 .../airdcpp-webclient-1.2.0.ebuild | 63 ++++++++++++++++++++++
17 2 files changed, 64 insertions(+)
18
19 diff --git a/net-p2p/airdcpp-webclient/Manifest b/net-p2p/airdcpp-webclient/Manifest
20 index c0b4990..b184534 100644
21 --- a/net-p2p/airdcpp-webclient/Manifest
22 +++ b/net-p2p/airdcpp-webclient/Manifest
23 @@ -1,2 +1,3 @@
24 DIST airdcpp-webclient-1.0.7.tar.gz 717747 SHA256 a98a7a478a99334ddb2ed91eef888cec2ee71601d894d16f100b35e7849f0265 SHA512 15501fa6e7f48241f27b2bbffb977731fe2fb35043ddd6d15575ba5fe29271548093098298a82c67d8f0b32a3194b5a14f1197053c39199612aebc1ab296e0c2 WHIRLPOOL 118ec35af049fdb6ffb24fcf97e1c9e47e6b9e66399dcc83a7137b5a3a8257b3015039f13d690e52d3dac3cacc7c450d6ff5cc13b4d55440a27b7c8b9de3c9cb
25 DIST airdcpp-webclient-1.1.0.tar.gz 722280 SHA256 bfd6cba9fedd1ffba92826ec80d0ee97e15a67baba9b55627b489cf54ae28c33 SHA512 ae23108e4ab7175fe84c5effad22974afd27b20f7aaa0b1013c51d87f54b30d86bd13dda12b3af19b8b4bb7996b8ad3895ffdd4ce7992c1505715eaeba2d5a87 WHIRLPOOL 121b3f5f4614bb2c39f475087b16c93451640d3a4d1a6abeae9fcf514d75cfd5c156ea3eefa28cc5bc1d0b1bb0c5c731ae31ec80fe547861b8e8bd96d404aaaf
26 +DIST airdcpp-webclient-1.2.0.tar.gz 724103 SHA256 d85177c3183b93c9573dd325c67724b5e86ec50f50c4a6b00797f3b6d22caf98 SHA512 d84e9970f4e3c354bfd97b6b0a6a62657a05817f0444afc56717b0e77e1f15b4c3598f024a0f6c096e55e5b36230ffd25cbc7953131c293b386722871535fccb WHIRLPOOL 9fe690371cdc6ca56e2d8c8513dd83d8fd67a9c4a68ae625a8c14781cb17aa7bed31c7e0375c3180705ea7855aaa7f511bcfcf172d66ce2128364e6abf5fe9d7
27
28 diff --git a/net-p2p/airdcpp-webclient/airdcpp-webclient-1.2.0.ebuild b/net-p2p/airdcpp-webclient/airdcpp-webclient-1.2.0.ebuild
29 new file mode 100644
30 index 00000000..0fa03c3
31 --- /dev/null
32 +++ b/net-p2p/airdcpp-webclient/airdcpp-webclient-1.2.0.ebuild
33 @@ -0,0 +1,63 @@
34 +# Copyright 1999-2016 Gentoo Foundation
35 +# Distributed under the terms of the GNU General Public License v2
36 +# $Id$
37 +
38 +EAPI=6
39 +
40 +inherit cmake-utils user
41 +
42 +DESCRIPTION="Cross-platform Direct Connect client"
43 +HOMEPAGE="https://airdcpp-web.github.io/"
44 +SRC_URI="https://github.com/airdcpp-web/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
45 +
46 +KEYWORDS="~amd64 ~x86"
47 +LICENSE="GPL-2+"
48 +SLOT="0"
49 +IUSE="nat-pmp +tbb +webui"
50 +
51 +RDEPEND="
52 + app-arch/bzip2
53 + dev-cpp/websocketpp
54 + dev-libs/boost
55 + dev-libs/geoip
56 + dev-libs/leveldb
57 + dev-libs/openssl:0=[-bindist]
58 + net-libs/miniupnpc
59 + sys-libs/zlib
60 + virtual/libiconv
61 + nat-pmp? ( net-libs/libnatpmp )
62 + tbb? ( dev-cpp/tbb )
63 +"
64 +DEPEND="
65 + dev-lang/python:*
66 + virtual/pkgconfig
67 + ${RDEPEND}
68 +"
69 +PDEPEND="webui? ( www-apps/airdcpp-webui )"
70 +
71 +src_configure() {
72 + local mycmakeargs=(
73 + -DINSTALL_WEB_UI=OFF
74 + -DLIB_INSTALL_DIR=$(get_libdir)
75 + )
76 + cmake-utils_src_configure
77 +}
78 +
79 +src_install() {
80 + newconfd "${FILESDIR}/airdcppd.confd" airdcppd
81 + newinitd "${FILESDIR}/airdcppd.initd" airdcppd
82 + keepdir /var/lib/airdcppd
83 + fowners airdcppd:airdcppd /var/lib/airdcppd
84 + cmake-utils_src_install
85 +}
86 +
87 +pkg_setup() {
88 + enewgroup airdcppd
89 + enewuser airdcppd -1 -1 /var/lib/airdcppd airdcppd
90 +}
91 +
92 +pkg_postinst() {
93 + if [[ -z "${REPLACING_VERSIONS}" ]]; then
94 + elog "Run 'airdcppd --configure' to set up ports and authentication"
95 + fi
96 +}