diff options
author | Simon Danner <danner.simon@gmail.com> | 2022-04-03 19:39:41 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-05-21 18:10:52 +0200 |
commit | 4af690f376f8d7b4d043c8cf275828ee8a28810d (patch) | |
tree | 1f554b8a2b301249351da99c1253fc448ebb4b8a /Ports/x265/package.sh | |
parent | b9a8447dc08ffac071f91b3bc64df0cb3ff40f0a (diff) | |
download | serenity-4af690f376f8d7b4d043c8cf275828ee8a28810d.zip |
Ports: Add x265
Co-Authored-By: Tim Schumacher <timschumi@gmx.de>
Diffstat (limited to 'Ports/x265/package.sh')
-rwxr-xr-x | Ports/x265/package.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Ports/x265/package.sh b/Ports/x265/package.sh new file mode 100755 index 0000000000..89be08aa83 --- /dev/null +++ b/Ports/x265/package.sh @@ -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 +} |