mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
dev-build/muon: add 0.5.0
Signed-off-by: Arsen Arsenović <arsen@gentoo.org>
This commit is contained in:
parent
f352b47f63
commit
85aad8610e
@ -1,5 +1,7 @@
|
||||
DIST meson-tests-1e565931348f15f3f9b654f46ab4bf5fa009ca4f.tar.gz 229885 BLAKE2B d53bbc854da00c1a91189f6c4539da782f4ff49d2a57d86c56b9512b8b832f32d094d750055bb0602fe60aff58821e10c5f00663be9479420e29f75fbfba01c9 SHA512 25fdb657a17a33140029600d84cb3182e635749b99af85c432da611349c10576e15d2f79d1f9eaa21e3359b65dd057ef388925c54ebdc9c072e4b24bec3be8f8
|
||||
DIST muon-0.2.0.tar.gz 510533 BLAKE2B 6ec67f8875e84fbc2f23f412825dd47b820cd44e97a16d9ac0ab0ba9db6e755a604b66b79d3dbe13d99440daf21c2f0ccbe69661b1fb3c7df3f636c61a0e4dcb SHA512 b2e90048756bdc26bdea24fe227a87ad4d0e57176e217e22ea492a55229c62e2a70243f60af1e162e2dde8468fdda9662a32ea5cfadd69fab95a83499efa077b
|
||||
DIST muon-0.4.0-man.tar.gz 8006 BLAKE2B 0ce395ddbcccc83f5cdf8e74a7690fe0c0016ba28f7d6a05795e09833a03e8d7a281012ec2c26974b46d9883059623443034c86e08dd188458775ed2ad5fd8ae SHA512 d511ad3e3510092183993ac373ac09b6d47e9ab91ee6d5c6c98c5051eb059cef99762065cd1b24b4b45fe2a242768666ca968ab270d824ce9b74ff24799d0bdc
|
||||
DIST muon-0.5.0-man.tar.gz 8172 BLAKE2B aff24024050f8834bc024c87a4b8f599be376651c156bd9702c804175fd0aaa941a7eb2f0fd29c7016145c67dae17e48ecfd69ee286e3ba2be9147aa5faf6e00 SHA512 3d8973ab907838be6f40532983536023e280ed9624da003eb278ecbd5cd9f17b067d74a6646b6eecff0ebbd6de4b6a53f78e96a9f7c13d436543569d91c05b17
|
||||
DIST muon-v0.3.0.tar.gz 688544 BLAKE2B 6f5e9f91c1221135d8452b54bd781fb4324586d88503579af243c9889e17330d3d746a0e9fa4480a98d36ec5d55d1c335813bd19da81eaf2ef40dda42d32c418 SHA512 10d8d3d8d5df3898de22ed43fef234766e1884561d797a6462d614fd7be0f22eb7bbf40e096fe44d3e58f72e1fc631ef510f53a1e8ec36d4602ad7d5fe2771b3
|
||||
DIST muon-v0.4.0.tar.gz 3435753 BLAKE2B 0eb685ebd22a6314cfa02ab716ae8a1899363d1ce4dc6fd0b42a3fab1ff62358d21abd6c6d2682a78df1fffd2d6cc72abaacfa7eb5174a10d50bdd5dbbf0825c SHA512 2ab817bfe886fff5a9cd00935f19c7c73cc4556aa11a538ca496bdad4cced4dc1608efd05d58b6971640d0543bd7d4486185ed93a26522690cf2e1d348342bb8
|
||||
DIST muon-v0.5.0.tar.gz 1262546 BLAKE2B e43c12a3558108a2b3c35438db8cbf38fec50974f63392c32a48a76273c1896a2347bc475fb0e9282b85a3128367006840da3bfb1f9b49359428fe467e0744b1 SHA512 1575aa928b88fd5f17c1cdf9f46359b4dde407ec11800813eb1c9d4b4a4d201f6ee0a715d2e6f693bf6dda63073980a7207086d4195e51eda96dd27af3319078
|
||||
|
||||
28
dev-build/muon/files/muon-0.5.0-workaround-meson-15093.patch
Normal file
28
dev-build/muon/files/muon-0.5.0-workaround-meson-15093.patch
Normal file
@ -0,0 +1,28 @@
|
||||
Workaround for a meson bug: https://github.com/mesonbuild/meson/issues/15093
|
||||
|
||||
diff --git i/tests/project/meson.build w/tests/project/meson.build
|
||||
index f409198d..b582d83b 100644
|
||||
--- i/tests/project/meson.build
|
||||
+++ w/tests/project/meson.build
|
||||
@@ -45,7 +45,7 @@ foreach t : tests
|
||||
endif
|
||||
|
||||
test_source = props.get('source_root', meson.current_source_dir()) / name
|
||||
- kwargs = props.get('kwargs', {})
|
||||
+ kwargs = props.get('kwargs_', {})
|
||||
suites = ['project', name.split('/')[0]]
|
||||
|
||||
# skip objc tests on non darwin platforms
|
||||
diff --git i/subprojects/meson-tests/meson.build w/subprojects/meson-tests/meson.build
|
||||
index 861e57b..eb540a2 100644
|
||||
--- i/subprojects/meson-tests/meson.build
|
||||
+++ w/subprojects/meson-tests/meson.build
|
||||
@@ -252,7 +252,7 @@ foreach t : [
|
||||
['common/235 invalid standard overridden to valid'],
|
||||
[
|
||||
'common/236 proper args splitting',
|
||||
- {'kwargs': {'env': {'CFLAGS': '-DFOO -DBAR'}}},
|
||||
+ {'kwargs_': {'env': {'CFLAGS': '-DFOO -DBAR'}}},
|
||||
],
|
||||
['common/237 fstrings'],
|
||||
['common/238 dependency include_type inconsistency'],
|
||||
66
dev-build/muon/muon-0.5.0.ebuild
Normal file
66
dev-build/muon/muon-0.5.0.ebuild
Normal file
@ -0,0 +1,66 @@
|
||||
# Copyright 2022-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit meson
|
||||
|
||||
DESCRIPTION="A meson-compatible build system"
|
||||
HOMEPAGE="https://muon.build/"
|
||||
SRC_URI="
|
||||
https://muon.build/releases/v${PV}/${PN}-v${PV}.tar.gz
|
||||
https://muon.build/releases/v${PV}/docs/man.tar.gz -> ${P}-man.tar.gz
|
||||
"
|
||||
S="${WORKDIR}/${PN}-v${PV}"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
IUSE="+archive +curl +libpkgconf test"
|
||||
|
||||
DEPEND="
|
||||
curl? ( net-misc/curl )
|
||||
archive? ( app-arch/libarchive:= )
|
||||
libpkgconf? ( dev-util/pkgconf:= )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="
|
||||
test? ( dev-util/gdbus-codegen )
|
||||
"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}"-0.5.0-workaround-meson-15093.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
cat >"${T}/program-file.ini" <<-EOF
|
||||
[binaries]
|
||||
git = 'if this exists youre a bad person'
|
||||
EOF
|
||||
local emesonargs=(
|
||||
--native-file="${T}/program-file.ini"
|
||||
$(meson_feature curl libcurl)
|
||||
$(meson_feature archive libarchive)
|
||||
$(meson_feature libpkgconf)
|
||||
-Dman-pages=disabled
|
||||
-Dmeson-docs=disabled
|
||||
-Dtracy=disabled # not in repos
|
||||
-Dsamurai=disabled # patched version of samurai downloaded via wraps
|
||||
-Dreadline=bestline # small vendored dependency
|
||||
-Dwebsite=disabled # unneeded
|
||||
-Dui=disabled # too many vendored depdendencies
|
||||
|
||||
# Pulled into the right directory above.
|
||||
$(meson_feature test meson-tests)
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_install
|
||||
|
||||
einstalldocs
|
||||
doman "${WORKDIR}/man/muon.1"
|
||||
doman "${WORKDIR}/man/meson.build.5"
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user