summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Möllendorf <iniparser@moellendorf.eu>2024-06-03 21:55:07 +0200
committerBen Kohler <bkohler@gentoo.org>2024-06-04 07:15:54 -0500
commit3fca5bdfd84795f0c7594f08aefe973d065063f7 (patch)
treeb773658ecc60a4ebcaa0eb79ded1e28d42de110f
parentapp-office/scribus: fixed building with boost 1.85 (diff)
downloadgentoo-3fca5bdfd84795f0c7594f08aefe973d065063f7.tar.gz
gentoo-3fca5bdfd84795f0c7594f08aefe973d065063f7.tar.bz2
gentoo-3fca5bdfd84795f0c7594f08aefe973d065063f7.zip
dev-libs/iniparser: Bump iniparser version
HOMPAGE and SRC_URI changed since upstream moved to Gitlab Signed-off-by: Lars Möllendorf <iniparser@moellendorf.eu> Closes: https://github.com/gentoo/gentoo/pull/36797 Signed-off-by: Ben Kohler <bkohler@gentoo.org>
-rw-r--r--dev-libs/iniparser/Manifest1
-rw-r--r--dev-libs/iniparser/iniparser-4.2.2.ebuild27
-rw-r--r--dev-libs/iniparser/metadata.xml2
3 files changed, 29 insertions, 1 deletions
diff --git a/dev-libs/iniparser/Manifest b/dev-libs/iniparser/Manifest
index f061f9715a2a..0df565c5a236 100644
--- a/dev-libs/iniparser/Manifest
+++ b/dev-libs/iniparser/Manifest
@@ -1,2 +1,3 @@
DIST iniparser-3.1.tar.gz 39097 BLAKE2B 4ada36f5bb95476c06deffa7938a750bcdeb0bd5bb817b24274c1e1c588d9abbd23c3a58f3cb3b6f961912f3e12e74aadf224da4cd81863b874e4a84d11c1744 SHA512 8fd8324c5629fdc3e3eff00afb5f0832402ccc760c5b92db82aa29b340ec891419ca2c4fee3a4d4d67cf9bc51c76b095bc0c458e087c2b8e72ac36867c47ae86
DIST iniparser-4.1.tar.gz 44732 BLAKE2B a3480dab512b41eb9635c733b76048ab089a311c2970aae5ce89d103ff6ab1923d5824a5fca3bf445ba213ecd9954018fdef2831fd98c1a43c9ae7d4fb1cb388 SHA512 a8125aaaead1f9dfde380fa1e45bae31ca2312be029f2c53b4072cb3b127d16578a95c7c0aee1e3dda5e7b8db7a865ba6dfe8a1d80eb673061b3babef744e968
+DIST iniparser-4.2.2.tar.bz2 32649 BLAKE2B e4ab230ca1cde6a0322e05aa483e3112e324903c65e1f22640e17a7696ac30a4eef66c1bb449ea730b9a0caf55091b425fafb9d1514fbf7bbd21d7ef4503147e SHA512 a9b0d4b80a4d4faeff4ec5ae9f0de8f0d4e1d6244dddfca7c3ef9bb188fcb0c3bb288478632145232fe52073cd0714abc0ad12a1cca4e3936fc40a3fba357601
diff --git a/dev-libs/iniparser/iniparser-4.2.2.ebuild b/dev-libs/iniparser/iniparser-4.2.2.ebuild
new file mode 100644
index 000000000000..f1c7d6cdb7f9
--- /dev/null
+++ b/dev-libs/iniparser/iniparser-4.2.2.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+DESCRIPTION="A free stand-alone ini file parsing library"
+HOMEPAGE="https://gitlab.com/iniparser/iniparser"
+SRC_URI="https://gitlab.com/iniparser/iniparser/-/archive/v${PV}/iniparser-v${PV}.tar.bz2 -> ${P}.tar.bz2"
+
+S="${WORKDIR}/${PN}-v${PV}"
+LICENSE="MIT"
+SLOT="4"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+IUSE="doc examples"
+
+BDEPEND="doc? ( app-text/doxygen )"
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_DOCS=$(usex doc)
+ -DBUILD_EXAMPLES=$(usex examples)
+ )
+
+ cmake_src_configure
+}
diff --git a/dev-libs/iniparser/metadata.xml b/dev-libs/iniparser/metadata.xml
index 3b48e648fba0..1c90e38bac72 100644
--- a/dev-libs/iniparser/metadata.xml
+++ b/dev-libs/iniparser/metadata.xml
@@ -6,6 +6,6 @@
<name>Samba Team</name>
</maintainer>
<upstream>
- <remote-id type="github">ndevilla/iniparser</remote-id>
+ <remote-id type="gitlab">iniparser/iniparser</remote-id>
</upstream>
</pkgmetadata>