]> Cypherpunks repositories - bass.git/commitdiff
normalize skel
authorSergey Matveev <stargrave@stargrave.org>
Tue, 25 Jun 2024 09:50:04 +0000 (12:50 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Tue, 25 Jun 2024 09:50:04 +0000 (12:50 +0300)
build/distfiles/.gitignore
build/distfiles/normalize-0.7.7.tar.bz2.meta4 [new file with mode: 0644]
build/skel/audio/normalize-0.7.7.do [new file with mode: 0644]

index fb6538aa2995dfab2aebd412a9a3d6656d7280dae8be1911a3c313ad168f4348..d6ea2eb3393f6f8e4ccbd50d5e0570ec625f9ac9a8fda8d4867c65c8492e227a 100644 (file)
 /nghttp2-1.62.1.tar.xz
 /ninja-v1.12.1.tar.zst
 /ninja.git/
+/normalize-0.7.7.tar.bz2
 /npth-1.7.tar.bz2
 /nsxiv-v32-11-g420a0a2.tar.zst
 /nsxiv.git
diff --git a/build/distfiles/normalize-0.7.7.tar.bz2.meta4 b/build/distfiles/normalize-0.7.7.tar.bz2.meta4
new file mode 100644 (file)
index 0000000..044a56b
--- /dev/null
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<metalink xmlns="urn:ietf:params:xml:ns:metalink">
+  <file name="normalize-0.7.7.tar.bz2">
+    <hash type="blake3-256">525e1f05a0f302fb59c945745e06e1c5c43c3f7014df79179eb36ace015043e1</hash>
+    <hash type="blake2b-512">3ac7be8b86ada8899661d7012d7a60e4a41fcf2c510c302069d1b9ab54efd50e7e042fd5c1365bed1c28fe15b6bc804e605ea7b5f1fd7f96047a70c335275324</hash>
+    <hash type="blake2b-256">6ab4a5d7b0f486565e053d9fe477a4ca2e41fd2b0b0ba74f924d1756662e6394</hash>
+    <hash type="skein-512">bc7a6c84fd981b2ca1ce2bb37f9bd32f78a75b4119d5e8ad9d627331807c7345b2ee69598608063c157df4012c3d26838996c53cf1cb14fa1f1e3edc5806f8e4</hash>
+    <hash type="shake128">dc276e1fbba257fe58d3754e36f9fe888edaa8a74fcf47fab7c3fb747ef500fd</hash>
+    <hash type="shake256">b1993836da6a45930827692641b81f411d5295d690942b61661d7da093d15c04c13d13a6c38820489e3903dd9055c787a55d9f6a45b561dd1ed2fb9df383d546</hash>
+    <hash type="sha-512">5fb2265eac93b243682cedb955d2ddfe05f55cafdeb1d757aaef0afb36bc9907ea3321b8554e128f6228bdeeaeef96e3e9ba000d0ad84282cc76a50b3e460ce4</hash>
+    <hash type="sha-256">ef9d8558515cc942518981d3db8fa2490fba6d6b5b74e0a3b75336fbc66c6bd8</hash>
+    <hash type="streebog-512">805ab3b974085ee14fba5f88e9cb80c7fc2e33539af1eb38e54e1fb0be0448bd535891e00654ae1067143b8fdefa3f6fbf558aa4f771a23ccd4010a229f9d21a</hash>
+    <hash type="streebog-256">797cdfdcb035ace38915d2b3d38bcb4a1b35a08c6e66f916601fd543dd10db54</hash>
+    <hash type="xxh3-128">53b16308af13950783a68de1f86e7637</hash>
+    <size>388777</size>
+    <url>http://savannah.nongnu.org/download/normalize/normalize-0.7.7.tar.bz2</url>
+  </file>
+</metalink>
diff --git a/build/skel/audio/normalize-0.7.7.do b/build/skel/audio/normalize-0.7.7.do
new file mode 100644 (file)
index 0000000..1326ef7
--- /dev/null
@@ -0,0 +1,21 @@
+[ -n "$BASS_ROOT" ] || BASS_ROOT="$(dirname "$(realpath -- "$0")")"/../../../..
+sname=$1.do . "$BASS_ROOT"/lib/rc
+. "$BASS_ROOT"/build/skel/common.rc
+
+bdeps="rc-paths stow archivers/zstd devel/pkgconf-2.1.1"
+redo-ifchange $bdeps "$DISTFILES"/$NAME.tar.bz2
+hsh=$("$BASS_ROOT"/build/bin/cksum $BASS_REV $SPATH)
+. "$BASS_ROOT"/build/lib/create-tmp-for-build.rc
+"$BASS_ROOT"/build/bin/pkg-inst $bdeps
+. ./rc
+$TAR xf "$DISTFILES"/$NAME.tar.bz2
+"$BASS_ROOT"/bin/rm-r "$SKELBINS"/$ARCH/$NAME-$hsh
+
+cd $NAME
+./configure --prefix="$SKELBINS"/$ARCH/$NAME-$hsh \
+    --disable-audiofiletest --without-mad >&2
+make -j$MAKE_JOBS >&2
+make install >&2
+
+cd "$SKELBINS"/$ARCH
+"$BASS_ROOT"/build/lib/mk-pkg $NAME-$hsh