27 lines
775 B
Bash
27 lines
775 B
Bash
# Template file for 'x265'
|
|
pkgname=x265
|
|
version=1.6
|
|
revision=2
|
|
build_style=cmake
|
|
build_wrksrc="source"
|
|
wrksrc="multicoreware-x265-cbeb7d8a4880"
|
|
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=b6e5ba47fce63d10d3678803e8427755e7b9fb8c6aa619e1a3ff3f4fc62b3382
|
|
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
|
|
}
|
|
}
|