From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A9BEE1584AD for ; Thu, 24 Apr 2025 18:13:19 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 95F9D343083 for ; Thu, 24 Apr 2025 18:13:19 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id D652D1104B8; Thu, 24 Apr 2025 18:13:10 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id CE0851104B8 for ; Thu, 24 Apr 2025 18:13:10 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 851DC342FA2 for ; Thu, 24 Apr 2025 18:13:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B76802615 for ; Thu, 24 Apr 2025 18:13:08 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1745518332.ca054dd004be80472fd4acd8ecd31c018927c679.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-cpp/asio/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-cpp/asio/Manifest dev-cpp/asio/asio-1.34.2.ebuild dev-cpp/asio/metadata.xml X-VCS-Directories: dev-cpp/asio/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: ca054dd004be80472fd4acd8ecd31c018927c679 X-VCS-Branch: master Date: Thu, 24 Apr 2025 18:13:08 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7a4e066f-894d-498f-8206-240988a117cd X-Archives-Hash: 3c5c97d308819bad9427dbc0129fcf98 commit: ca054dd004be80472fd4acd8ecd31c018927c679 Author: Alexey Sokolov asokolov org> AuthorDate: Mon Apr 14 22:52:56 2025 +0000 Commit: Sam James gentoo org> CommitDate: Thu Apr 24 18:12:12 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca054dd0 dev-cpp/asio: add 1.34.2 Switch SRC_URI back to sourceforce, and therefore restore logic of installing docs Signed-off-by: Alexey Sokolov asokolov.org> Part-of: https://github.com/gentoo/gentoo/pull/41597 Closes: https://github.com/gentoo/gentoo/pull/41597 Signed-off-by: Sam James gentoo.org> dev-cpp/asio/Manifest | 1 + dev-cpp/asio/asio-1.34.2.ebuild | 60 +++++++++++++++++++++++++++++++++++++++++ dev-cpp/asio/metadata.xml | 1 + 3 files changed, 62 insertions(+) diff --git a/dev-cpp/asio/Manifest b/dev-cpp/asio/Manifest index 4c4049b1ea03..0023d92edf7f 100644 --- a/dev-cpp/asio/Manifest +++ b/dev-cpp/asio/Manifest @@ -1,2 +1,3 @@ DIST asio-1-34-0.tar.gz 2845964 BLAKE2B 6b51544ead3c17a1ab35524b21e1ff51d38ae86a70622bc86c04678d882843f5f03c35363a7f0b23393fa688b6dd0600cec5c1a4812e273cca1813700c04f0ec SHA512 989e1b453cd5ab3cd8d9d35ea828c6fefb539b41c5e7f57b1dcba9a0a0f1cb2f90a80b4e03cc071fc904e2cf82212e6afb29062d50c2ebf36e798ce171f3ed48 DIST asio-1.30.2.tar.bz2 3196850 BLAKE2B d902fda2338d9717bb8f2f5d43468c5d0b64591814c3ae3134350650f0dd97bf241287347d324b11d0e6993b1b44373df13305d736df09ad3375ce4976f5bb27 SHA512 2d26cdcfcc0c310e82ab502551b51d70fd95ba4628bd306929e78539299974fc14aa6ba27cf256f1df7a56539cb885012ba02a202ae17bf817ee6311308a795a +DIST asio-1.34.2.tar.bz2 3219261 BLAKE2B 91342cc53f0d6e940528ad3b7dcad314bb1ce66fe5a8985d889e2ada20341321463b527d443c6421e1e87f06ff99d2eddf032d32aa799e52b563d9278332ac93 SHA512 cdb7106a7330d66a302f601b45a5e444220f9e8932cb97536c8fd069e31aeb06a9a33cce67ad8154816845e7d24a9247f493c4d00c7359f5c6efaeec9d627a9f diff --git a/dev-cpp/asio/asio-1.34.2.ebuild b/dev-cpp/asio/asio-1.34.2.ebuild new file mode 100644 index 000000000000..d4a5cc138b88 --- /dev/null +++ b/dev-cpp/asio/asio-1.34.2.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Asynchronous Network Library" +HOMEPAGE="https://think-async.com https://github.com/chriskohlhoff/asio" +SRC_URI="https://downloads.sourceforge.net/asio/asio/${P}.tar.bz2" + +LICENSE="Boost-1.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="doc examples test" +RESTRICT="!test? ( test )" + +DEPEND=" + test? ( + dev-libs/boost + dev-libs/openssl + ) +" +BDEPEND="virtual/pkgconfig" + +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 + + # Make links to the example .cpp files work + # https://bugs.gentoo.org/828648 + if use doc; then + dosym ../examples /usr/share/doc/${PF}/src/examples + fi + fi +} diff --git a/dev-cpp/asio/metadata.xml b/dev-cpp/asio/metadata.xml index b0d29eb6120f..ec8d28685c39 100644 --- a/dev-cpp/asio/metadata.xml +++ b/dev-cpp/asio/metadata.xml @@ -11,5 +11,6 @@ chriskohlhoff/asio + asio