summaryrefslogtreecommitdiffstats
path: root/libraries/libaom/libaom.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libaom/libaom.SlackBuild')
-rw-r--r--libraries/libaom/libaom.SlackBuild25
1 files changed, 11 insertions, 14 deletions
diff --git a/libraries/libaom/libaom.SlackBuild b/libraries/libaom/libaom.SlackBuild
index 9dec2d32e8..398cc3d52d 100644
--- a/libraries/libaom/libaom.SlackBuild
+++ b/libraries/libaom/libaom.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
# ----------------------------------------------------------------------
-# Copyright (c) 2018-2019 Andrew Strong, Blue Mountains, Australia.
+# Copyright (c) 2018-2020 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
@@ -21,15 +21,15 @@
# SUCH DAMAGE.
# ----------------------------------------------------------------------
-PRGNAM=libaom
-
# Version setting is extracted from the git source using the following:
#
-# git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
+# Revision: git rev-list --count --all
+# Short Hash: git rev-parse --short HEAD
#
# Borrowed from our Arch colleagues with thanks :).
-VERSION=${VERSION:-1.0.0.r2236.g0233da474}
+PRGNAM=libaom
+VERSION=${VERSION:-1.0.0.r29281.10cdc996a}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -77,13 +77,10 @@ find -L . \
cd build
- # Two points here:
- # 1. I don't build either the HTML or the Latex docs as IMHO at this early
- # stage of aom development they are not terribly useful for non-developers.
- # To enable these change '-DENABLE_DOCS:BOOL=OFF' to 'ON' and then uncomment
- # the 'extra docs' section below to install them...
- # 2. I am only building static libs here, if you are keen for dynamic
- # libs you will need to change: '-DBUILD_SHARED_LIBS=OFF' to 'ON'.
+ # I don't build either the HTML or the Latex docs as IMHO at this early
+ # stage of aom development they are not terribly useful for non-developers.
+ # To enable these change '-DENABLE_DOCS:BOOL=OFF' to 'ON' and then uncomment
+ # the 'extra docs' section below to install them...
cmake \
-G "Unix Makefiles" \
@@ -95,7 +92,7 @@ cd build
-DCMAKE_BUILD_TYPE=Release \
-DENABLE_NASM=ON \
-DENABLE_DOCS=OFF \
- -DBUILD_SHARED_LIBS=OFF \
+ -DBUILD_SHARED_LIBS=ON \
../
make
make install DESTDIR=$PKG
@@ -107,7 +104,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS CHANGELOG LICENSE PATENTS README.md $PKG/usr/doc/$PRGNAM-$VERSION
-# These are the 'extra docs', more details in 'Point 1' above...
+# These are the 'extra docs', more details above...
# mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/{html,latex}
# cp -a build/docs/html/* $PKG/usr/doc/$PRGNAM-$VERSION/html
# cp -a build/docs/latex/* $PKG/usr/doc/$PRGNAM-$VERSION/latex