Update package version to 3.13.1

This commit is contained in:
2025-09-16 10:38:25 +03:00
parent 586e4f512f
commit 39bc682774
3 changed files with 20 additions and 18 deletions
+7 -16
View File
@@ -15,30 +15,21 @@ prepare() {
# The build function is executed in the source directory
# This function is used to compile the source code
build() {
mkdir aom-build
cd aom-build
cmake -DCMAKE_INSTALL_PREFIX=/usr \
cmake -B build-aom \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_SHARED_LIBS=1 \
-DENABLE_DOCS=no \
-DENABLE_NASM=yes \
-G Ninja ..
ninja
}
# The check function is executed in the source directory
# This function is used to run tests to verify the package has been compiled correctly
check() {
cd aom-build
ninja runtests
-DENABLE_NASM=yes
cmake --build build-aom
}
# The package function is executed in the source directory
# This function is used to move the compiled files into the output directory
package() {
cd aom-build
DESTDIR="$BPM_OUTPUT" ninja install
DESTDIR="$BPM_OUTPUT" cmake --install build-aom
# Remove static library
rm -v "$BPM_OUTPUT"/usr/lib/libaom.a
install -Dm644 "$BPM_SOURCE"/LICENSE "$BPM_OUTPUT"/usr/share/licenses/libaom/LICENSE