ladybird/Ports/x265/package.sh
2023-08-08 19:57:43 +02:00

21 lines
450 B
Bash
Executable File

#!/usr/bin/env -S bash ../.port_include.sh
port=x265
version=3.5
workdir="${port}_${version}"
files=(
"https://bitbucket.org/multicoreware/x265_git/downloads/x265_${version}.tar.gz e70a3335cacacbba0b3a20ec6fecd6783932288ebc8163ad74bcc9606477cae8"
)
useconfigure=true
configopts=(
"-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt"
)
configure() {
run cmake "${configopts[@]}" source
}
install() {
run make install
}