Received: from mochiro.moe (mochiro.moe [66.135.5.70]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 0B9C3780FE9 for <~alpine/aports@lists.alpinelinux.org>; Wed, 6 Jul 2022 12:12:56 +0000 (UTC) Date: Wed, 6 Jul 2022 07:12:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mochiro.moe; s=mail; t=1657109575; bh=yDwydfCeuamzWCnqhvJiOVtfvM7Sr4Ra9PTNbDTt1qc=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type; b=ofCQkp+ZNx3eFYNB0R4p4hCDRykv3jrxPYg8nELxdP3JzHMYEnAfIRRH6BW3ex0cS 4mc+IRFq1+f9NeAGAWr9LhZgWSvCI6ooOWlFSgdLsJxcKw4SdUbAzUXWWrPq6mWT3L wj7Ri4ho6iftzoUJ2lgML4EXBdF9bZKP4Gfwskxc= From: Stone Tickle To: ~alpine/aports@lists.alpinelinux.org Cc: Stone Tickle Subject: [PATCH v2] testing/muon: upgrade to 0_git20220705 Message-ID: <20220706121225.4601-1-lattis@mochiro.moe> Mail-Followup-To: ~alpine/aports@lists.alpinelinux.org X-Mailer: git-send-email 2.34.2 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ym34id4bv4fatb5x" Content-Disposition: inline --ym34id4bv4fatb5x Content-Type: text/plain; charset=utf-8 Content-Disposition: inline The APKBUILD has been rewritten from scratch, partially because I didn't realize muon was already in testing. --- Also delete unused fix-bootstrap.patch testing/muon/APKBUILD | 83 ++++++++++++++++++++------------ testing/muon/fix-bootstrap.patch | 19 -------- 2 files changed, 52 insertions(+), 50 deletions(-) delete mode 100644 testing/muon/fix-bootstrap.patch diff --git a/testing/muon/APKBUILD b/testing/muon/APKBUILD index aee46b9ea8..b36d2c2721 100644 --- a/testing/muon/APKBUILD +++ b/testing/muon/APKBUILD @@ -1,44 +1,65 @@ -# Contributor: KikooDX -# Maintainer: KikooDX +# Contributor: Stone Tickle +# Maintainer: Stone Tickle pkgname=muon -pkgver=0_git20210812 -pkgrel=2 -pkgdesc="meson implementation in C" -options="!check" # broken test suite -url="https://sr.ht/~lattis/muon" -_giturl="https://github.com/annacrombie/muon" +pkgver=0_git20220702 +_commit=fe1fede5287cd9a4671c73f0da8706be11ff4434 +pkgrel=0 +pkgdesc="A meson-compatible build system." +url="https://muon.build" arch="all" -license="GPL-3.0-only" -depends="samurai" -makedepends="pkgconf-dev curl-dev zlib-dev" +license="GPL3" +depends="samurai libcurl libarchive pkgconf" +makedepends="scdoc curl-dev libarchive-dev pkgconf-dev python3 py3-yaml" subpackages="$pkgname-doc" -_gitrev=f4ee369d4a90ca597aaf63d99da9355266eba83b -source="$pkgname-$_gitrev.tar.gz::$_giturl/archive/$_gitrev.tar.gz - fix-bootstrap.patch" -builddir="$srcdir/$pkgname-$_gitrev" - -prepare() { - default_prepare - ./bootstrap.sh bootstrap -} +source=" + $pkgname-$_commit.tar.gz::https://git.sr.ht/~lattis/muon/archive/$_commit.tar.gz + https://mochiro.moe/wrap/meson-docs.tar.gz + https://mochiro.moe/wrap/meson-docs-patch.tar.gz +" +builddir="$srcdir/$pkgname-$_commit/" build() { - bootstrap/muon setup \ - -Dstatic=false \ - -Dcurl=enabled \ - -Dzlib=enabled \ - -Dlibpkgconf=enabled \ - -Dsamu=disabled \ + mv ../meson-docs subprojects/ + ./bootstrap.sh build + build/muon setup build + samu -C build + + # options copied from abuild-meson + build/muon setup \ + -Dprefix=/usr \ + -Dlibdir=/usr/lib \ + -Dlibexecdir=/usr/libexec \ + -Dbindir=/usr/bin \ + -Dsbindir=/usr/sbin \ + -Dincludedir=/usr/include \ + -Ddatadir=/usr/share \ + -Dmandir=/usr/share/man \ + -Dinfodir=/usr/share/info \ + -Dlocaledir=/usr/share/locale \ + -Dsysconfdir=/etc \ + -Dlocalstatedir=/var \ + -Dsharedstatedir=/var/lib \ + -Dbuildtype=plain \ + -Dauto_features=auto \ + -Dwrap_mode=nodownload \ + -Db_lto=false \ + -Db_staticpic=true \ + -Db_pie=true \ build - ninja -C build + + samu -C build +} + +check() { + build/muon -C build test -d dots } package() { - install -Dm711 build/muon "$pkgdir"/usr/bin/muon - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + DESTDIR=$pkgdir build/muon -C build install } sha512sums=" -34a76775e137687e345426d3d7dd415fafe5f053d1881b8a2f384ebe49046d9b338c210f3eb1544fddd2dd912427a5d75fb2d8a5be269e3b3e9c95cf5e622e38 muon-f4ee369d4a90ca597aaf63d99da9355266eba83b.tar.gz -937d8fffec20b5244d7234738eda5baba8a351bff2a6815ec71c30c08180d63febcb6a2adc9a1bd495481d2384cf04c01ab8aa5abc121b76d344a559e4b65569 fix-bootstrap.patch +8a790d59c2a6f468338e032187c2321a4fd2d7f6281d2d0a83a5a8b0b612c69a4f01423e6d4786df838090e82ea5ce280387f30098fb80269c0e2156c9c3f1f7 muon-fe1fede5287cd9a4671c73f0da8706be11ff4434.tar.gz +f1851c76975723ae93e83cba7c135c30f3ed2f183ec084c925ebe0de7a9405f29eb1f6c807fbb5e4da0f84e240e407ac4c2e7f390e82039ce6ef99b7fd519c41 meson-docs.tar.gz +082f21a3688389cdc83ee44ceffb2a1559fc5390c48a7a2ad395440ec7f1f2ea89b35f57c875ed8c948ed3949b657da5f45898a564f259039ff89db674ac5d38 meson-docs-patch.tar.gz " diff --git a/testing/muon/fix-bootstrap.patch b/testing/muon/fix-bootstrap.patch deleted file mode 100644 index db19cbeec4..0000000000 --- a/testing/muon/fix-bootstrap.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff '--color=auto' -Nurp a/bootstrap.sh b/bootstrap.sh ---- a/bootstrap.sh 2021-08-17 03:11:15.990682670 +0200 -+++ b/bootstrap.sh 2021-08-17 03:11:33.563754987 +0200 -@@ -11,7 +11,6 @@ dir="$1" - mkdir -p "$dir" - - cat \ -- platform/dirs.c \ - src/coerce.c \ - src/compilers.c \ - src/data/bucket_array.c \ -@@ -59,6 +58,7 @@ cat \ - src/main.c \ - src/opts.c \ - src/output/output.c \ -+ src/platform/dirs.c \ - src/platform/filesystem.c \ - src/platform/mem.c \ - src/platform/path.c \ -- 2.34.2 --ym34id4bv4fatb5x Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEESF58+S/8rxqew0GHTfNL2cJiIwkFAmLFfEYACgkQTfNL2cJi IwlSJwgAr6Ua5EpCYjjd1RvOLmxSfySjX9aMZWp6N+qhRxw69rV1d6sCCcu5pi1j 0BaKOtUKs+orpNS0Y9C1tBRMO0VTMO3oI/YvK8aF5OkTyrilDAWnHo7kH9rJ9VQR 6c2LC1hu0P6ELYbiINz4kVVECLrR8SPcJpexp1DCHXn3EpgEWRL1yta8EZ82c2AX NNpu8TuVotcbiOhv6ahYRMj66pngmjWUdVg8ecDoYj8lksHwYl0wv/R0yrSuLiUA MPAFhJkCQ0kBRdBcP00FcVGNLbGddyn8WIxngyq0SvKpBQ9eJnfxeK1yDDMDzdM0 LzbTz8OhfS2nwpKmjdbevVHz5bwTvg== =cMk5 -----END PGP SIGNATURE----- --ym34id4bv4fatb5x--