summaryrefslogtreecommitdiffstats
path: root/multimedia/aom/aom.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/aom/aom.SlackBuild')
-rw-r--r--multimedia/aom/aom.SlackBuild19
1 files changed, 8 insertions, 11 deletions
diff --git a/multimedia/aom/aom.SlackBuild b/multimedia/aom/aom.SlackBuild
index b986c266d6..1045d3e0a3 100644
--- a/multimedia/aom/aom.SlackBuild
+++ b/multimedia/aom/aom.SlackBuild
@@ -2,7 +2,7 @@
# ----------------------------------------------------------------------
# Slackware build script for aom
#
-# Copyright (c) 2018-2021 Andrew Strong, Blue Mountains, Australia.
+# Copyright (c) 2018-2023 Andrew Strong, Blue Mountains, Australia.
#
# Permission to use, copy, modify, and distribute this software for
# any purpose with or without fee is hereby granted, provided that
@@ -27,10 +27,10 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=aom
-# The 'official' archive for the aom 2.0.1 release has the git commit in
+# The 'official' archive for the aom 3.6.0 release has the git commit in
# the filename, so adjustments are required for a sane Slackware build:
-VERSION=${VERSION:-2.0.1}
-GITCOMMIT=${GITCOMMIT:-b52ee6d44adaef8a08f6984390de050d64df9faa}
+VERSION=${VERSION:-3.6.0}
+GITCOMMIT=${GITCOMMIT:-3c65175b1972da4a1992c1dae2365b48d13f9a8d}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -43,9 +43,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -88,7 +85,7 @@ find -L . \
cd build
# I don't build either the HTML or the Latex docs as IMHO at this stage
- # of aom development they are not terribly useful for non-developers.
+ # of aom development they are still not terribly useful for non-developers.
# To enable these docs change '-DENABLE_DOCS=0' below to '1' to build
# the docs and then uncomment the 'extra docs' section below to install them...
@@ -97,8 +94,8 @@ cd build
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=/lib${LIBDIRSUFFIX} \
- -DCMAKE_INSTALL_INCLUDEDIR=/include \
+ -DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \
+ -DCMAKE_INSTALL_INCLUDEDIR=include \
-DCMAKE_BUILD_TYPE=Release \
-DENABLE_NASM=1 \
-DENABLE_DOCS=0 \
@@ -113,7 +110,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS CHANGELOG LICENSE PATENTS README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS CHANGELOG LICENSE PATENTS README.md Sample.cfg $PKG/usr/doc/$PRGNAM-$VERSION
# These are the 'extra docs', more details above...
# mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/{html,latex}