void-packages/srcpkgs/x265/template
2016-01-30 07:26:12 +01:00

26 lines
775 B
Bash

# Template file for 'x265'
pkgname=x265
version=1.9
revision=1
build_style=cmake
build_wrksrc="source"
wrksrc="multicoreware-x265-1d3b6e448e01"
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=e1e4de6ead44e21c15378675e09c39ef192f2b7c844dd369d2ba1e979aca1ebb
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
}
}