aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-10-05 16:49:54 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-10-07 15:58:39 +0700
commitf9159052d3248fec9e91ff90f563bb173b75ecc7 (patch)
tree1c8495ba04be572db0101a1df1bcbbba975fe618 /libraries
parent0e88cf5d447c173d3c3c16395f0534a146806acb (diff)
libraries/libopenraw: Updated for version 0.3.7.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/libopenraw/libopenraw.SlackBuild4
-rw-r--r--libraries/libopenraw/libopenraw.info6
-rw-r--r--libraries/libopenraw/mkvendored.sh44
3 files changed, 6 insertions, 48 deletions
diff --git a/libraries/libopenraw/libopenraw.SlackBuild b/libraries/libopenraw/libopenraw.SlackBuild
index cd5f1f70fc185..bbf550646813a 100644
--- a/libraries/libopenraw/libopenraw.SlackBuild
+++ b/libraries/libopenraw/libopenraw.SlackBuild
@@ -26,6 +26,8 @@
# Now maintained by B. Watson <urchlay@slackware.uk>
+# 20231005 bkw: update for v0.3.7.
+
# 20230606 bkw: update for v0.3.5. upstream now provides the rust sources
# in their tarball, so this script got a lot simpler.
@@ -48,7 +50,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libopenraw
-VERSION=${VERSION:-0.3.5}
+VERSION=${VERSION:-0.3.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
diff --git a/libraries/libopenraw/libopenraw.info b/libraries/libopenraw/libopenraw.info
index 3c8154390a5d4..61ef4971d5049 100644
--- a/libraries/libopenraw/libopenraw.info
+++ b/libraries/libopenraw/libopenraw.info
@@ -1,8 +1,8 @@
PRGNAM="libopenraw"
-VERSION="0.3.5"
+VERSION="0.3.7"
HOMEPAGE="https://libopenraw.freedesktop.org/libopenraw/"
-DOWNLOAD="https://libopenraw.freedesktop.org/download/libopenraw-0.3.5.tar.bz2"
-MD5SUM="9f0e82442faa6bfd88b44f404e9a8c9f"
+DOWNLOAD="https://libopenraw.freedesktop.org/download/libopenraw-0.3.7.tar.bz2"
+MD5SUM="e86ffef428a7d547b0229a203a807113"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libopenraw/mkvendored.sh b/libraries/libopenraw/mkvendored.sh
deleted file mode 100644
index 0d70bc8abd545..0000000000000
--- a/libraries/libopenraw/mkvendored.sh
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/bin/bash
-
-# 20211124 bkw: mkvendored.sh, part of libopenraw SBo SlackBuild.
-# create libopenraw-vendored-sources-$VERSION-$BUILD.tar.xz
-# requires network access, but does not require root privilege.
-
-PRGNAM=libopenraw
-CWD=$(pwd)
-source ./$PRGNAM.info
-
-set -e
-WORKDIR=$( mktemp -d )
-cd $WORKDIR
-
-# don't depend on user's ~/.cargo
-mkdir -p cargohome
-export CARGO_HOME=$(pwd)/cargohome
-
-grep '^BUILD=' $CWD/$PRGNAM.SlackBuild > 1
-source ./1
-
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
-cd $PRGNAM-$VERSION/lib/mp4
-
-for i in . mp4parse mp4parse_capi; do
- cd $i
- cargo vendor
- find vendor -type f -a -name \*.a -print0 | xargs -0 rm -f
- mkdir -p .cargo
- cat <<EOF >.cargo/config.toml
-[source.crates-io]
-replace-with = "vendored-sources"
-
-[source.vendored-sources]
-directory = "vendor"
-EOF
- cd -
-done
-
-cd $WORKDIR
-tar cvfJ $CWD/libopenraw-vendored-sources-$VERSION-$BUILD.tar.xz \
- $PRGNAM-$VERSION/lib/mp4/{,mp4parse/,mp4parse_capi/}{vendor,.cargo}
-cd $CWD
-rm -rf $WORKDIR