From 1c4a83151bba1a4331040480c071d2aa6dd21136 Mon Sep 17 00:00:00 2001 From: Krzesimir Nowak Date: Fri, 24 Mar 2023 16:06:58 +0100 Subject: [PATCH] dev-libs/inih: Sync with Gentoo It's from Gentoo commit 83eca1e8b551660b41994262c226edb278d98da5. --- .../portage-stable/dev-libs/inih/Manifest | 2 +- .../{inih-53.ebuild => inih-56-r1.ebuild} | 29 +++++++------------ 2 files changed, 12 insertions(+), 19 deletions(-) rename sdk_container/src/third_party/portage-stable/dev-libs/inih/{inih-53.ebuild => inih-56-r1.ebuild} (51%) diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/inih/Manifest b/sdk_container/src/third_party/portage-stable/dev-libs/inih/Manifest index e19e85d2c8..99f535bd88 100644 --- a/sdk_container/src/third_party/portage-stable/dev-libs/inih/Manifest +++ b/sdk_container/src/third_party/portage-stable/dev-libs/inih/Manifest @@ -1 +1 @@ -DIST inih-53.tar.gz 16984 BLAKE2B 1242e6273c9dd9a11ea026a3495a487b2aa72d8e01f34304d8568c88897ae9c9bb425246f992dc16f4dc2210ec14c597d0ef595cec84ff98a5d6101ee5a643b9 SHA512 99bc40c294b521e9973184bfb30d60c129735991f33b387b3d023827a34672b0489eadf91e38895ea725168dbc7b27bb02c1975debe7573b4b209d0e947b2100 +DIST inih-56.tar.gz 18458 BLAKE2B 51935959a9eb4e393b17302f0932a232963883680f10d404c63d5f2ebbd3bf0b740f44edfa1b2541d0e130016eb853ebedf68a1c40797f658496e2a8c966af3d SHA512 ff3e0910990f73e5b21fddc84737ab346279f201c86c7ad864c6cad9de5bde57c3e0a433b9b8f3585b7d86feaae2ea074185f92891dcadc98c274c1c0745d2d2 diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/inih/inih-53.ebuild b/sdk_container/src/third_party/portage-stable/dev-libs/inih/inih-56-r1.ebuild similarity index 51% rename from sdk_container/src/third_party/portage-stable/dev-libs/inih/inih-53.ebuild rename to sdk_container/src/third_party/portage-stable/dev-libs/inih/inih-56-r1.ebuild index 0c65d26f16..e287c82e01 100644 --- a/sdk_container/src/third_party/portage-stable/dev-libs/inih/inih-53.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-libs/inih/inih-56-r1.ebuild @@ -1,37 +1,30 @@ -# Copyright 2020-2021 Gentoo Authors +# Copyright 2020-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -inherit meson-multilib +# Tests not wired up to meson and don't seem to be intended for downstream use yet +# e.g. hardcoding gcc, just a shell script + +inherit meson DESCRIPTION="inih (INI not invented here) simple .INI file parser" HOMEPAGE="https://github.com/benhoyt/inih" - SRC_URI="https://github.com/benhoyt/inih/archive/r${PV}.tar.gz -> ${P}.tar.gz" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86" +S="${WORKDIR}"/inih-r${PV} LICENSE="BSD" SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" -IUSE="static-libs" +DOCS=( README.md ) -S="${WORKDIR}/inih-r${PV}" - -multilib_src_configure() { +src_configure() { local emesonargs=( - -Ddefault_library=$(usex static-libs both shared) + -Ddefault_library=shared -Ddistro_install=true -Dwith_INIReader=true ) meson_src_configure } - -multilib_src_install_all() { - local DOCS=( - LICENSE.txt - README.md - ) - einstalldocs -}