27 lines
764 B
Bash
27 lines
764 B
Bash
# Template file for 'x265'
|
|
pkgname=x265
|
|
version=2.1
|
|
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="https://bitbucket.org/multicoreware/x265"
|
|
license="GPL-2"
|
|
distfiles="https://bitbucket.org/multicoreware/x265/downloads/x265_${version}.tar.gz"
|
|
checksum=88fcb9af4ba52c0757ac9c0d8cd5ec79951a22905ae886897e06954353d6a643
|
|
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
|
|
}
|
|
}
|