ladybird/Ports/x265/package.sh
Simon Danner 4af690f376 Ports: Add x265
Co-Authored-By: Tim Schumacher <timschumi@gmx.de>
2022-05-21 18:10:52 +02:00

19 lines
484 B
Bash
Executable file

#!/usr/bin/env -S bash ../.port_include.sh
port=x265
version=3.5
auth_type=sha256
workdir="${port}_${version}"
files=("https://bitbucket.org/multicoreware/x265_git/downloads/x265_${version}.tar.gz 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
}