[gentoo-commits] repo/gentoo:master commit in: dev-cpp/websocketpp/

2021-12-05 Thread Sam James
commit: 47984d105a310620a7e91290c19d57ba9166aa62
Author: Sam James  gentoo  org>
AuthorDate: Sun Dec  5 18:30:43 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Dec  5 18:30:43 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47984d10

dev-cpp/websocketpp: Stabilize 0.8.2 x86, #828285

Signed-off-by: Sam James  gentoo.org>

 dev-cpp/websocketpp/websocketpp-0.8.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/websocketpp/websocketpp-0.8.2.ebuild 
b/dev-cpp/websocketpp/websocketpp-0.8.2.ebuild
index 4fd225f0d3dd..f9e11a9d8c95 100644
--- a/dev-cpp/websocketpp/websocketpp-0.8.2.ebuild
+++ b/dev-cpp/websocketpp/websocketpp-0.8.2.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/zaphoyd/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86"
 IUSE="examples test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/websocketpp/

2021-12-04 Thread Sam James
commit: e8826b281c30f93c9bb025a70cec2c34e71fd727
Author: Sam James  gentoo  org>
AuthorDate: Sun Dec  5 04:15:59 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Dec  5 04:15:59 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8826b28

dev-cpp/websocketpp: Stabilize 0.8.2 amd64, #828285

Signed-off-by: Sam James  gentoo.org>

 dev-cpp/websocketpp/websocketpp-0.8.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/websocketpp/websocketpp-0.8.2.ebuild 
b/dev-cpp/websocketpp/websocketpp-0.8.2.ebuild
index e7142f79cd03..4fd225f0d3dd 100644
--- a/dev-cpp/websocketpp/websocketpp-0.8.2.ebuild
+++ b/dev-cpp/websocketpp/websocketpp-0.8.2.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/zaphoyd/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
 IUSE="examples test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/websocketpp/

2021-11-03 Thread Yixun Lan
commit: 5015dee684bd2476e81a88b6617c551d05a7c04a
Author: Alex Fan  yahoo  com>
AuthorDate: Wed Nov  3 09:29:36 2021 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Thu Nov  4 05:42:37 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5015dee6

dev-cpp/websocketpp: keyword 0.8.2 for ~riscv

Signed-off-by: Alex Fan  yahoo.com>
Signed-off-by: Yixun Lan  gentoo.org>

 dev-cpp/websocketpp/websocketpp-0.8.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/websocketpp/websocketpp-0.8.2.ebuild 
b/dev-cpp/websocketpp/websocketpp-0.8.2.ebuild
index 3e9339f27db..e7142f79cd0 100644
--- a/dev-cpp/websocketpp/websocketpp-0.8.2.ebuild
+++ b/dev-cpp/websocketpp/websocketpp-0.8.2.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/zaphoyd/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
 IUSE="examples test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/websocketpp/

2021-08-07 Thread Sam James
commit: 105f86675d5d605f0611a85ca20a3375c460ef8c
Author: Sam James  gentoo  org>
AuthorDate: Sat Aug  7 23:33:38 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Aug  7 23:33:38 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=105f8667

dev-cpp/websocketpp: Stabilize 0.8.1-r1 x86, #806266

Signed-off-by: Sam James  gentoo.org>

 dev-cpp/websocketpp/websocketpp-0.8.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/websocketpp/websocketpp-0.8.1-r1.ebuild 
b/dev-cpp/websocketpp/websocketpp-0.8.1-r1.ebuild
index 78eb830b52a..d7b8d0935b9 100644
--- a/dev-cpp/websocketpp/websocketpp-0.8.1-r1.ebuild
+++ b/dev-cpp/websocketpp/websocketpp-0.8.1-r1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/zaphoyd/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc x86"
 IUSE="examples test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/websocketpp/

2021-08-06 Thread Agostino Sarubbo
commit: 814dde84ca64b1c9039c1e0a505334ca0b658a83
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Aug  7 05:08:20 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Aug  7 05:08:20 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=814dde84

dev-cpp/websocketpp: amd64 stable wrt bug #806266

Package-Manager: Portage-3.0.20, Repoman-3.0.2
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-cpp/websocketpp/websocketpp-0.8.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/websocketpp/websocketpp-0.8.1-r1.ebuild 
b/dev-cpp/websocketpp/websocketpp-0.8.1-r1.ebuild
index df98a5ee616..78eb830b52a 100644
--- a/dev-cpp/websocketpp/websocketpp-0.8.1-r1.ebuild
+++ b/dev-cpp/websocketpp/websocketpp-0.8.1-r1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/zaphoyd/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
 IUSE="examples test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/websocketpp/

2021-08-06 Thread Louis Sautier
commit: f6b8d54d93264414bf3e19a67e1c31aa18e718a9
Author: Louis Sautier  gentoo  org>
AuthorDate: Fri Aug  6 15:36:57 2021 +
Commit: Louis Sautier  gentoo  org>
CommitDate: Fri Aug  6 15:43:39 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6b8d54d

dev-cpp/websocketpp: fix tests and examples build + build with clang

Closes: https://bugs.gentoo.org/803362
Closes: https://bugs.gentoo.org/735694
Signed-off-by: Louis Sautier  gentoo.org>

 dev-cpp/websocketpp/websocketpp-0.8.1-r1.ebuild | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/dev-cpp/websocketpp/websocketpp-0.8.1-r1.ebuild 
