From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CA0D6158015 for ; Fri, 29 Dec 2023 03:16:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E61162BC014; Fri, 29 Dec 2023 03:16:36 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C7B7C2BC014 for ; Fri, 29 Dec 2023 03:16:36 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B4CD534068A for ; Fri, 29 Dec 2023 03:16:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 45F33119 for ; Fri, 29 Dec 2023 03:16:34 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1703819688.2d7190383288b22de4e895fa98ef3fef4d8ebed9.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-cpp/simpleini/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-cpp/simpleini/Manifest dev-cpp/simpleini/simpleini-4.21.ebuild X-VCS-Directories: dev-cpp/simpleini/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: 2d7190383288b22de4e895fa98ef3fef4d8ebed9 X-VCS-Branch: master Date: Fri, 29 Dec 2023 03:16:34 +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: a14a1c9c-ebbd-402f-92cc-0c5249ee8746 X-Archives-Hash: 4fbfd934cf5a57bd6a7ccce4ff769cbd commit: 2d7190383288b22de4e895fa98ef3fef4d8ebed9 Author: Ionen Wolkens gentoo org> AuthorDate: Fri Dec 29 03:07:19 2023 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Fri Dec 29 03:14:48 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d719038 dev-cpp/simpleini: add 4.21 CMakeLists.txt is now more usable (minus some quirks) and should probably be switched to in the future. But it changes the install location of the header and its only revdep (devilutionx) currently cannot find it. Could be solved with a 1 line sed/patch in devilutionx but will wait and stick to makefile for now to observe the situation. Will reconsider next simpleini and/or devilutionx bump. Signed-off-by: Ionen Wolkens gentoo.org> dev-cpp/simpleini/Manifest | 1 + dev-cpp/simpleini/simpleini-4.21.ebuild | 36 +++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/dev-cpp/simpleini/Manifest b/dev-cpp/simpleini/Manifest index e850a145f63c..fb19012e80da 100644 --- a/dev-cpp/simpleini/Manifest +++ b/dev-cpp/simpleini/Manifest @@ -1 +1,2 @@ DIST simpleini-4.20.tar.gz 64807 BLAKE2B 5179fbdc1a46b352590a20bcaafa88d905d75ef3334becc03caf11f5b8c4bd3673971d688f9ec0077af3192244b29befd217dfa4ef218594f68c917698727b72 SHA512 e2518d10d63026b0fd423cbd77372b60bc693e8ec1878a91ab05364a49b48d38d8d379247a27a8ffc5582ba19e333b10996f4bf48899c06c567ae0dea067a9e3 +DIST simpleini-4.21.tar.gz 65928 BLAKE2B 92b32ff2767dc7177ddc3a61fa122cc2810d99ff4be461adb88849ce92ff242899348bc55b698a31c30440e1e02efd9226c7a2075c4080c6b90874778bbf3d0c SHA512 a2bbe879f49c8e790daf3c5b02fbf7bacb0249a6d4b8b31116602c48090dc579c3d463b1288923ecd4708647ff2b47dee739a85bb47607d249d5608b29740011 diff --git a/dev-cpp/simpleini/simpleini-4.21.ebuild b/dev-cpp/simpleini/simpleini-4.21.ebuild new file mode 100644 index 000000000000..ccc5bfadc70d --- /dev/null +++ b/dev-cpp/simpleini/simpleini-4.21.ebuild @@ -0,0 +1,36 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="C++ library providing a simple API to read and write INI-style files" +HOMEPAGE="https://github.com/brofield/simpleini/" +SRC_URI="https://github.com/brofield/simpleini/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND="test? ( dev-cpp/gtest )" +BDEPEND="test? ( virtual/pkgconfig )" + +PATCHES=( + "${FILESDIR}"/${PN}-4.20-pkgconfig-var.patch +) + +src_compile() { + if use test; then + tc-export CXX PKG_CONFIG + emake -C tests "${emakeargs[@]}" + fi +} + +src_install() { + # note: this skips ConvertUTF, can use -DSI_CONVERT_ICU instead if needed + emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install + einstalldocs +}