mirror of
https://github.com/RGBCube/serenity
synced 2025-07-29 13:47:34 +00:00
Ports: Add x265
Co-Authored-By: Tim Schumacher <timschumi@gmx.de>
This commit is contained in:
parent
b9a8447dc0
commit
4af690f376
2 changed files with 20 additions and 0 deletions
19
Ports/x265/package.sh
Executable file
19
Ports/x265/package.sh
Executable file
|
@ -0,0 +1,19 @@
|
|||
#!/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
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue