From 2f554a26ad94de2e833320953fd517020fad1e00 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Thu, 31 Mar 2022 01:45:12 +0000 Subject: Adding metadata --- dev-cpp/asio/Manifest | 2 +- dev-cpp/asio/asio-1.20.0.ebuild | 51 ------------------------ dev-cpp/asio/asio-1.22.1.ebuild | 58 ++++++++++++++++++++++++++++ dev-cpp/asio/files/asio-1.22.1-cpp20ex.patch | 29 ++++++++++++++ 4 files changed, 88 insertions(+), 52 deletions(-) delete mode 100644 dev-cpp/asio/asio-1.20.0.ebuild create mode 100644 dev-cpp/asio/asio-1.22.1.ebuild create mode 100644 dev-cpp/asio/files/asio-1.22.1-cpp20ex.patch (limited to 'dev-cpp/asio') diff --git a/dev-cpp/asio/Manifest b/dev-cpp/asio/Manifest index 2fd0b0345d66..727f3b5a8267 100644 --- a/dev-cpp/asio/Manifest +++ b/dev-cpp/asio/Manifest @@ -1,3 +1,3 @@ DIST asio-1.19.2.tar.bz2 1842597 BLAKE2B b2236c33432984ab660eba4c93be32374bb49f688a1e6a0711d7bac322cc4a7f817db209278f216468c6a72b9d3dd564cf298e1f49f8098c3fd9aec7acd66eb7 SHA512 07f9c29d8f02090b4d4b6a1867bcc07a8e9f3388556dff787ca3ba143022eeb63bfac0b5bc264076fed4db3b2e5ec6b7ff0ebefde40ba4753c832032a72d54cc -DIST asio-1.20.0.tar.bz2 1845826 BLAKE2B a768dc0b9ae380bef07d674507f7571d0bc47e182cdde10b24cee246814874dd7739c523b071dfede61a12059f52e04d7bbd309a03d93070bc1dd4640c253c19 SHA512 6421960abd2cf0c205cc50e86adfe492bca2870b486328b4825dc0cefc9c40cdc085516d474c23e15a73f4c108c0e69add5fab6dbe594a1e53636c5c3027e4c5 DIST asio-1.21.0.tar.bz2 1967398 BLAKE2B 95e0ba44910e7450e614011b487acac0cd292302c0f502ec678639b70af7e6f9b86ee2c50c7f7e3e3437ce4474323e44b5e371c08f3a9ed464ffb3f428de728b SHA512 62252b2d3ca4fb99579c5fe57bf64b700792198dd7fa45acb4af7f64e83494bade1885b848f9e364f4c42d9db025841324cbd9a0fd3fe45526e7e4be6f60f8c0 +DIST asio-1.22.1.tar.bz2 3085878 BLAKE2B 07326a2273d5b8c0aef8402c92a6a88abbcb961d2a029596d58735d6626279e6d4d591371cc368a41fac1d0161b8786174ba71153e73aac38fa81a83f5f5be86 SHA512 be4a066d9f73662f68a771f63a59fc2e16e8ee1ae1ca6c581e09922514029e58c479edfc0517ee6b29a1fd377d202a2a6eb80d9d17f6e957233c11331f04a479 diff --git a/dev-cpp/asio/asio-1.20.0.ebuild b/dev-cpp/asio/asio-1.20.0.ebuild deleted file mode 100644 index b9c0573ea0cd..000000000000 --- a/dev-cpp/asio/asio-1.20.0.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 2021 Liguros Authors -# Distributed under the terms of the GNU General Public License v2 -EAPI=8 - -DESCRIPTION="Asynchronous Network Library" -HOMEPAGE="http://think-async.com/Asio/ https://github.com/chriskohlhoff/asio" -SRC_URI="mirror://sourceforge/${PN}/${PN}/${P}.tar.bz2" - -LICENSE="Boost-1.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="doc examples libressl ssl test" -RESTRICT="!test? ( test )" -# test searches for libssl during ./configure, and REQUIRED_USE is easier than -# patching configure to not search for it with USE=-ssl -REQUIRED_USE="test? ( ssl )" - -RDEPEND="dev-libs/boost:= - ssl? ( - !libressl? ( dev-libs/openssl:0= ) - libressl? ( dev-libs/libressl:0= ) - )" -DEPEND="${RDEPEND}" - -src_prepare() { - default - - if ! use test; then - # Don't build nor install any examples or unittests - # since we don't have a script to run them - cat > src/Makefile.in <<-EOF || die - all: - - install: - - clean: - EOF - fi -} - -src_install() { - use doc && local HTML_DOCS=( doc/. ) - default - - if use examples; then - # Get rid of the object files - emake clean - dodoc -r src/examples - docompress -x /usr/share/doc/${PF}/examples - fi -} diff --git a/dev-cpp/asio/asio-1.22.1.ebuild b/dev-cpp/asio/asio-1.22.1.ebuild new file mode 100644 index 000000000000..24fbd3738b02 --- /dev/null +++ b/dev-cpp/asio/asio-1.22.1.ebuild @@ -0,0 +1,58 @@ +# Copyright 2021-2022 Liguros Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + +inherit autotools + +DESCRIPTION="Asynchronous Network Library" +HOMEPAGE="http://think-async.com/Asio/ https://github.com/chriskohlhoff/asio" +#SRC_URI="mirror://sourceforge/${PN}/${PN}/${P}.tar.bz2" +SRC_URI="https://deac-ams.dl.sourceforge.net/project/asio/${PN}/${PV}%20%28Stable%29/${P}.tar.bz2" + +LICENSE="Boost-1.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="doc examples libressl ssl test" +RESTRICT="!test? ( test )" +# test searches for libssl during ./configure, and REQUIRED_USE is easier than +# patching configure to not search for it with USE=-ssl +REQUIRED_USE="test? ( ssl )" + +RDEPEND="dev-libs/boost:= + ssl? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( >=dev-libs/libressl-3.5.0:0= ) + )" +DEPEND="${RDEPEND}" + +PATCHES="${FILESDIR}/asio-1.22.1-cpp20ex.patch" + +src_prepare() { + default + + eautoreconf + + if ! use test; then + # Don't build nor install any examples or unittests + # since we don't have a script to run them + cat > src/Makefile.in <<-EOF || die + all: + + install: + + clean: + EOF + fi +} + +src_install() { + use doc && local HTML_DOCS=( doc/. ) + default + + if use examples; then + # Get rid of the object files + emake clean + dodoc -r src/examples + docompress -x /usr/share/doc/${PF}/examples + fi +} diff --git a/dev-cpp/asio/files/asio-1.22.1-cpp20ex.patch b/dev-cpp/asio/files/asio-1.22.1-cpp20ex.patch new file mode 100644 index 000000000000..55de22b8a136 --- /dev/null +++ b/dev-cpp/asio/files/asio-1.22.1-cpp20ex.patch @@ -0,0 +1,29 @@ +The cpp20 dir doesn't exist +https://github.com/chriskohlhoff/asio/issues/1026 + +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -15,7 +15,6 @@ EXAMPLES_CPP17 = examples/cpp17 + endif + + if HAVE_CXX20 +-EXAMPLES_CPP20 = examples/cpp20 + endif + + SUBDIRS = \ +@@ -23,7 +22,6 @@ SUBDIRS = \ + $(EXAMPLES_CPP11) \ + $(EXAMPLES_CPP14) \ + $(EXAMPLES_CPP17) \ +- $(EXAMPLES_CPP20) \ + tests + + DIST_SUBDIRS = examples/cpp03 examples/cpp11 examples/cpp14 examples/cpp17 tests +--- a/configure.ac ++++ b/configure.ac +@@ -241,4 +241,4 @@ AC_OUTPUT([ + src/examples/cpp11/Makefile + src/examples/cpp14/Makefile + src/examples/cpp17/Makefile +- src/examples/cpp20/Makefile]) ++ ]) -- cgit v1.3.1