summaryrefslogtreecommitdiff
path: root/dev-cpp
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-07-14 16:37:36 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-07-14 16:37:36 +0100
commit3eb3ea9bc18adf028abfe51d11436c3777202f8c (patch)
tree9f016ff96b8bb8b5d4ce46733171c6b4dbdd94ee /dev-cpp
parent5af5a2b4acc97daacc0bf0e1d4e85ec780734689 (diff)
gentoo auto-resync : 14:07:2023 - 16:37:36
Diffstat (limited to 'dev-cpp')
-rw-r--r--dev-cpp/Manifest.gzbin14256 -> 14256 bytes
-rw-r--r--dev-cpp/simpleini/Manifest3
-rw-r--r--dev-cpp/simpleini/files/simpleini-4.20-pkgconfig-var.patch8
-rw-r--r--dev-cpp/simpleini/simpleini-4.20.ebuild36
4 files changed, 47 insertions, 0 deletions
diff --git a/dev-cpp/Manifest.gz b/dev-cpp/Manifest.gz
index 6363ca33b628..01d8d3fe1b88 100644
--- a/dev-cpp/Manifest.gz
+++ b/dev-cpp/Manifest.gz
Binary files differ
diff --git a/dev-cpp/simpleini/Manifest b/dev-cpp/simpleini/Manifest
index fd00a6b3fa64..6a8b5c3e441a 100644
--- a/dev-cpp/simpleini/Manifest
+++ b/dev-cpp/simpleini/Manifest
@@ -1,3 +1,6 @@
+AUX simpleini-4.20-pkgconfig-var.patch 378 BLAKE2B d22f5e06b4f58211fa7481f1bd99925fd3617afba560937581f1b3e95c561a764b13ed04dc3e2bc164ff741c68da1ab7ab0cfab8f2f009f91cebbdbc10d9f3bc SHA512 414904be7071405d67a2fdd0151c15e86e457316ec182b68574282d43542c33670af53f375bd8dd1d302f6f752d8bdccbb012b4e95ee1cbfc66fddd037047325
DIST simpleini-4.19.tar.gz 62793 BLAKE2B f32a25743c89f954a0b1cce2cb29584d63083922b9b56d91b39412617067f7316ecb897474a7f3a4d550569a0d007e51780d3532079966a7ba72e2b89ff5a5cc SHA512 3f0f3120aca3350bab66fe1727f4d15536d933a0840a17b49203c2220fab7ace4383d856c1b77a84f4e36c9a5df0c3eb937ad729c977f84e7163d7e2cff400c5
+DIST simpleini-4.20.tar.gz 64807 BLAKE2B 5179fbdc1a46b352590a20bcaafa88d905d75ef3334becc03caf11f5b8c4bd3673971d688f9ec0077af3192244b29befd217dfa4ef218594f68c917698727b72 SHA512 e2518d10d63026b0fd423cbd77372b60bc693e8ec1878a91ab05364a49b48d38d8d379247a27a8ffc5582ba19e333b10996f4bf48899c06c567ae0dea067a9e3
EBUILD simpleini-4.19.ebuild 1047 BLAKE2B 8b42b57fb12829b371732053a92da37fa3cd3f40b2d57c0117a49816ecb6ccfcd983de5ccf5911a42509aaa9e39276a69fe876d54cb9b13501b53145d9409afa SHA512 7286e10c0ac599f4500ebb37ab4c40c5e933ebc9e734be28ff392fb26d2420065277fb67e9eefdff1245dc280d71d4a6ffc48b990d5c6261cac7215f78078740
+EBUILD simpleini-4.20.ebuild 849 BLAKE2B 72e0da6011f4bf792587e328c43cc8576519cf94ecdfb8aa8c256c3fe09c08b5a30042b067a9e746003d8a8f31b297eb7f977202714f132f5c21ed22793fb767 SHA512 fbccfe0a1ec10db00bb261d08a25b174e570cb07e51d0c07049b4194991fda866bd683a56783e0b65fad440669a561d1f6a6c8aee6f144768da26ecc3773f4dc
MISC metadata.xml 337 BLAKE2B fa98273f3b1289d766527689796a928b6ac1bb7d325aba1fe5ddd52683004bf083c272491976cf5751116c643926188af906dc3bbcb8e857ba3c12cc8b0567cd SHA512 cf72312d53f82f169c7bd3f78b9d29224e50c760f0bb0afe69d522969eadb8535c1085369daf11c6bfaa23310cba1bc0053ee997c3aa27103e457209a60be0af
diff --git a/dev-cpp/simpleini/files/simpleini-4.20-pkgconfig-var.patch b/dev-cpp/simpleini/files/simpleini-4.20-pkgconfig-var.patch
new file mode 100644
index 000000000000..1250a01f3ca2
--- /dev/null
+++ b/dev-cpp/simpleini/files/simpleini-4.20-pkgconfig-var.patch
@@ -0,0 +1,8 @@
+Use $(PKG_CONFIG), and also avoid repeating the calls for every objects.
+--- a/tests/Makefile
++++ b/tests/Makefile
+@@ -2,2 +2,2 @@
+-CXXFLAGS+=-Wall -std=c++14 `pkg-config --cflags gtest_main`
+-LDFLAGS+=`pkg-config --libs gtest_main`
++CXXFLAGS:=-Wall -std=c++14 $(shell $(PKG_CONFIG) --cflags gtest_main) $(CXXFLAGS)
++LDFLAGS:=$(LDFLAGS) $(shell $(PKG_CONFIG) --libs gtest_main)
diff --git a/dev-cpp/simpleini/simpleini-4.20.ebuild b/dev-cpp/simpleini/simpleini-4.20.ebuild
new file mode 100644
index 000000000000..ccc5bfadc70d
--- /dev/null
+++ b/dev-cpp/simpleini/simpleini-4.20.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
+}