[Slackbuilds-users] Update for aom (multimedia)

andrew andrew.david.strong at gmail.com
Wed Feb 23 04:42:20 UTC 2022


On Tue, Feb 22, 2022 at 05:02:46PM +1100, andrew wrote:

>  2. I have made some small changes to the install paths, an error that
>     I made in old versions of the SlackBuild was generating a faulty
>     pkconfig file. This may still be an issue in the script for 14.2
>     which I will check when the dust settles with 15.0.

Sure enough I cranked up a VM for 14.2 and the SlackBuild for aom
(multimedia) creates a malformed pkgconfig file. The fix is pretty
straightforward and I have attached a patch that will make the small
correction required under 14.2.

Still kicking myself for this old error which was not noticed by me
for a looooong time.

Andrew Strong
-- 
You think that's air you're breathing now?
-------------- next part --------------
diff -Naur aom_orig/aom.SlackBuild aom_fixed/aom.SlackBuild
--- aom_orig/aom.SlackBuild	2021-01-09 18:35:49.000000000 +1100
+++ aom_fixed/aom.SlackBuild	2022-02-23 15:39:51.317340892 +1100
@@ -29,7 +29,7 @@
 # the filename, so adjustments are required for a sane Slackware build:
 VERSION=${VERSION:-2.0.1}
 GITCOMMIT=${GITCOMMIT:-b52ee6d44adaef8a08f6984390de050d64df9faa}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
 TAG=${TAG:-_SBo}
 
 if [ -z "$ARCH" ]; then
@@ -87,8 +87,8 @@
     -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 \


More information about the SlackBuilds-users mailing list