summaryrefslogtreecommitdiff
path: root/dev-cpp/simpleini
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-12-29 07:40:48 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-12-29 07:40:48 +0000
commit8d12644534a171c85dd84343b976054ad30faa6d (patch)
tree1bbdbe1f1cc6b952253c203b199150ab19502004 /dev-cpp/simpleini
parentdd5af718da993c9a6f040afb037ba1246974c6e5 (diff)
gentoo auto-resync : 29:12:2023 - 07:40:48
Diffstat (limited to 'dev-cpp/simpleini')
-rw-r--r--dev-cpp/simpleini/Manifest2
-rw-r--r--dev-cpp/simpleini/simpleini-4.22.ebuild36
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-cpp/simpleini/Manifest b/dev-cpp/simpleini/Manifest
index db8498bd7690..6e0d3d53d7b8 100644
--- a/dev-cpp/simpleini/Manifest
+++ b/dev-cpp/simpleini/Manifest
@@ -1,4 +1,6 @@
AUX simpleini-4.20-pkgconfig-var.patch 378 BLAKE2B d22f5e06b4f58211fa7481f1bd99925fd3617afba560937581f1b3e95c561a764b13ed04dc3e2bc164ff741c68da1ab7ab0cfab8f2f009f91cebbdbc10d9f3bc SHA512 414904be7071405d67a2fdd0151c15e86e457316ec182b68574282d43542c33670af53f375bd8dd1d302f6f752d8bdccbb012b4e95ee1cbfc66fddd037047325
DIST simpleini-4.20.tar.gz 64807 BLAKE2B 5179fbdc1a46b352590a20bcaafa88d905d75ef3334becc03caf11f5b8c4bd3673971d688f9ec0077af3192244b29befd217dfa4ef218594f68c917698727b72 SHA512 e2518d10d63026b0fd423cbd77372b60bc693e8ec1878a91ab05364a49b48d38d8d379247a27a8ffc5582ba19e333b10996f4bf48899c06c567ae0dea067a9e3
+DIST simpleini-4.22.tar.gz 65923 BLAKE2B 22c63d089aa30b9a15644b485b4f8238e4bf5c8bffad887eff2fa738f10d5506e960dda505dc858d72795a16ed6ba20850c90796a9ec18ef3117a6330baa2a48 SHA512 6c198636816a0018adbf7f735d402c64245c6fcd540b7360d4388d46f007f3a520686cdaec4705cb8cb31401b2cb4797a80b42ea5d08a6a5807c0848386f7ca1
EBUILD simpleini-4.20.ebuild 849 BLAKE2B 72e0da6011f4bf792587e328c43cc8576519cf94ecdfb8aa8c256c3fe09c08b5a30042b067a9e746003d8a8f31b297eb7f977202714f132f5c21ed22793fb767 SHA512 fbccfe0a1ec10db00bb261d08a25b174e570cb07e51d0c07049b4194991fda866bd683a56783e0b65fad440669a561d1f6a6c8aee6f144768da26ecc3773f4dc
+EBUILD simpleini-4.22.ebuild 849 BLAKE2B 72e0da6011f4bf792587e328c43cc8576519cf94ecdfb8aa8c256c3fe09c08b5a30042b067a9e746003d8a8f31b297eb7f977202714f132f5c21ed22793fb767 SHA512 fbccfe0a1ec10db00bb261d08a25b174e570cb07e51d0c07049b4194991fda866bd683a56783e0b65fad440669a561d1f6a6c8aee6f144768da26ecc3773f4dc
MISC metadata.xml 337 BLAKE2B fa98273f3b1289d766527689796a928b6ac1bb7d325aba1fe5ddd52683004bf083c272491976cf5751116c643926188af906dc3bbcb8e857ba3c12cc8b0567cd SHA512 cf72312d53f82f169c7bd3f78b9d29224e50c760f0bb0afe69d522969eadb8535c1085369daf11c6bfaa23310cba1bc0053ee997c3aa27103e457209a60be0af
diff --git a/dev-cpp/simpleini/simpleini-4.22.ebuild b/dev-cpp/simpleini/simpleini-4.22.ebuild
new file mode 100644
index 000000000000..ccc5bfadc70d
--- /dev/null
+++ b/dev-cpp/simpleini/simpleini-4.22.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
+}