serenity/Ports/x265/package.sh
2024-07-24 11:14:05 -04:00

20 lines
456 B
Bash
Executable file

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