29 lines
746 B
Bash
29 lines
746 B
Bash
# Template file for 'x265'
|
|
pkgname=x265
|
|
version=2.2
|
|
revision=1
|
|
build_style=cmake
|
|
build_wrksrc="source"
|
|
wrksrc="x265_${version}"
|
|
hostmakedepends="yasm"
|
|
short_desc="Open Source H.265/HEVC video encoder"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
homepage="http://x265.org/"
|
|
license="GPL-2"
|
|
distfiles="https://bitbucket.org/multicoreware/x265/downloads/x265_${version}.tar.gz"
|
|
checksum=b872552535e41fbffa03ba7cbcd3479c42c4053868309292e78e147b7773ac4b
|
|
|
|
if [ -n "$CROSS_BUILD" ]; then
|
|
configure_args+=" -DCMAKE_SYSTEM_PROCESSOR=${CROSS_BUILD%-musl}"
|
|
fi
|
|
|
|
x265-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/lib/*.a
|
|
}
|
|
}
|