diff options
author | Gene Carlson <kvngncrlsn@gmail.com> | 2024-09-22 03:54:58 +0900 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-09-27 23:12:10 +0700 |
commit | 0bc9b941b1a0062ce0760cce44bacd05d36b98ab (patch) | |
tree | f6e66519a8074cffbbaf16a56e256d88af620b99 /multimedia | |
parent | ed3b93802cf436fb55ed51eaaa93986c7bd52ec3 (diff) |
multimedia/rav1e: cargo-c dependency changed to rust-opt.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/rav1e/README | 2 | ||||
-rw-r--r-- | multimedia/rav1e/rav1e.SlackBuild | 20 |
2 files changed, 11 insertions, 11 deletions
diff --git a/multimedia/rav1e/README b/multimedia/rav1e/README index e365043682c2..d7d82fc85a30 100644 --- a/multimedia/rav1e/README +++ b/multimedia/rav1e/README @@ -17,4 +17,4 @@ Features: encoding modes * Still picture mode -rust16 and cargo-c are needed only at build time. +rust-opt and cargo-c are needed only at build time. diff --git a/multimedia/rav1e/rav1e.SlackBuild b/multimedia/rav1e/rav1e.SlackBuild index 58908083692a..c5a95abcd56d 100644 --- a/multimedia/rav1e/rav1e.SlackBuild +++ b/multimedia/rav1e/rav1e.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=rav1e VERSION=${VERSION:-0.7.1} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -38,7 +38,7 @@ if [ -z "$ARCH" ]; then esac if [ "$ARCH" = "i586" ]; then - if LD_LIBRARY_PATH="/opt/rust16/lib" /opt/rust16/bin/rustc -Vv \ + if LD_LIBRARY_PATH="/opt/rust/lib" /opt/rust/bin/rustc -Vv \ | grep host | grep i686 > /dev/null ; then ARCH=i686 fi @@ -140,22 +140,22 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; CARGO_HOME=.cargo \ -PATH="/opt/rust16/bin:$PATH" \ -LD_LIBRARY_PATH="/opt/rust16/lib$LIBDIRSUFFIX" \ +PATH="/opt/rust/bin:$PATH" \ +LD_LIBRARY_PATH="/opt/rust/lib$LIBDIRSUFFIX" \ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ cargo build --offline --release $CARGOTARGET CARGO_HOME=.cargo \ -PATH="/opt/rust16/bin:$PATH" \ -LD_LIBRARY_PATH="/opt/rust16/lib$LIBDIRSUFFIX" \ +PATH="/opt/rust/bin:$PATH" \ +LD_LIBRARY_PATH="/opt/rust/lib$LIBDIRSUFFIX" \ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ cargo cbuild --offline --release $CARGOTARGET -PATH="/opt/rust16/bin:$PATH" \ -LD_LIBRARY_PATH="/opt/rust16/lib$LIBDIRSUFFIX" \ +PATH="/opt/rust/bin:$PATH" \ +LD_LIBRARY_PATH="/opt/rust/lib$LIBDIRSUFFIX" \ cargo install --offline --no-track --root "${PKG}/usr" --path="." -PATH="/opt/rust16/bin:$PATH" \ -LD_LIBRARY_PATH="/opt/rust16/lib$LIBDIRSUFFIX" \ +PATH="/opt/rust/bin:$PATH" \ +LD_LIBRARY_PATH="/opt/rust/lib$LIBDIRSUFFIX" \ cargo cinstall --offline --destdir=${PKG} --prefix=/usr --libdir=/usr/lib$LIBDIRSUFFIX rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la |