public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/utfcpp/
Date: Sat, 28 Dec 2024 00:05:39 +0000 (UTC)	[thread overview]
Message-ID: <1735344292.176bbb6be339a3cefdef741ec2bfd50739489da2.asturm@gentoo> (raw)

commit:     176bbb6be339a3cefdef741ec2bfd50739489da2
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 27 22:14:02 2024 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Dec 28 00:04:52 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=176bbb6b

dev-libs/utfcpp: add 4.0.6

Closes: https://bugs.gentoo.org/936252
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 dev-libs/utfcpp/Manifest            |  2 ++
 dev-libs/utfcpp/utfcpp-4.0.6.ebuild | 70 +++++++++++++++++++++++++++++++++++++
 2 files changed, 72 insertions(+)

diff --git a/dev-libs/utfcpp/Manifest b/dev-libs/utfcpp/Manifest
index 6b90b91d3959..6a9727378ea4 100644
--- a/dev-libs/utfcpp/Manifest
+++ b/dev-libs/utfcpp/Manifest
@@ -1,2 +1,4 @@
 DIST ftest-20211106174116.tar.gz 3232 BLAKE2B 9a2184e82a19465333600b7c31de9a51e6716a4099f23145d93c967636da6539a0e71bfdd082507bf19a440df1199a1abf6f528b3957391f8b2a5c3e4dfb26ec SHA512 d92d3a3abd4f7b35971bfe7d74e1b822931818f60149a56ad29dd3238300ad71de1989fedc602a44a9c1a253da7bce758adf8d5b6da63ca6f322fb06dcefc98a
+DIST ftest-c4ad4af0.tar.gz 3320 BLAKE2B de11b5864bbf3c2ba8a67add006deffd729350fa3d5f0ee59a72cebaa8ad467c503930bf7ed2fdea8c5a68f05886049b637e9d886ba851d2cfdac403ae86dc0f SHA512 ac328665d2f22fe72f7252d4f7ae84c74ea551407ba618151ef1c281159df8744f1e6efb9b21d4e1df774528f0b979d45ee5d82d3e8ab146aa9f2ad91b0b6d37
 DIST utfcpp-3.2.1.tar.gz 27377 BLAKE2B 27c4becfa7e1f5e8b63ee0e03b9f66cf5d6743cff3706222dde6e21c3feb51897eddd7dcaeaaacc66513fdb209d5be392e83ba22ab7a7d848bdf9721577d6444 SHA512 5798487f12b1bc55d3e06aed38f7604271ca3402963efcf85d181fd590d8a088d21e961e77698e60dc2cdae8cf4506645903442c45fd328201752d9589180e0d
+DIST utfcpp-4.0.6.tar.gz 34153 BLAKE2B 9ad44b7390d1f93e2692641e87c693b83ee13f93732dbab893f678db0c32e37e0d2399d2c2834f98ad629ee7025bf7a1f2f36d14b9b89926d97caaaeb8635c83 SHA512 53c59f2e04fe5d36faf98a238b94f774834a34982d481a8170ee144f7f8c2d4ba249a732d90654922944c1075c578690c327091883398c533d604bf49f4a6ecf

