1 |
commit: de6065c1cdf392382a4ffc19fcd63276cc32e00d |
2 |
Author: Johannes Huber <johu <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jul 16 13:27:00 2018 +0000 |
4 |
Commit: Johannes Huber <johu <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jul 16 13:27:31 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de6065c1 |
7 |
|
8 |
dev-cpp/websocketpp: Version bump 0.8.1 |
9 |
|
10 |
Package-Manager: Portage-2.3.43, Repoman-2.3.10 |
11 |
|
12 |
dev-cpp/websocketpp/Manifest | 1 + |
13 |
dev-cpp/websocketpp/websocketpp-0.8.1.ebuild | 39 ++++++++++++++++++++++++++++ |
14 |
2 files changed, 40 insertions(+) |
15 |
|
16 |
diff --git a/dev-cpp/websocketpp/Manifest b/dev-cpp/websocketpp/Manifest |
17 |
index 201bbe26e33..16773470233 100644 |
18 |
--- a/dev-cpp/websocketpp/Manifest |
19 |
+++ b/dev-cpp/websocketpp/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST websocketpp-0.7.0.tar.gz 682271 BLAKE2B 4da1fb076c2f533cdbdaa2cc0b0b45509216fcbc3b465f137905a34477aff0e93005f36d0257f314fd91b7de59e587e1b1df9af664a717b8dbf477b168025f26 SHA512 91a86d4f5120db3f474169bb146f865f82167b1e9eedabec8793b31005e4ce3d22083283bc1b9f9e37fa0da835addcb2b68260a27c753852c06b3b1bb2f3c12e |
22 |
+DIST websocketpp-0.8.1.tar.gz 699468 BLAKE2B e5769229b400d2f42e69541b07cfba17dcc82cdad20685a52ac1130c2fc4e94764a38d2e4f7c36101b11705e10c67eb149ba2c30750e7a6f63696d52c272fed2 SHA512 35e0261ed0285acf77d300768819bd380197de8acdf68223e2d7598481b9bfd69cb1653b435139771b1db6c16530c8d8cf9a887a8a6bba3fea126d0da4dbc13c |
23 |
|
24 |
diff --git a/dev-cpp/websocketpp/websocketpp-0.8.1.ebuild b/dev-cpp/websocketpp/websocketpp-0.8.1.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..0818e872e79 |
27 |
--- /dev/null |
28 |
+++ b/dev-cpp/websocketpp/websocketpp-0.8.1.ebuild |
29 |
@@ -0,0 +1,39 @@ |
30 |
+# Copyright 1999-2018 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=6 |
34 |
+ |
35 |
+inherit cmake-utils |
36 |
+ |
37 |
+DESCRIPTION="C++/Boost Asio based websocket client/server library" |
38 |
+HOMEPAGE="http://www.zaphoyd.com/websocketpp" |
39 |
+SRC_URI="https://github.com/zaphoyd/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
40 |
+ |
41 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc64 ~x86" |
42 |
+LICENSE="BSD" |
43 |
+SLOT="0" |
44 |
+IUSE="boost examples test" |
45 |
+ |
46 |
+DEPEND="" |
47 |
+RDEPEND="${DEPEND} |
48 |
+ boost? ( dev-libs/boost ) |
49 |
+" |
50 |
+ |
51 |
+# bug 630450 |
52 |
+RESTRICT="test" |
53 |
+ |
54 |
+PATCHES=( "${FILESDIR}/${PN}-0.7.0-cmake-install.patch" ) |
55 |
+ |
56 |
+src_configure() { |
57 |
+ local mycmakeargs=( |
58 |
+ -DENABLE_CPP11="$(usex !boost)" |
59 |
+ -DBUILD_TESTS="$(usex test)" |
60 |
+ ) |
61 |
+ |
62 |
+ cmake-utils_src_configure |
63 |
+} |
64 |
+ |
65 |
+src_install() { |
66 |
+ use examples && DOCS=( examples/ ) |
67 |
+ cmake-utils_src_install |
68 |
+} |