void-packages/srcpkgs/x265/template
2016-07-19 08:08:17 +02:00

26 lines
769 B
Bash

# Template file for 'x265'
pkgname=x265
version=2.0
revision=1
build_style=cmake
build_wrksrc="source"
wrksrc="multicoreware-x265-960c9991d0dc"
hostmakedepends="yasm"
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=67a681ae9907002712075c0ad149f0b4f84333ebc4b37ccee6385804760d2d64
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
}
}