b/dev-cpp/websocketpp/websocketpp-0.8.1-r1.ebuild
index 051e22e7eeb..df98a5ee616 100644
--- a/dev-cpp/websocketpp/websocketpp-0.8.1-r1.ebuild
+++ b/dev-cpp/websocketpp/websocketpp-0.8.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -24,6 +24,10 @@ PATCHES=(
# disable tests that are timing sensitive
# https://bugzilla.redhat.com/show_bug.cgi?id=1461069

"${FILESDIR}"/${PN}-0.8.1-disable-test_transport-test_transport_asio_timers.patch
+   # 
https://github.com/zaphoyd/websocketpp/commit/36b73da8958927f975b3d01a062aa6c0e149d97f
+   "${FILESDIR}"/${PN}-0.8.2-fix-boost_find_component.patch
+   # 
https://github.com/zaphoyd/websocketpp/commit/2c355d9ef0f3ed73fa96d0c6c31293086df36d74
+   "${FILESDIR}"/${PN}-0.8.2-fix-clang.patch
 )
 
 src_configure() {



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/websocketpp/files/, dev-cpp/websocketpp/

2021-08-06 Thread Louis Sautier
commit: a3eb0357ac6c1b49af3fbe6d7be0533058042156
Author: Louis Sautier  gentoo  org>
AuthorDate: Fri Aug  6 15:32:30 2021 +
Commit: Louis Sautier  gentoo  org>
CommitDate: Fri Aug  6 15:39:06 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3eb0357

dev-cpp/websocketpp: add 0.8.2

Signed-off-by: Louis Sautier  gentoo.org>

 dev-cpp/websocketpp/Manifest   |  1 +
 ...ebsocketpp-0.8.2-fix-boost_find_component.patch | 24 +++
 .../files/websocketpp-0.8.2-fix-clang.patch| 25 +++
 dev-cpp/websocketpp/websocketpp-0.8.2.ebuild   | 48 ++
 4 files changed, 98 insertions(+)

diff --git a/dev-cpp/websocketpp/Manifest b/dev-cpp/websocketpp/Manifest
index f678a25e2e1..a8ffad9db28 100644
--- a/dev-cpp/websocketpp/Manifest
+++ b/dev-cpp/websocketpp/Manifest
@@ -1 +1,2 @@
 DIST websocketpp-0.8.1.tar.gz 699468 BLAKE2B 
e5769229b400d2f42e69541b07cfba17dcc82cdad20685a52ac1130c2fc4e94764a38d2e4f7c36101b11705e10c67eb149ba2c30750e7a6f63696d52c272fed2
 SHA512 
35e0261ed0285acf77d300768819bd380197de8acdf68223e2d7598481b9bfd69cb1653b435139771b1db6c16530c8d8cf9a887a8a6bba3fea126d0da4dbc13c
+DIST websocketpp-0.8.2.tar.gz 701364 BLAKE2B 
dacee33832f493d465afe208f9edea1393414a22c8db8f8c86b8f913521d0d8d68b95673a2e82b7479acfbab1ac541eda2d713a55d5de387b3879461d5884df7
 SHA512 
b2afc63edb69ce81a3a6c06b3d857b3e8820f0e22300ac32bb20ab30ff07bd58bd5ada3e526ed8ab52de934e0e3a26cad2118b0e68ecf3e5e9e8d7101348fd06

diff --git 
a/dev-cpp/websocketpp/files/websocketpp-0.8.2-fix-boost_find_component.patch 
b/dev-cpp/websocketpp/files/websocketpp-0.8.2-fix-boost_find_component.patch
new file mode 100644
index 000..28f4361f35c
--- /dev/null
+++ b/dev-cpp/websocketpp/files/websocketpp-0.8.2-fix-boost_find_component.patch
@@ -0,0 +1,24 @@
+From 36b73da8958927f975b3d01a062aa6c0e149d97f Mon Sep 17 00:00:00 2001
+From: Peter Thorson 
+Date: Mon, 27 Apr 2020 10:34:06 -0500
+Subject: [PATCH] [cmake] Remove quotes that was making it hard for cmake to
+ find newer boost versions. fixes #855
+
+---
+ CMakeLists.txt | 2 +-
+ changelog.md   | 3 +++
+ 2 files changed, 4 insertions(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 3e9c80e84..ffcd8583b 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -215,7 +215,7 @@ if (BUILD_TESTS OR BUILD_EXAMPLES)
+ set (Boost_USE_MULTITHREADED TRUE)
+ set (Boost_ADDITIONAL_VERSIONS "1.39.0" "1.40.0" "1.41.0" "1.42.0" 
"1.43.0" "1.44.0" "1.46.1") # todo: someone who knows better spesify these!
+ 
+-find_package (Boost 1.39.0 COMPONENTS "${WEBSOCKETPP_BOOST_LIBS}")
++find_package (Boost 1.39.0 COMPONENTS ${WEBSOCKETPP_BOOST_LIBS})
+ 
+ if (Boost_FOUND)
+ # Boost is a project wide global dependency.

diff --git a/dev-cpp/websocketpp/files/websocketpp-0.8.2-fix-clang.patch 
b/dev-cpp/websocketpp/files/websocketpp-0.8.2-fix-clang.patch
new file mode 100644
index 000..2937ba71ace
--- /dev/null
+++ b/dev-cpp/websocketpp/files/websocketpp-0.8.2-fix-clang.patch
@@ -0,0 +1,25 @@
+From 2c355d9ef0f3ed73fa96d0c6c31293086df36d74 Mon Sep 17 00:00:00 2001
+From: Peter Thorson 
+Date: Sun, 19 Apr 2020 22:33:24 -0500
+Subject: [PATCH] Fix typo in CMakeLists.txt that caused CXX_FLAGS to be
+ improperly quoted. Removed unnecessary hardcoded dependency on libc++ for
+ clang. fixes #859
+
+---
+ CMakeLists.txt | 2 +-
+ changelog.md   | 3 +++
+ 2 files changed, 4 insertions(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index dcf90d1c8..3e9c80e84 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -152,7 +152,7 @@ if (BUILD_TESTS OR BUILD_EXAMPLES)
+ endif()
+ set (WEBSOCKETPP_PLATFORM_TLS_LIBS ssl crypto)
+ set (WEBSOCKETPP_BOOST_LIBS system thread)
+-set (CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} "-std=c++0x -stdlib=libc++") 
# todo: is libc++ really needed here?
++set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x")
+ if (NOT APPLE)
+ add_definitions (-DNDEBUG -Wall -Wno-padded) # todo: should we 
use CMAKE_C_FLAGS for these?
+ endif ()

diff --git a/dev-cpp/websocketpp/websocketpp-0.8.2.ebuild 
b/dev-cpp/websocketpp/websocketpp-0.8.2.ebuild
new file mode 100644
index 000..3e9339f27db
--- /dev/null
+++ b/dev-cpp/websocketpp/websocketpp-0.8.2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+DESCRIPTION="C++/Boost Asio based websocket client/server library"
+HOMEPAGE="https://www.zaphoyd.com/websocketpp;
+SRC_URI="https://github.com/zaphoyd/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="examples test"
+RESTRICT="!test? ( test )"
+
+DEPEND="test? ( dev-libs/boost )"
+RDEPEND="dev-libs/boost"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-0.7.0-cmake-install.patch
+   # disable tests 

[gentoo-commits] repo/gentoo:master commit in: dev-cpp/websocketpp/

2020-05-28 Thread Sergei Trofimovich
commit: 6616c48a94ee633402e5e54dbe8840c3c4a95075
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Thu May 28 11:17:40 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Thu May 28 18:19:48 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6616c48a

dev-cpp/websocketpp: keyworded 0.8.1-r1 for sparc, bug #640638

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-cpp/websocketpp/websocketpp-0.8.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/websocketpp/websocketpp-0.8.1-r1.ebuild 
b/dev-cpp/websocketpp/websocketpp-0.8.1-r1.ebuild
index 16030b37783..051e22e7eeb 100644
--- a/dev-cpp/websocketpp/websocketpp-0.8.1-r1.ebuild
+++ b/dev-cpp/websocketpp/websocketpp-0.8.1-r1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/zaphoyd/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
 IUSE="examples test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/websocketpp/

2020-01-12 Thread Johannes Huber
commit: 6dcf7258b7bd9eedda1d061e6b89e2483f17
Author: Johannes Huber  gentoo  org>
AuthorDate: Sun Jan 12 13:03:25 2020 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Sun Jan 12 13:03:46 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6dcf7258

dev-cpp/websocketpp: Migrate to cmake eclass

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Johannes Huber  gentoo.org>

 dev-cpp/websocketpp/websocketpp-0.8.1-r1.ebuild | 9 +
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/dev-cpp/websocketpp/websocketpp-0.8.1-r1.ebuild 
b/dev-cpp/websocketpp/websocketpp-0.8.1-r1.ebuild
index 4578afc07ba..16030b37783 100644
--- a/dev-cpp/websocketpp/websocketpp-0.8.1-r1.ebuild
+++ b/dev-cpp/websocketpp/websocketpp-0.8.1-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit cmake-utils
+inherit cmake
 
 DESCRIPTION="C++/Boost Asio based websocket client/server library"
 HOMEPAGE="https://www.zaphoyd.com/websocketpp;
@@ -31,11 +31,12 @@ src_configure() {
-DENABLE_CPP11=ON
-DBUILD_TESTS="$(usex test)"
)
-   cmake-utils_src_configure
+
+   cmake_src_configure
 }
 
 src_install() {
-   cmake-utils_src_install
+   cmake_src_install
 
if use examples; then
dodoc -r examples



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/websocketpp/

2019-08-11 Thread David Seifert
commit: b8a6b9b2e505277a7f4a82802dd43b6e5659e58d
Author: David Seifert  gentoo  org>
AuthorDate: Sun Aug 11 18:09:59 2019 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Aug 11 18:09:59 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8a6b9b2

dev-cpp/websocketpp: Port to EAPI 7

Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: David Seifert  gentoo.org>

 dev-cpp/websocketpp/metadata.xml   |  3 ---
 ...pp-0.8.1.ebuild => websocketpp-0.8.1-r1.ebuild} | 22 --
 2 files changed, 12 insertions(+), 13 deletions(-)

diff --git a/dev-cpp/websocketpp/metadata.xml b/dev-cpp/websocketpp/metadata.xml
index 66fe497e1c3..d930eea34f0 100644
--- a/dev-cpp/websocketpp/metadata.xml
+++ b/dev-cpp/websocketpp/metadata.xml
@@ -5,9 +5,6 @@
j...@gentoo.org
Johannes Huber

-   
-   Use dev-libs/boost instead of 
C++11
-   

zaphoyd/websocketpp


diff --git a/dev-cpp/websocketpp/websocketpp-0.8.1.ebuild 
b/dev-cpp/websocketpp/websocketpp-0.8.1-r1.ebuild
similarity index 78%
rename from dev-cpp/websocketpp/websocketpp-0.8.1.ebuild
rename to dev-cpp/websocketpp/websocketpp-0.8.1-r1.ebuild
index 7a4b182f57c..4578afc07ba 100644
--- a/dev-cpp/websocketpp/websocketpp-0.8.1.ebuild
+++ b/dev-cpp/websocketpp/websocketpp-0.8.1-r1.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 inherit cmake-utils
 
@@ -9,15 +9,14 @@ DESCRIPTION="C++/Boost Asio based websocket client/server 
library"
 HOMEPAGE="https://www.zaphoyd.com/websocketpp;
 SRC_URI="https://github.com/zaphoyd/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86"
 LICENSE="BSD"
 SLOT="0"
-IUSE="boost examples test"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86"
+IUSE="examples test"
+RESTRICT="!test? ( test )"
 
-DEPEND=""
-RDEPEND="${DEPEND}
-   boost? ( dev-libs/boost )
-"
+DEPEND="test? ( dev-libs/boost )"
+RDEPEND="dev-libs/boost"
 
 PATCHES=(
"${FILESDIR}"/${PN}-0.7.0-cmake-install.patch
@@ -29,14 +28,17 @@ PATCHES=(
 
 src_configure() {
local mycmakeargs=(
-   -DENABLE_CPP11="$(usex !boost)"
+   -DENABLE_CPP11=ON
-DBUILD_TESTS="$(usex test)"
)
-
cmake-utils_src_configure
 }
 
 src_install() {
-   use examples && DOCS=( examples/ )
cmake-utils_src_install
+
+   if use examples; then
+   dodoc -r examples
+   docompress -x /usr/share/doc/${PF}/examples
+   fi
 }



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/websocketpp/, dev-cpp/websocketpp/files/

2019-08-11 Thread David Seifert
commit: 2b01e7caec293f9e124749610ebe13b51ebeed96
Author: David Seifert  gentoo  org>
AuthorDate: Sun Aug 11 18:09:56 2019 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Aug 11 18:09:56 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b01e7ca

dev-cpp/websocketpp: Fix building against boost 1.70

Closes: https://bugs.gentoo.org/683472
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: David Seifert  gentoo.org>

 .../files/websocketpp-0.8.1-boost-1.70.patch   | 139 +
 ...test_transport-test_transport_asio_timers.patch |  46 +++
 dev-cpp/websocketpp/websocketpp-0.8.1.ebuild   |  13 +-
 3 files changed, 193 insertions(+), 5 deletions(-)

diff --git a/dev-cpp/websocketpp/files/websocketpp-0.8.1-boost-1.70.patch 
b/dev-cpp/websocketpp/files/websocketpp-0.8.1-boost-1.70.patch
new file mode 100644
index 000..40ae155307d
--- /dev/null
+++ b/dev-cpp/websocketpp/files/websocketpp-0.8.1-boost-1.70.patch
@@ -0,0 +1,139 @@
+From c769c9238ad62178f506038178714a1c35aa2769 Mon Sep 17 00:00:00 2001
+From: Stefan Floeren <42731906+stefan-floe...@users.noreply.github.com>
+Date: Tue, 16 Apr 2019 08:38:01 +0200
+Subject: [PATCH 1/2] Replace make_shared with new in some cases
+
+Replace make_shared for asio types that take a lib::ref as a parameter.
+This should fix the ASIO change (boostorg/asio@59066d8) for 1.70,
+while keeping it backwards compatible to older boost versions.
+---
+ websocketpp/transport/asio/connection.hpp| 7 ---
+ websocketpp/transport/asio/endpoint.hpp  | 3 +--
+ websocketpp/transport/asio/security/none.hpp | 3 +--
+ websocketpp/transport/asio/security/tls.hpp  | 3 +--
+ 4 files changed, 7 insertions(+), 9 deletions(-)
+
+diff --git a/websocketpp/transport/asio/connection.hpp 
b/websocketpp/transport/asio/connection.hpp
+index 60f88a79..1ccda8f3 100644
+--- a/websocketpp/transport/asio/connection.hpp
 b/websocketpp/transport/asio/connection.hpp
+@@ -311,9 +311,10 @@ class connection : public 
config::socket_type::socket_con_type {
+  * needed.
+  */
+ timer_ptr set_timer(long duration, timer_handler callback) {
+-timer_ptr new_timer = lib::make_shared(
+-lib::ref(*m_io_service),
+-lib::asio::milliseconds(duration)
++timer_ptr new_timer(
++new lib::asio::steady_timer(
++*m_io_service,
++lib::asio::milliseconds(duration))
+ );
+ 
+ if (config::enable_multithreading) {
+diff --git a/websocketpp/transport/asio/endpoint.hpp 
b/websocketpp/transport/asio/endpoint.hpp
+index ddab2c74..4b719a97 100644
+--- a/websocketpp/transport/asio/endpoint.hpp
 b/websocketpp/transport/asio/endpoint.hpp
+@@ -195,8 +195,7 @@ class endpoint : public config::socket_type {
+ 
+ m_io_service = ptr;
+ m_external_io_service = true;
+-m_acceptor = lib::make_shared(
+-lib::ref(*m_io_service));
++m_acceptor.reset(new lib::asio::ip::tcp::acceptor(*m_io_service));
+ 
+ m_state = READY;
+ ec = lib::error_code();
+diff --git a/websocketpp/transport/asio/security/none.hpp 
b/websocketpp/transport/asio/security/none.hpp
+index 5c8293db..6c7d3524 100644
+--- a/websocketpp/transport/asio/security/none.hpp
 b/websocketpp/transport/asio/security/none.hpp
+@@ -168,8 +168,7 @@ class connection : public 
lib::enable_shared_from_this {
+ return socket::make_error_code(socket::error::invalid_state);
+ }
+ 
+-m_socket = lib::make_shared(
+-lib::ref(*service));
++m_socket.reset(new lib::asio::ip::tcp::socket(*service));
+ 
+ if (m_socket_init_handler) {
+ m_socket_init_handler(m_hdl, *m_socket);
+diff --git a/websocketpp/transport/asio/security/tls.hpp 
b/websocketpp/transport/asio/security/tls.hpp
+index c76fd9aa..04ac3790 100644
+--- a/websocketpp/transport/asio/security/tls.hpp
 b/websocketpp/transport/asio/security/tls.hpp
+@@ -193,8 +193,7 @@ class connection : public 
lib::enable_shared_from_this {
+ if (!m_context) {
+ return 
socket::make_error_code(socket::error::invalid_tls_context);
+ }
+-m_socket = lib::make_shared(
+-_WEBSOCKETPP_REF(*service),lib::ref(*m_context));
++m_socket.reset(new socket_type(*service, *m_context));
+ 
+ if (m_socket_init_handler) {
+ m_socket_init_handler(m_hdl, get_socket());
+
+From f810ca2e800e9b55be41c5911cf1d1185fcd516b Mon Sep 17 00:00:00 2001
+From: Stefan Floeren <42731906+stefan-floe...@users.noreply.github.com>
+Date: Wed, 17 Apr 2019 10:06:18 +
+Subject: [PATCH 2/2] Fix missed entries; fix testing
+
+---
+ CMakeLists.txt| 2 +-
+ websocketpp/transport/asio/connection.hpp | 3 +--
+ websocketpp/transport/asio/endpoint.hpp   | 7 ++-
+ 3 files changed, 4 insertions(+), 8 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 

[gentoo-commits] repo/gentoo:master commit in: dev-cpp/websocketpp/

2018-10-14 Thread Sergei Trofimovich
commit: b2afbb9d047fac18aa439dc63785ed84cd1308c4
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Oct 14 08:50:19 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Oct 14 08:50:19 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2afbb9d

dev-cpp/websocketpp: keyworded 0.8.1 for ppc, bug #640638

Signed-off-by: Sergei Trofimovich  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
RepoMan-Options: --include-arches="ppc"

 dev-cpp/websocketpp/websocketpp-0.8.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/websocketpp/websocketpp-0.8.1.ebuild 
b/dev-cpp/websocketpp/websocketpp-0.8.1.ebuild
index 332c2d9ffca..6bf27e854c1 100644
--- a/dev-cpp/websocketpp/websocketpp-0.8.1.ebuild
+++ b/dev-cpp/websocketpp/websocketpp-0.8.1.ebuild
@@ -9,7 +9,7 @@ DESCRIPTION="C++/Boost Asio based websocket client/server 
library"
 HOMEPAGE="https://www.zaphoyd.com/websocketpp;
 SRC_URI="https://github.com/zaphoyd/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86"
 LICENSE="BSD"
 SLOT="0"
 IUSE="boost examples test"



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/websocketpp/

2018-10-07 Thread Johannes Huber
commit: d6d6ce75a9334e62bc545a2e6b3cfdfdad44c155
Author: Johannes Huber  gentoo  org>
AuthorDate: Sun Oct  7 09:41:52 2018 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Sun Oct  7 09:42:07 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6d6ce75

dev-cpp/websocketpp: Remove 0.7.0-r2

Overshadowed by 0.8.1.

Signed-off-by: Johannes Huber  gentoo.org>
Package-Manager: Portage-2.3.50, Repoman-2.3.11

 dev-cpp/websocketpp/Manifest|  1 -
 dev-cpp/websocketpp/websocketpp-0.7.0-r2.ebuild | 39 -
 2 files changed, 40 deletions(-)

diff --git a/dev-cpp/websocketpp/Manifest b/dev-cpp/websocketpp/Manifest
index 16773470233..f678a25e2e1 100644
--- a/dev-cpp/websocketpp/Manifest
+++ b/dev-cpp/websocketpp/Manifest
@@ -1,2 +1 @@
-DIST websocketpp-0.7.0.tar.gz 682271 BLAKE2B 
4da1fb076c2f533cdbdaa2cc0b0b45509216fcbc3b465f137905a34477aff0e93005f36d0257f314fd91b7de59e587e1b1df9af664a717b8dbf477b168025f26
 SHA512 
91a86d4f5120db3f474169bb146f865f82167b1e9eedabec8793b31005e4ce3d22083283bc1b9f9e37fa0da835addcb2b68260a27c753852c06b3b1bb2f3c12e
 DIST websocketpp-0.8.1.tar.gz 699468 BLAKE2B 
e5769229b400d2f42e69541b07cfba17dcc82cdad20685a52ac1130c2fc4e94764a38d2e4f7c36101b11705e10c67eb149ba2c30750e7a6f63696d52c272fed2
 SHA512 
35e0261ed0285acf77d300768819bd380197de8acdf68223e2d7598481b9bfd69cb1653b435139771b1db6c16530c8d8cf9a887a8a6bba3fea126d0da4dbc13c

diff --git a/dev-cpp/websocketpp/websocketpp-0.7.0-r2.ebuild 
b/dev-cpp/websocketpp/websocketpp-0.7.0-r2.ebuild
deleted file mode 100644
index 49aa4f68f4d..000
--- a/dev-cpp/websocketpp/websocketpp-0.7.0-r2.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils
-
-DESCRIPTION="C++/Boost Asio based websocket client/server library"
-HOMEPAGE="https://www.zaphoyd.com/websocketpp;
-SRC_URI="https://github.com/zaphoyd/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc64 ~x86"
-LICENSE="BSD"
-SLOT="0"
-IUSE="boost examples test"
-
-DEPEND=""
-RDEPEND="${DEPEND}
-   boost? ( dev-libs/boost )
-"
-
-# bug 630450
-RESTRICT="test"
-
-PATCHES=( "${FILESDIR}/${P}-cmake-install.patch" )
-
-src_configure() {
-   local mycmakeargs=(
-   -DENABLE_CPP11="$(usex !boost)"
-   -DBUILD_TESTS="$(usex test)"
-   )
-
-   cmake-utils_src_configure
-}
-
-src_install() {
-   use examples && DOCS=( examples/ )
-   cmake-utils_src_install
-}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/websocketpp/

2018-10-06 Thread Johannes Huber
commit: 22db4a8bda20dfa352607e9677f82db9bee28293
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Sat Sep 15 15:17:54 2018 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Sat Oct  6 21:23:31 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22db4a8b

dev-cpp/websocketpp: use HTTPS

Signed-off-by: Michael Mair-Keimberger  gmail.com>
Signed-off-by: Johannes Huber  gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/9872
Closes: https://bugs.gentoo.org/667866

 dev-cpp/websocketpp/websocketpp-0.7.0-r2.ebuild | 4 ++--
 dev-cpp/websocketpp/websocketpp-0.8.1.ebuild| 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-cpp/websocketpp/websocketpp-0.7.0-r2.ebuild 
b/dev-cpp/websocketpp/websocketpp-0.7.0-r2.ebuild
index 1f3730df214..49aa4f68f4d 100644
--- a/dev-cpp/websocketpp/websocketpp-0.7.0-r2.ebuild
+++ b/dev-cpp/websocketpp/websocketpp-0.7.0-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -6,7 +6,7 @@ EAPI=6
 inherit cmake-utils
 
 DESCRIPTION="C++/Boost Asio based websocket client/server library"
-HOMEPAGE="http://www.zaphoyd.com/websocketpp;
+HOMEPAGE="https://www.zaphoyd.com/websocketpp;
 SRC_URI="https://github.com/zaphoyd/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc64 ~x86"

diff --git a/dev-cpp/websocketpp/websocketpp-0.8.1.ebuild 
b/dev-cpp/websocketpp/websocketpp-0.8.1.ebuild
index 0818e872e79..332c2d9ffca 100644
--- a/dev-cpp/websocketpp/websocketpp-0.8.1.ebuild
+++ b/dev-cpp/websocketpp/websocketpp-0.8.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -6,7 +6,7 @@ EAPI=6
 inherit cmake-utils
 
 DESCRIPTION="C++/Boost Asio based websocket client/server library"
-HOMEPAGE="http://www.zaphoyd.com/websocketpp;
+HOMEPAGE="https://www.zaphoyd.com/websocketpp;
 SRC_URI="https://github.com/zaphoyd/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc64 ~x86"



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/websocketpp/

2018-07-16 Thread Johannes Huber
commit: de6065c1cdf392382a4ffc19fcd63276cc32e00d
Author: Johannes Huber  gentoo  org>
AuthorDate: Mon Jul 16 13:27:00 2018 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Mon Jul 16 13:27:31 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de6065c1

dev-cpp/websocketpp: Version bump 0.8.1

Package-Manager: Portage-2.3.43, Repoman-2.3.10

 dev-cpp/websocketpp/Manifest |  1 +
 dev-cpp/websocketpp/websocketpp-0.8.1.ebuild | 39 
 2 files changed, 40 insertions(+)

diff --git a/dev-cpp/websocketpp/Manifest b/dev-cpp/websocketpp/Manifest
index 201bbe26e33..16773470233 100644
--- a/dev-cpp/websocketpp/Manifest
+++ b/dev-cpp/websocketpp/Manifest
@@ -1 +1,2 @@
 DIST websocketpp-0.7.0.tar.gz 682271 BLAKE2B 
4da1fb076c2f533cdbdaa2cc0b0b45509216fcbc3b465f137905a34477aff0e93005f36d0257f314fd91b7de59e587e1b1df9af664a717b8dbf477b168025f26
 SHA512 
91a86d4f5120db3f474169bb146f865f82167b1e9eedabec8793b31005e4ce3d22083283bc1b9f9e37fa0da835addcb2b68260a27c753852c06b3b1bb2f3c12e
+DIST websocketpp-0.8.1.tar.gz 699468 BLAKE2B 
e5769229b400d2f42e69541b07cfba17dcc82cdad20685a52ac1130c2fc4e94764a38d2e4f7c36101b11705e10c67eb149ba2c30750e7a6f63696d52c272fed2
 SHA512 
35e0261ed0285acf77d300768819bd380197de8acdf68223e2d7598481b9bfd69cb1653b435139771b1db6c16530c8d8cf9a887a8a6bba3fea126d0da4dbc13c

diff --git a/dev-cpp/websocketpp/websocketpp-0.8.1.ebuild 
b/dev-cpp/websocketpp/websocketpp-0.8.1.ebuild
new file mode 100644
index 000..0818e872e79
--- /dev/null
+++ b/dev-cpp/websocketpp/websocketpp-0.8.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="C++/Boost Asio based websocket client/server library"
+HOMEPAGE="http://www.zaphoyd.com/websocketpp;
+SRC_URI="https://github.com/zaphoyd/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc64 ~x86"
+LICENSE="BSD"
+SLOT="0"
+IUSE="boost examples test"
+
+DEPEND=""
+RDEPEND="${DEPEND}
+   boost? ( dev-libs/boost )
+"
+
+# bug 630450
+RESTRICT="test"
+
+PATCHES=( "${FILESDIR}/${PN}-0.7.0-cmake-install.patch" )
+
+src_configure() {
+   local mycmakeargs=(
+   -DENABLE_CPP11="$(usex !boost)"
+   -DBUILD_TESTS="$(usex test)"
+   )
+
+   cmake-utils_src_configure
+}
+
+src_install() {
+   use examples && DOCS=( examples/ )
+   cmake-utils_src_install
+}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/websocketpp/

2018-06-27 Thread Johannes Huber
commit: d349c5d7d34d0ca7f7d1798a8bf837df69ec04e7
Author: Johannes Huber  gentoo  org>
AuthorDate: Wed Jun 27 09:35:03 2018 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Wed Jun 27 09:36:27 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d349c5d7

dev-cpp/websocketpp: Remove 0.7.0-r1

Package-Manager: Portage-2.3.41, Repoman-2.3.9

 dev-cpp/websocketpp/websocketpp-0.7.0-r1.ebuild | 38 -
 1 file changed, 38 deletions(-)

diff --git a/dev-cpp/websocketpp/websocketpp-0.7.0-r1.ebuild 
b/dev-cpp/websocketpp/websocketpp-0.7.0-r1.ebuild
deleted file mode 100644
index 5102455cf01..000
--- a/dev-cpp/websocketpp/websocketpp-0.7.0-r1.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils
-
-DESCRIPTION="C++/Boost Asio based websocket client/server library"
-HOMEPAGE="http://www.zaphoyd.com/websocketpp;
-SRC_URI="https://github.com/zaphoyd/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc64 ~x86"
-LICENSE="BSD"
-SLOT="0"
-IUSE="boost examples test"
-
-DEPEND=""
-RDEPEND="${DEPEND}
-   boost? ( dev-libs/boost )
-"
-
-# bug 630450
-RESTRICT="test"
-
-src_configure() {
-   local mycmakeargs=(
-   -DINSTALL_CMAKE_DIR="$(get_libdir)/cmake/${PN}"
-   -DENABLE_CPP11="$(usex !boost)"
-   -DBUILD_TESTS="$(usex test)"
-   )
-
-   cmake-utils_src_configure
-}
-
-src_install() {
-   use examples && DOCS=( examples/ )
-   cmake-utils_src_install
-}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/websocketpp/, dev-cpp/websocketpp/files/

2018-06-27 Thread Johannes Huber
commit: a55bc34dbeda74f9ad1d6b4bf525e1327ec094bc
Author: Johannes Huber  gentoo  org>
AuthorDate: Wed Jun 27 09:32:48 2018 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Wed Jun 27 09:36:27 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a55bc34d

dev-cpp/websocketpp: Fix cmake install path

Revision bump adds patch by me to fix install paths.

Reported-by: Balint SZENTE  szentedwg.ro>
Closes: https://bugs.gentoo.org/658096
Package-Manager: Portage-2.3.41, Repoman-2.3.9

 .../files/websocketpp-0.7.0-cmake-install.patch| 28 
 dev-cpp/websocketpp/websocketpp-0.7.0-r2.ebuild| 39 ++
 2 files changed, 67 insertions(+)

diff --git a/dev-cpp/websocketpp/files/websocketpp-0.7.0-cmake-install.patch 
b/dev-cpp/websocketpp/files/websocketpp-0.7.0-cmake-install.patch
new file mode 100644
index 000..4548c650759
--- /dev/null
+++ b/dev-cpp/websocketpp/files/websocketpp-0.7.0-cmake-install.patch
@@ -0,0 +1,28 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index f60caa1..9ff2211 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -15,13 +15,20 @@ set (WEBSOCKETPP_VERSION 
${WEBSOCKETPP_MAJOR_VERSION}.${WEBSOCKETPP_MINOR_VERSIO
+ 
+ set_property(GLOBAL PROPERTY USE_FOLDERS ON)
+ 
++get_property(LIB64 GLOBAL PROPERTY FIND_LIBRARY_USE_LIB64_PATHS)
++if ("${LIB64}" STREQUAL "TRUE")
++  set(LIBSUFFIX 64)
++else()
++  set(LIBSUFFIX "")
++endif()
++
+ set(INSTALL_INCLUDE_DIR include CACHE PATH "Installation directory for header 
files")
++set(LIB_INSTALL_DIR "lib${LIB_SUFFIX}")
+ if (WIN32 AND NOT CYGWIN)
+-  set (DEF_INSTALL_CMAKE_DIR cmake)
++  set (INSTALL_CMAKE_DIR cmake)
+ else ()
+-  set (DEF_INSTALL_CMAKE_DIR lib/cmake/websocketpp)
++  set (INSTALL_CMAKE_DIR ${LIB_INSTALL_DIR}/cmake/websocketpp)
+ endif ()
+-set (INSTALL_CMAKE_DIR ${DEF_INSTALL_CMAKE_DIR} CACHE PATH "Installation 
directory for CMake files")
+ 
+ # Make relative paths absolute (needed later on)
+ foreach (p INCLUDE CMAKE)

diff --git a/dev-cpp/websocketpp/websocketpp-0.7.0-r2.ebuild 
b/dev-cpp/websocketpp/websocketpp-0.7.0-r2.ebuild
new file mode 100644
index 000..1f3730df214
--- /dev/null
+++ b/dev-cpp/websocketpp/websocketpp-0.7.0-r2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="C++/Boost Asio based websocket client/server library"
+HOMEPAGE="http://www.zaphoyd.com/websocketpp;
+SRC_URI="https://github.com/zaphoyd/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc64 ~x86"
+LICENSE="BSD"
+SLOT="0"
+IUSE="boost examples test"
+
+DEPEND=""
+RDEPEND="${DEPEND}
+   boost? ( dev-libs/boost )
+"
+
+# bug 630450
+RESTRICT="test"
+
+PATCHES=( "${FILESDIR}/${P}-cmake-install.patch" )
+
+src_configure() {
+   local mycmakeargs=(
+   -DENABLE_CPP11="$(usex !boost)"
+   -DBUILD_TESTS="$(usex test)"
+   )
+
+   cmake-utils_src_configure
+}
+
+src_install() {
+   use examples && DOCS=( examples/ )
+   cmake-utils_src_install
+}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/websocketpp/

2018-06-09 Thread Johannes Huber
commit: d9f05021378ddc8df25402a62c031be59fabbf7e
Author: Johannes Huber  gentoo  org>
AuthorDate: Sat Jun  9 16:26:29 2018 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Sat Jun  9 16:26:43 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9f05021

dev-cpp/websocketpp: Remove 0.7.0 (r0)

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-cpp/websocketpp/websocketpp-0.7.0.ebuild | 37 
 1 file changed, 37 deletions(-)

diff --git a/dev-cpp/websocketpp/websocketpp-0.7.0.ebuild 
b/dev-cpp/websocketpp/websocketpp-0.7.0.ebuild
deleted file mode 100644
index 0f0ca9b6ecd..000
--- a/dev-cpp/websocketpp/websocketpp-0.7.0.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils
-
-DESCRIPTION="C++/Boost Asio based websocket client/server library"
-HOMEPAGE="http://www.zaphoyd.com/websocketpp;
-SRC_URI="https://github.com/zaphoyd/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc64 ~x86"
-LICENSE="BSD"
-SLOT="0"
-IUSE="boost examples test"
-
-DEPEND=""
-RDEPEND="${DEPEND}
-   boost? ( dev-libs/boost )
-"
-
-# bug 630450
-RESTRICT="test"
-
-src_configure() {
-   local mycmakeargs=(
-   -DENABLE_CPP11="$(usex !boost)"
-   -DBUILD_TESTS="$(usex test)"
-   )
-
-   cmake-utils_src_configure
-}
-
-src_install() {
-   use examples && DOCS=( examples/ )
-   cmake-utils_src_install
-}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/websocketpp/

2018-06-09 Thread Johannes Huber
commit: 24360b0832cdb61c65989e7b90560f03bfca32e3
Author: Matija Skala  gmx  com>
AuthorDate: Wed Jun  6 17:23:01 2018 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Sat Jun  9 16:26:43 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24360b08

dev-cpp/websocketpp: Fix lib install dir

Closes: https://github.com/gentoo/gentoo/pull/8736
Signed-off-by: Johannes Huber  gentoo.org>

 dev-cpp/websocketpp/websocketpp-0.7.0-r1.ebuild | 38 +
 1 file changed, 38 insertions(+)

diff --git a/dev-cpp/websocketpp/websocketpp-0.7.0-r1.ebuild 
b/dev-cpp/websocketpp/websocketpp-0.7.0-r1.ebuild
new file mode 100644
index 000..5102455cf01
--- /dev/null
+++ b/dev-cpp/websocketpp/websocketpp-0.7.0-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="C++/Boost Asio based websocket client/server library"
+HOMEPAGE="http://www.zaphoyd.com/websocketpp;
+SRC_URI="https://github.com/zaphoyd/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc64 ~x86"
+LICENSE="BSD"
+SLOT="0"
+IUSE="boost examples test"
+
+DEPEND=""
+RDEPEND="${DEPEND}
+   boost? ( dev-libs/boost )
+"
+
+# bug 630450
+RESTRICT="test"
+
+src_configure() {
+   local mycmakeargs=(
+   -DINSTALL_CMAKE_DIR="$(get_libdir)/cmake/${PN}"
+   -DENABLE_CPP11="$(usex !boost)"
+   -DBUILD_TESTS="$(usex test)"
+   )
+
+   cmake-utils_src_configure
+}
+
+src_install() {
+   use examples && DOCS=( examples/ )
+   cmake-utils_src_install
+}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/websocketpp/

2017-12-22 Thread Sergei Trofimovich
commit: ddfbe1652057063d89fa460e6b6a9150f4750572
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Fri Dec 22 09:02:40 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Fri Dec 22 09:03:00 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ddfbe165

dev-cpp/websocketpp: keyworded 0.7.0 for ppc64, bug #640638

Package-Manager: Portage-2.3.19, Repoman-2.3.6
RepoMan-Options: --include-arches="ppc64"

 dev-cpp/websocketpp/websocketpp-0.7.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/websocketpp/websocketpp-0.7.0.ebuild 
b/dev-cpp/websocketpp/websocketpp-0.7.0.ebuild
index e31e6063b9f..0f0ca9b6ecd 100644
--- a/dev-cpp/websocketpp/websocketpp-0.7.0.ebuild
+++ b/dev-cpp/websocketpp/websocketpp-0.7.0.ebuild
@@ -9,7 +9,7 @@ DESCRIPTION="C++/Boost Asio based websocket client/server 
library"
 HOMEPAGE="http://www.zaphoyd.com/websocketpp;
 SRC_URI="https://github.com/zaphoyd/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc64 ~x86"
 LICENSE="BSD"
 SLOT="0"
 IUSE="boost examples test"



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/websocketpp/

2017-12-21 Thread Sergei Trofimovich
commit: 0052b533eb3c73d989aa1caf61bc2dc2b9e418f2
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Thu Dec 21 22:40:56 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Thu Dec 21 22:40:56 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0052b533

dev-cpp/websocketpp: keyworded 0.7.0 for ia64 (thanks to Xeha)

Package-Manager: Portage-2.3.19, Repoman-2.3.6
RepoMan-Options: --include-arches="ia64"

 dev-cpp/websocketpp/websocketpp-0.7.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/websocketpp/websocketpp-0.7.0.ebuild 
b/dev-cpp/websocketpp/websocketpp-0.7.0.ebuild
index 5b9f92cf26a..e31e6063b9f 100644
--- a/dev-cpp/websocketpp/websocketpp-0.7.0.ebuild
+++ b/dev-cpp/websocketpp/websocketpp-0.7.0.ebuild
@@ -9,7 +9,7 @@ DESCRIPTION="C++/Boost Asio based websocket client/server 
library"
 HOMEPAGE="http://www.zaphoyd.com/websocketpp;
 SRC_URI="https://github.com/zaphoyd/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~x86"
 LICENSE="BSD"
 SLOT="0"
 IUSE="boost examples test"



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/websocketpp/

2017-12-09 Thread Anthony G. Basile
commit: be87fbb265a2add71c2c9310dbcca9bf229f8ae5
Author: Alexey Korepanov  yandex  ru>
AuthorDate: Wed Dec  6 13:09:45 2017 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Sun Dec 10 02:25:45 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be87fbb2

dev-cpp/websocketpp: keyword ~arm64

Signed-off-by: Anthony G. Basile  gentoo.org>

 dev-cpp/websocketpp/websocketpp-0.7.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/websocketpp/websocketpp-0.7.0.ebuild 
b/dev-cpp/websocketpp/websocketpp-0.7.0.ebuild
index d5bfee65e1b..5b9f92cf26a 100644
--- a/dev-cpp/websocketpp/websocketpp-0.7.0.ebuild
+++ b/dev-cpp/websocketpp/websocketpp-0.7.0.ebuild
@@ -9,7 +9,7 @@ DESCRIPTION="C++/Boost Asio based websocket client/server 
library"
 HOMEPAGE="http://www.zaphoyd.com/websocketpp;
 SRC_URI="https://github.com/zaphoyd/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
-KEYWORDS="~amd64 ~arm ~ppc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
 LICENSE="BSD"
 SLOT="0"
 IUSE="boost examples test"



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/websocketpp/

2017-09-17 Thread Johannes Huber
commit: 95ec1f16aa2b9bcdafc1c8e5a3480e30da7adbc8
Author: Johannes Huber  gentoo  org>
AuthorDate: Sun Sep 17 19:01:03 2017 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Sun Sep 17 19:03:03 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95ec1f16

dev-cpp/websocketpp: Restrict tests

Closes: https://bugs.gentoo.org/630450
Package-Manager: Portage-2.3.8, Repoman-2.3.3

 dev-cpp/websocketpp/websocketpp-0.7.0.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dev-cpp/websocketpp/websocketpp-0.7.0.ebuild 
b/dev-cpp/websocketpp/websocketpp-0.7.0.ebuild
index 22bf6c0e1e8..d5bfee65e1b 100644
--- a/dev-cpp/websocketpp/websocketpp-0.7.0.ebuild
+++ b/dev-cpp/websocketpp/websocketpp-0.7.0.ebuild
@@ -19,6 +19,9 @@ RDEPEND="${DEPEND}
boost? ( dev-libs/boost )
 "
 
+# bug 630450
+RESTRICT="test"
+
 src_configure() {
local mycmakeargs=(
-DENABLE_CPP11="$(usex !boost)"



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/websocketpp/

2017-09-17 Thread Johannes Huber
commit: 513281c3be7f81b334df17a3c58dcd7444f92bd9
Author: Johannes Huber  gentoo  org>
AuthorDate: Sun Sep 17 19:02:22 2017 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Sun Sep 17 19:03:03 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=513281c3

dev-cpp/websocketpp: Whitespace

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 dev-cpp/websocketpp/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/websocketpp/metadata.xml b/dev-cpp/websocketpp/metadata.xml
index 46df1995688..66fe497e1c3 100644
--- a/dev-cpp/websocketpp/metadata.xml
+++ b/dev-cpp/websocketpp/metadata.xml
@@ -6,7 +6,7 @@
Johannes Huber


-   Use dev-libs/boost instead of C++11
+   Use dev-libs/boost instead of 
C++11


zaphoyd/websocketpp



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/websocketpp/

2017-08-25 Thread Anthony G. Basile
commit: ebb16e700d59f5aab1a85d29e5e1801f01e6ec65
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Fri Aug 25 23:59:58 2017 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Sat Aug 26 00:00:18 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebb16e70

dev-cpp/websocketpp: keyword ~arm and ~ppc, bug #628436

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 dev-cpp/websocketpp/websocketpp-0.7.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-cpp/websocketpp/websocketpp-0.7.0.ebuild 
b/dev-cpp/websocketpp/websocketpp-0.7.0.ebuild
index 70d75c081e4..22bf6c0e1e8 100644
--- a/dev-cpp/websocketpp/websocketpp-0.7.0.ebuild
+++ b/dev-cpp/websocketpp/websocketpp-0.7.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -9,7 +9,7 @@ DESCRIPTION="C++/Boost Asio based websocket client/server 
library"
 HOMEPAGE="http://www.zaphoyd.com/websocketpp;
 SRC_URI="https://github.com/zaphoyd/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~arm ~ppc ~x86"
 LICENSE="BSD"
 SLOT="0"
 IUSE="boost examples test"



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/websocketpp/

2016-11-22 Thread Johannes Huber
commit: 4887faf0cc7c00af21661b217c82e0c6ef448b7a
Author: Johannes Huber  gentoo  org>
AuthorDate: Tue Nov 22 20:46:46 2016 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Tue Nov 22 20:48:04 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4887faf0

dev-cpp/websocketpp: Remove 0.6.0

Package-Manager: portage-2.3.2

 dev-cpp/websocketpp/Manifest |  1 -
 dev-cpp/websocketpp/websocketpp-0.6.0.ebuild | 35 
 2 files changed, 36 deletions(-)

diff --git a/dev-cpp/websocketpp/Manifest b/dev-cpp/websocketpp/Manifest
index 5c1fd66..fa89645 100644
--- a/dev-cpp/websocketpp/Manifest
+++ b/dev-cpp/websocketpp/Manifest
@@ -1,2 +1 @@
-DIST websocketpp-0.6.0.tar.gz 655641 SHA256 
688c52772b90a4694496c08f4ec1d712e24af17dc060d3392f0f3b4e18062898 SHA512 
55dbb8d1666ae0d35d4b46ec2c375c9d3d66f57a473f526175a63bc147279c12bd8e605e5812a68ef45d8b6f51f4cfd6e61a1b971d223b5dc6e5528a6937fef8
 WHIRLPOOL 
3a179a7066e15fe08c3b1fc54b320729437ad5894a07e5ae630e992e34b740b817c78b9869f281fd4d2a7c54b6cca60fa9a1773803b6d67f5fb11c2694348ac5
 DIST websocketpp-0.7.0.tar.gz 682271 SHA256 
07b3364ad30cda022d91759d4b83ff902e1ebadb796969e58b59caa535a03923 SHA512 
91a86d4f5120db3f474169bb146f865f82167b1e9eedabec8793b31005e4ce3d22083283bc1b9f9e37fa0da835addcb2b68260a27c753852c06b3b1bb2f3c12e
 WHIRLPOOL 
2ea92ac5eeb4ea0b20413e7feb52bd4aab7a46f920684a640d96ce23111cea3fa2b98194181a5ba75a3f9bb1669ee0766b9a4e445348ac1d328f82c1405c2c0a

diff --git a/dev-cpp/websocketpp/websocketpp-0.6.0.ebuild 
b/dev-cpp/websocketpp/websocketpp-0.6.0.ebuild
deleted file mode 100644
index 003a6a2..
--- a/dev-cpp/websocketpp/websocketpp-0.6.0.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit cmake-utils
-
-DESCRIPTION="C++/Boost Asio based websocket client/server library"
-HOMEPAGE="http://www.zaphoyd.com/websocketpp;
-SRC_URI="https://github.com/zaphoyd/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-KEYWORDS="~amd64 ~x86"
-LICENSE="BSD"
-SLOT="0"
-IUSE="boost examples test"
-
-DEPEND=""
-RDEPEND="${DEPEND}
-   boost? ( dev-libs/boost )
-"
-
-# tests no-op
-RESTRICT="test"
-
-src_configure() {
-   # Disable EXAMPLES as compilation is broken upstream
-   local mycmakeargs=(
-   -DBUILD_EXAMPLES=OFF
-   $(cmake-utils_use_enable !boost CPP11)
-   $(cmake-utils_use_build test TESTS)
-   )
-
-   cmake-utils_src_configure
-}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/websocketpp/

2016-03-08 Thread Johannes Huber
commit: 7e4d680f3eacc8d37b54f869754c976e29c692f3
Author: Louis Sautier  gmail  com>
AuthorDate: Sat Feb 27 03:36:53 2016 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Tue Mar  8 17:36:59 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e4d680f

dev-cpp/websocketpp: Version bump 0.7.0

Package-Manager: portage-2.2.27

 dev-cpp/websocketpp/Manifest |  1 +
 dev-cpp/websocketpp/websocketpp-0.7.0.ebuild | 35 
 2 files changed, 36 insertions(+)

diff --git a/dev-cpp/websocketpp/Manifest b/dev-cpp/websocketpp/Manifest
index 5bcfe30..5c1fd66 100644
--- a/dev-cpp/websocketpp/Manifest
+++ b/dev-cpp/websocketpp/Manifest
@@ -1 +1,2 @@
 DIST websocketpp-0.6.0.tar.gz 655641 SHA256 
688c52772b90a4694496c08f4ec1d712e24af17dc060d3392f0f3b4e18062898 SHA512 
55dbb8d1666ae0d35d4b46ec2c375c9d3d66f57a473f526175a63bc147279c12bd8e605e5812a68ef45d8b6f51f4cfd6e61a1b971d223b5dc6e5528a6937fef8
 WHIRLPOOL 
3a179a7066e15fe08c3b1fc54b320729437ad5894a07e5ae630e992e34b740b817c78b9869f281fd4d2a7c54b6cca60fa9a1773803b6d67f5fb11c2694348ac5
+DIST websocketpp-0.7.0.tar.gz 682271 SHA256 
07b3364ad30cda022d91759d4b83ff902e1ebadb796969e58b59caa535a03923 SHA512 
91a86d4f5120db3f474169bb146f865f82167b1e9eedabec8793b31005e4ce3d22083283bc1b9f9e37fa0da835addcb2b68260a27c753852c06b3b1bb2f3c12e
 WHIRLPOOL 
2ea92ac5eeb4ea0b20413e7feb52bd4aab7a46f920684a640d96ce23111cea3fa2b98194181a5ba75a3f9bb1669ee0766b9a4e445348ac1d328f82c1405c2c0a

diff --git a/dev-cpp/websocketpp/websocketpp-0.7.0.ebuild 
b/dev-cpp/websocketpp/websocketpp-0.7.0.ebuild
new file mode 100644
index 000..38e0e1e
--- /dev/null
+++ b/dev-cpp/websocketpp/websocketpp-0.7.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="C++/Boost Asio based websocket client/server library"
+HOMEPAGE="http://www.zaphoyd.com/websocketpp;
+SRC_URI="https://github.com/zaphoyd/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+KEYWORDS="~amd64 ~x86"
+LICENSE="BSD"
+SLOT="0"
+IUSE="boost examples test"
+
+DEPEND=""
+RDEPEND="${DEPEND}
+   boost? ( dev-libs/boost )
+"
+
+src_configure() {
+   local mycmakeargs=(
+   -DENABLE_CPP11="$(usex !boost)"
+   -DBUILD_TESTS="$(usex test)"
+   )
+
+   cmake-utils_src_configure
+}
+
+src_install() {
+   use examples && DOCS=( examples/ )
+   cmake-utils_src_install
+}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/websocketpp/

2015-08-17 Thread Johannes Huber
commit: 91028219f1913c17244ab624698b2ed0bd9d4ab5
Author: Johannes Huber johu AT gentoo DOT org
AuthorDate: Mon Aug 17 20:48:52 2015 +
Commit: Johannes Huber johu AT gentoo DOT org
CommitDate: Mon Aug 17 20:49:26 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91028219

dev-cpp/websocketpp: Version bump 0.6.0

Package-Manager: portage-2.2.20.1

 dev-cpp/websocketpp/Manifest |  1 +
 dev-cpp/websocketpp/websocketpp-0.6.0.ebuild | 35 
 2 files changed, 36 insertions(+)

diff --git a/dev-cpp/websocketpp/Manifest b/dev-cpp/websocketpp/Manifest
index bc98860..a4d4a56 100644
--- a/dev-cpp/websocketpp/Manifest
+++ b/dev-cpp/websocketpp/Manifest
@@ -1,2 +1,3 @@
 DIST websocketpp-0.4.0.tar.gz 628675 SHA256 
8634b233c0c47afa6b76c4edcb9694de490b33950c549fd2531b312c18e8cfca SHA512 
770560afca5f9c88454c1aec61e5c4dfd38b3835897a96c3815fe1232ba6ef7622d07530d644055e60089d5c6f8ab383691358abf2da5782515ad9f313f1d253
 WHIRLPOOL 
2fa0f3deabe6c7b5ae22ea5d4e2f90367a68b816cf4ffe81d61b7f9b85ef575c1cc1baadbf685e9c58ea3f442136c3d1128585e7244498b9def0484995015926
 DIST websocketpp-0.5.0.tar.gz 642592 SHA256 
ab032d61f1d94fc4ebf3bb74297e520499d6fe56801084d3cc828455482e81d9 SHA512 
8c254a3dc772fce31e4dff58e352d967d47d64cfb07dd93d1da7707f27c43760bf2c3d1e43b7669dad20b7986159185e5ba26d87e1716fb896be23173438c947
 WHIRLPOOL 
719921a8e804a382020d507ebe33bb5779191cc756b92cf9bd5a576370d4824100ddba556b96a3cbe88f9d701e28e6471727ad34f268805006f03ae3b99e39e0
+DIST websocketpp-0.6.0.tar.gz 655641 SHA256 
688c52772b90a4694496c08f4ec1d712e24af17dc060d3392f0f3b4e18062898 SHA512 
55dbb8d1666ae0d35d4b46ec2c375c9d3d66f57a473f526175a63bc147279c12bd8e605e5812a68ef45d8b6f51f4cfd6e61a1b971d223b5dc6e5528a6937fef8
 WHIRLPOOL 
3a179a7066e15fe08c3b1fc54b320729437ad5894a07e5ae630e992e34b740b817c78b9869f281fd4d2a7c54b6cca60fa9a1773803b6d67f5fb11c2694348ac5

diff --git a/dev-cpp/websocketpp/websocketpp-0.6.0.ebuild 
b/dev-cpp/websocketpp/websocketpp-0.6.0.ebuild
new file mode 100644
index 000..003a6a2
--- /dev/null
+++ b/dev-cpp/websocketpp/websocketpp-0.6.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit cmake-utils
+
+DESCRIPTION=C++/Boost Asio based websocket client/server library
+HOMEPAGE=http://www.zaphoyd.com/websocketpp;
+SRC_URI=https://github.com/zaphoyd/${PN}/archive/${PV}.tar.gz - ${P}.tar.gz
+
+KEYWORDS=~amd64 ~x86
+LICENSE=BSD
+SLOT=0
+IUSE=boost examples test
+
+DEPEND=
+RDEPEND=${DEPEND}
+   boost? ( dev-libs/boost )
+
+
+# tests no-op
+RESTRICT=test
+
+src_configure() {
+   # Disable EXAMPLES as compilation is broken upstream
+   local mycmakeargs=(
+   -DBUILD_EXAMPLES=OFF
+   $(cmake-utils_use_enable !boost CPP11)
+   $(cmake-utils_use_build test TESTS)
+   )
+
+   cmake-utils_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/websocketpp/

2015-08-17 Thread Johannes Huber
commit: 9b78411f1cddd38a6cec619c6281305327f827d1
Author: Johannes Huber johu AT gentoo DOT org
AuthorDate: Mon Aug 17 20:49:17 2015 +
Commit: Johannes Huber johu AT gentoo DOT org
CommitDate: Mon Aug 17 20:49:26 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b78411f

dev-cpp/websocketpp: Remove old

Package-Manager: portage-2.2.20.1

 dev-cpp/websocketpp/Manifest |  2 --
 dev-cpp/websocketpp/websocketpp-0.4.0.ebuild | 35 
 dev-cpp/websocketpp/websocketpp-0.5.0.ebuild | 35 
 3 files changed, 72 deletions(-)

diff --git a/dev-cpp/websocketpp/Manifest b/dev-cpp/websocketpp/Manifest
index a4d4a56..5bcfe30 100644
--- a/dev-cpp/websocketpp/Manifest
+++ b/dev-cpp/websocketpp/Manifest
@@ -1,3 +1 @@
-DIST websocketpp-0.4.0.tar.gz 628675 SHA256 
8634b233c0c47afa6b76c4edcb9694de490b33950c549fd2531b312c18e8cfca SHA512 
770560afca5f9c88454c1aec61e5c4dfd38b3835897a96c3815fe1232ba6ef7622d07530d644055e60089d5c6f8ab383691358abf2da5782515ad9f313f1d253
 WHIRLPOOL 
2fa0f3deabe6c7b5ae22ea5d4e2f90367a68b816cf4ffe81d61b7f9b85ef575c1cc1baadbf685e9c58ea3f442136c3d1128585e7244498b9def0484995015926
-DIST websocketpp-0.5.0.tar.gz 642592 SHA256 
ab032d61f1d94fc4ebf3bb74297e520499d6fe56801084d3cc828455482e81d9 SHA512 
8c254a3dc772fce31e4dff58e352d967d47d64cfb07dd93d1da7707f27c43760bf2c3d1e43b7669dad20b7986159185e5ba26d87e1716fb896be23173438c947
 WHIRLPOOL 
719921a8e804a382020d507ebe33bb5779191cc756b92cf9bd5a576370d4824100ddba556b96a3cbe88f9d701e28e6471727ad34f268805006f03ae3b99e39e0
 DIST websocketpp-0.6.0.tar.gz 655641 SHA256 
688c52772b90a4694496c08f4ec1d712e24af17dc060d3392f0f3b4e18062898 SHA512 
55dbb8d1666ae0d35d4b46ec2c375c9d3d66f57a473f526175a63bc147279c12bd8e605e5812a68ef45d8b6f51f4cfd6e61a1b971d223b5dc6e5528a6937fef8
 WHIRLPOOL 
3a179a7066e15fe08c3b1fc54b320729437ad5894a07e5ae630e992e34b740b817c78b9869f281fd4d2a7c54b6cca60fa9a1773803b6d67f5fb11c2694348ac5

diff --git a/dev-cpp/websocketpp/websocketpp-0.4.0.ebuild 
b/dev-cpp/websocketpp/websocketpp-0.4.0.ebuild
deleted file mode 100644
index bca41a7..000
--- a/dev-cpp/websocketpp/websocketpp-0.4.0.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit cmake-utils
-
-DESCRIPTION=C++/Boost Asio based websocket client/server library
-HOMEPAGE=http://www.zaphoyd.com/websocketpp;
-SRC_URI=https://github.com/zaphoyd/${PN}/archive/${PV}.tar.gz - ${P}.tar.gz
-
-KEYWORDS=~amd64 ~x86
-LICENSE=BSD
-SLOT=0
-IUSE=boost test
-
-DEPEND=
-RDEPEND=${DEPEND}
-   boost? ( dev-libs/boost )
-
-
-# tests no-op
-RESTRICT=test
-
-src_configure() {
-   # Disable EXAMPLES as compilation is broken upstream
-   local mycmakeargs=(
-   -DEXAMPLES=OFF
-   $(cmake-utils_use_enable !boost CPP11)
-   $(cmake-utils_use_enable test)
-   )
-
-   cmake-utils_src_configure
-}

diff --git a/dev-cpp/websocketpp/websocketpp-0.5.0.ebuild 
b/dev-cpp/websocketpp/websocketpp-0.5.0.ebuild
deleted file mode 100644
index 6d334bd..000
--- a/dev-cpp/websocketpp/websocketpp-0.5.0.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit cmake-utils
-
-DESCRIPTION=C++/Boost Asio based websocket client/server library
-HOMEPAGE=http://www.zaphoyd.com/websocketpp;
-SRC_URI=https://github.com/zaphoyd/${PN}/archive/${PV}.tar.gz - ${P}.tar.gz
-
-KEYWORDS=~amd64 ~x86
-LICENSE=BSD
-SLOT=0
-IUSE=boost test
-
-DEPEND=
-RDEPEND=${DEPEND}
-   boost? ( dev-libs/boost )
-
-
-# tests no-op
-RESTRICT=test
-
-src_configure() {
-   # Disable EXAMPLES as compilation is broken upstream
-   local mycmakeargs=(
-   -DEXAMPLES=OFF
-   $(cmake-utils_use_enable !boost CPP11)
-   $(cmake-utils_use_enable test TESTS)
-   )
-
-   cmake-utils_src_configure
-}