void-packages/srcpkgs/x265/template

27 lines
775 B
Bash

# Template file for 'x265'
pkgname=x265
version=1.7
revision=1
build_style=cmake
build_wrksrc="source"
wrksrc="multicoreware-x265-8425278def1e"
hostmakedepends="yasm cmake"
short_desc="Open Source H265/HEVC video encoder"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="https://bitbucket.org/multicoreware/x265"
license="GPL-2"
distfiles="https://bitbucket.org/multicoreware/x265/get/${version}.tar.bz2"
checksum=133dd4d7121116e75c1664e2295d61c36dee7569718a714f37caefc5a1a521db
nocross=yes
only_for_archs="i686 i686-musl x86_64 x86_64-musl" # CMakeList is utterly broken.
x265-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.a
}
}