diff --git a/dev-libs/utfcpp/utfcpp-4.0.6.ebuild b/dev-libs/utfcpp/utfcpp-4.0.6.ebuild
new file mode 100644
index 000000000000..42f4f5ff6346
--- /dev/null
+++ b/dev-libs/utfcpp/utfcpp-4.0.6.ebuild
@@ -0,0 +1,70 @@
+# Copyright 2015-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+if [[ ${PV} == *9999* ]]; then
+	EGIT_REPO_URI="https://github.com/nemtrif/utfcpp"
+	EGIT_SUBMODULES=()
+	inherit git-r3
+else
+	FTEST_GIT_REV="c4ad4af0946b73ce1a40cbc72205d15d196c7e06"
+	SRC_URI="https://github.com/nemtrif/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
+		test? ( https://github.com/nemtrif/ftest/archive/${FTEST_GIT_REV}.tar.gz -> ftest-${FTEST_GIT_REV:0:8}.tar.gz )"
+	KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+fi
+
+DESCRIPTION="UTF-8 C++ library"
+HOMEPAGE="https://github.com/nemtrif/utfcpp"
+
+LICENSE="Boost-1.0"
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+src_unpack() {
+	if [[ ${PV} == *9999* ]]; then
+		git-r3_src_unpack
+
+		if use test; then
+			git-r3_fetch https://github.com/nemtrif/ftest refs/heads/master
+			git-r3_checkout https://github.com/nemtrif/ftest "${WORKDIR}/ftest"
+		fi
+	else
+		default
+
+		if use test; then
+			mv ftest-${FTEST_GIT_REV} ftest || die
+		fi
+	fi
+
+	if use test; then
+		rmdir "${S}/extern/ftest" || die
+		ln -s ../../ftest "${S}/extern/ftest" || die
+	fi
+}
+
+src_configure() {
+	cmake_src_configure
+
+	if use test; then
+		CMAKE_USE_DIR=${CMAKE_USE_DIR}/tests BUILD_DIR=${CMAKE_USE_DIR}_build \
+			cmake_src_configure
+	fi
+}
+
+src_compile() {
+	cmake_src_compile
+
+	if use test; then
+		CMAKE_USE_DIR=${CMAKE_USE_DIR}/tests BUILD_DIR=${CMAKE_USE_DIR}_build \
+			cmake_src_compile
+	fi
+}
+
+src_test() {
+	CMAKE_USE_DIR=${CMAKE_USE_DIR}/tests BUILD_DIR=${CMAKE_USE_DIR}_build \
+		cmake_src_test
+}


             reply	other threads:[~2024-12-28  0:05 UTC|newest]

Thread overview: 55+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-28  0:05 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-09 23:23 [gentoo-commits] repo/gentoo:master commit in: dev-libs/utfcpp/ Sam James
2025-03-09 23:23 Sam James
2025-03-09 22:58 Sam James
2025-03-09 22:55 Sam James
2025-03-09 22:55 Sam James
2025-03-09 22:55 Sam James
2025-03-09 22:55 Sam James
2024-12-28  0:05 Andreas Sturmlechner
2024-03-07 23:46 Andreas Sturmlechner
2024-03-07 23:44 Andreas Sturmlechner
2024-02-28 15:23 Andreas Sturmlechner
2024-02-28 15:21 Andreas Sturmlechner
2023-09-27 16:44 WANG Xuerui
2022-08-18  2:53 Matt Turner
2022-07-29  8:01 Agostino Sarubbo
2022-07-29  7:59 Agostino Sarubbo
2022-07-28 23:06 Sam James
2022-07-28  7:06 Agostino Sarubbo
2022-07-28  6:30 Sam James
2022-07-28  6:30 Sam James
2022-07-28  6:30 Sam James
2022-03-09  8:59 Jakov Smolić
2022-02-28  7:06 Yixun Lan
2022-01-29 15:20 Yixun Lan
2022-01-29 15:20 Yixun Lan
2022-01-29 15:20 Yixun Lan
2022-01-02 19:47 Arthur Zamarin
2022-01-02 19:07 Arthur Zamarin
2022-01-02  9:59 Sam James
2022-01-02  5:52 Sam James
2022-01-02  5:52 Sam James
2022-01-02  5:52 Sam James
2021-03-28  7:14 Sam James
2020-11-22 19:32 Mike Gilbert
2020-11-22 19:32 Mike Gilbert
2020-11-22 19:32 Mike Gilbert
2020-02-08 12:50 Sergei Trofimovich
2020-01-17 19:09 Mike Gilbert
2019-12-31 18:08 Aaron Bauman
2019-12-31  8:18 Agostino Sarubbo
2019-12-31  8:15 Agostino Sarubbo
2019-12-06 20:25 Mike Gilbert
2019-09-26  6:52 Sergei Trofimovich
2019-08-30 18:39 Sergei Trofimovich
2019-08-18  3:06 Aaron Bauman
2019-08-16 17:03 Mike Gilbert
2019-08-09 18:39 Mike Gilbert
2019-08-09 18:39 Mike Gilbert
2019-08-09 18:39 Mike Gilbert
2019-07-21  8:25 Sergei Trofimovich
2019-07-16 18:19 Andreas Sturmlechner
2019-02-17 17:40 Sergei Trofimovich
2016-08-07  8:02 Pacho Ramos
2016-01-15  9:03 Agostino Sarubbo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1735344292.176bbb6be339a3cefdef741ec2bfd50739489da2.asturm@gentoo \
    --to=asturm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox