summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArsen Arsenović <arsen@aarsen.me>2022-07-14 20:56:45 +0200
committerSam James <sam@gentoo.org>2022-07-20 05:27:14 +0000
commita2b335c884cd6a6d34b86053675adad6f3c67b8b (patch)
treef3ffa9a168af500c889e57f65f1b92dcb316e1fe /dev-util/muon
parentsys-apps/firejail-lts: treeclean (diff)
downloadgentoo-a2b335c884cd6a6d34b86053675adad6f3c67b8b.tar.gz
gentoo-a2b335c884cd6a6d34b86053675adad6f3c67b8b.tar.bz2
gentoo-a2b335c884cd6a6d34b86053675adad6f3c67b8b.zip
dev-util/muon: new package, add 0_pre20220714
Signed-off-by: Arsen Arsenović <arsen@aarsen.me> Closes: https://github.com/gentoo/gentoo/pull/26407 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-util/muon')
-rw-r--r--dev-util/muon/Manifest2
-rw-r--r--dev-util/muon/metadata.xml20
-rw-r--r--dev-util/muon/muon-0_pre20220714.ebuild54
3 files changed, 76 insertions, 0 deletions
diff --git a/dev-util/muon/Manifest b/dev-util/muon/Manifest
new file mode 100644
index 000000000000..00348381fe3b
--- /dev/null
+++ b/dev-util/muon/Manifest
@@ -0,0 +1,2 @@
+DIST meson-docs-0.63.0-40-g280f3423b.tar.gz 77042 BLAKE2B 2724d720ed05b99d933f85039a22a9a46c5f83322aa6ada16023a721828f0063a3cbc74150b6e682a45493f7af3887fb4422bce656827c638d13467b54d69b79 SHA512 119e6b857e109af47044d0a1515d377490f4c4f4b94a4134f642cf1ed5d9ad7ffc99628133ed5fb49d46891469fddb369b8a469f8eb07a903421b48b835a64e3
+DIST muon-0_pre20220714.tar.gz 441746 BLAKE2B 22a9c2d1ba76c01553cfd7c13b738f505710df7337f52a0dcbff0779fd0ff01b188994f25f9f31b84d0730d3d88e4334301f1252170ab0258e4cb835924f27d2 SHA512 326424a626788308e608d0c63db39b8d25c493c7f3636ed3fd87c90c8c89800fab231680c18b97c66a9f316cf569a767f9653a4bddd8c57bf5460e7ab9764259
diff --git a/dev-util/muon/metadata.xml b/dev-util/muon/metadata.xml
new file mode 100644
index 000000000000..3a3abf62be23
--- /dev/null
+++ b/dev-util/muon/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person" proxied="yes">
+ <email>arsen@aarsen.me</email>
+ <name>Arsen Arsenović</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <use>
+ <flag name="libpkgconf">
+ Enable looking up packages via <pkg>dev-util/pkgconf</pkg>.
+ </flag>
+ <flag name="archive">
+ Enable extracting wraps using <pkg>app-arch/libarchive</pkg>.
+ </flag>
+ </use>
+</pkgmetadata>
diff --git a/dev-util/muon/muon-0_pre20220714.ebuild b/dev-util/muon/muon-0_pre20220714.ebuild
new file mode 100644
index 000000000000..5631245bcf41
--- /dev/null
+++ b/dev-util/muon/muon-0_pre20220714.ebuild
@@ -0,0 +1,54 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson
+
+COMMIT_HASH="1d85870cc3b92690d42fa3e480961fb2f708388e"
+MESON_DOCS_TAR=meson-docs-0.63.0-40-g280f3423b.tar.gz
+
+DESCRIPTION="A meson-compatible build system"
+HOMEPAGE="https://muon.build/"
+SRC_URI="
+ https://git.sr.ht/~lattis/muon/archive/${COMMIT_HASH}.tar.gz -> ${P}.tar.gz
+ man? (
+ https://mochiro.moe/wrap/${MESON_DOCS_TAR}
+ )
+"
+
+# Apache-2.0 for meson-docs
+LICENSE="GPL-3 man? ( Apache-2.0 )"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+archive +curl +libpkgconf +man"
+
+S="${WORKDIR}/${PN}-${COMMIT_HASH}"
+
+DEPEND="
+ curl? ( net-misc/curl )
+ archive? ( app-arch/libarchive:= )
+ libpkgconf? ( dev-util/pkgconf:= )
+ man? ( app-text/scdoc )
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ default
+
+ if use man; then
+ mv "${WORKDIR}/meson-docs" "${S}/subprojects" || die
+ fi
+}
+
+src_configure() {
+ local emesonargs=(
+ $(meson_feature curl libcurl)
+ $(meson_feature archive libarchive)
+ $(meson_feature libpkgconf)
+ $(meson_feature man docs)
+ -Dsamurai=disabled # patched version of samurai downloaded via wraps
+ -Dbestline=enabled # vendored bestline, an insignificant addition
+ )
+ meson_src_configure
+}