]> Cypherpunks repositories - bass.git/commitdiff
GraphViz skel
authorSergey Matveev <stargrave@stargrave.org>
Fri, 21 Jun 2024 15:06:08 +0000 (18:06 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Sat, 22 Jun 2024 18:50:52 +0000 (21:50 +0300)
build/distfiles/.gitignore
build/distfiles/graphviz-11.0.0.tar.xz.meta4 [new file with mode: 0644]
build/skel/graphics/graphviz-11.0.0.do [new file with mode: 0644]

index aced11072f97842338fffbf7f8fc98870b2557074920af276dc3a52713a6c4d2..3904cfc4b7e627cba706d45c58c488afc2bf1167f8dcaf99a2085794943044f7 100644 (file)
@@ -63,6 +63,7 @@
 /gostls13-debash-1.22.4.tar.zst
 /gostls13.git/
 /gpgme-1.23.2.tar.bz2
+/graphviz-11.0.0.tar.xz
 /grep-3.11.tar.xz
 /guix.git/
 /harfbuzz-8.5.0.tar.xz
diff --git a/build/distfiles/graphviz-11.0.0.tar.xz.meta4 b/build/distfiles/graphviz-11.0.0.tar.xz.meta4
new file mode 100644 (file)
index 0000000..a46d78b
--- /dev/null
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<metalink xmlns="urn:ietf:params:xml:ns:metalink">
+  <file name="graphviz-11.0.0.tar.xz">
+    <hash type="blake3-256">4db4610539ea2e442ede2c68f8bfcbdac3ae91bbf3979646916c2bbe3d24b470</hash>
+    <hash type="blake2b-512">c424b2d81180513f2a03210b5a5febfbf80e5c9912ad020d7015be69fdae6579d44108d22f99450ae3384560b610dbaac49a50fe8cac9dbd4e80b8761a8b65a8</hash>
+    <hash type="blake2b-256">a901764ed1bf31983f37caa05e281a053b177e6de4a90dd96527bc473d3b2d6d</hash>
+    <hash type="skein-512">04b9cd0c910e1c11db123c37957108ef5b30bfb626fb4c900c19ef4e971a1d2ee1e877fda369d893be10b3be0ec921807c8a0b4d12b38b220f548da959f121d1</hash>
+    <hash type="shake128">2e1051ff8b8c878545c00c411fa211eb0c6363c188c025b244ba1d39e316883e</hash>
+    <hash type="shake256">a767a027c5a6d9825bf9f46bdc3e1be9488b11d4d013097973340f116e21bb6c6c6d4a93fe7adae366eb3038f2bb4a25a49d96728a76710e07aa335fa1e7cb36</hash>
+    <hash type="sha-512">e95c9ed491c5f09190ca0f085aba2b9a3f6703371d62f6a275f41ddfceef7d79956e1fb0ccfda6c21f2e57afc3a88e37d7091af724911fe3e900ee90a7a811cf</hash>
+    <hash type="sha-256">ae9a344748876f5c16577061e9c2a652151c90eb7572ee17c92b148c65577222</hash>
+    <hash type="streebog-512">46f0861c648fdf1f100833810a7b35a830e89fda0d0d09cb512457b3add08cded1c186e6cdbf74d5f239dd73102e2df0ac0327227a22abe1ca928f285e12270f</hash>
+    <hash type="streebog-256">33f374aaa1107bcd26ef76bf8f6683cee8316d8b9f38400eaa22338dce476cf2</hash>
+    <hash type="xxh3-128">1115734d4bdd15e077c203777d8dc1e1</hash>
+    <size>21306368</size>
+    <url>https://gitlab.com/api/v4/projects/4207231/packages/generic/graphviz-releases/11.0.0/graphviz-11.0.0.tar.xz</url>
+  </file>
+</metalink>
diff --git a/build/skel/graphics/graphviz-11.0.0.do b/build/skel/graphics/graphviz-11.0.0.do
new file mode 100644 (file)
index 0000000..f510c83
--- /dev/null
@@ -0,0 +1,31 @@
+[ -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/gmake-4.4.1 devel/pkgconf-2.1.1"
+rdeps="graphics/ghostscript-10.03.1 graphics/cairo-1.16.0"
+redo-ifchange $bdeps "$DISTFILES"/$NAME.tar.xz $rdeps
+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 $rdeps
+. ./rc
+$TAR xf "$DISTFILES"/$NAME.tar.xz
+"$BASS_ROOT"/bin/rm-r "$SKELBINS"/$ARCH/$NAME-$hsh
+
+cd $NAME
+./configure --prefix="$SKELBINS"/$ARCH/$NAME-$hsh \
+    --enable-swig=no \
+    --with-webp=no \
+    --with-poppler=no \
+    --with-libgd=no \
+    --with-gdk=no \
+    --with-gdk-pixbuf=no \
+    --with-gtk=no \
+    --with-qt=no \
+    --without-rsvg >&2
+gmake -j$MAKE_JOBS >&2
+gmake install-strip >&2
+
+cd "$SKELBINS"/$ARCH
+"$BASS_ROOT"/build/lib/prepare-preinst-010-rdeps $NAME-$hsh $rdeps
+"$BASS_ROOT"/build/lib/mk-pkg $NAME-$hsh