Ports: Add x265

Co-Authored-By: Tim Schumacher <timschumi@gmx.de>
This commit is contained in:
Simon Danner 2022-04-03 19:39:41 +02:00 committed by Andreas Kling
parent b9a8447dc0
commit 4af690f376
Notes: sideshowbarker 2024-07-17 10:45:41 +09:00
2 changed files with 20 additions and 0 deletions

View File

@ -222,6 +222,7 @@ Please make sure to keep this list up to date when adding and updating ports. :^
| [`wget`](wget/) | GNU Wget | 1.21.3 | https://www.gnu.org/software/wget/ |
| [`wireguard-tools`](wireguard-tools/) | WireGuard Tools | 1.0.20210914 | https://www.wireguard.com/ |
| [`x264`](x264/) | x264 | bfc87b7 | https://www.videolan.org/developers/x264.html |
| [`x265`](x265/) | x265 | 3.5 | https://bitbucket.org/multicoreware/x265_git/wiki/Home |
| [`xz`](xz/) | xz | 5.2.5 | https://tukaani.org/xz/ |
| [`yasm`](yasm/) | Yasm Modular Assembler | 1.3.0 | https://yasm.tortall.net/ |
| [`zlib`](zlib/) | zlib | 1.2.12 | https://www.zlib.net/ |

19
Ports/x265/package.sh Executable file
View 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
}