void-packages/srcpkgs/x265/template

27 lines
775 B
Bash
Raw Normal View History

2014-11-02 10:33:26 +01:00
# Template file for 'x265'
pkgname=x265
2015-04-03 08:52:17 +02:00
version=1.6
2015-05-19 06:13:25 +02:00
revision=3
2014-11-02 10:33:26 +01:00
build_style=cmake
build_wrksrc="source"
2015-04-03 08:52:17 +02:00
wrksrc="multicoreware-x265-cbeb7d8a4880"
2014-11-02 10:33:26 +01:00
hostmakedepends="yasm cmake"
short_desc="Open Source H265/HEVC video encoder"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2014-11-02 10:33:26 +01:00
homepage="https://bitbucket.org/multicoreware/x265"
license="GPL-2"
distfiles="https://bitbucket.org/multicoreware/x265/get/${version}.tar.bz2"
2015-04-03 08:52:17 +02:00
checksum=b6e5ba47fce63d10d3678803e8427755e7b9fb8c6aa619e1a3ff3f4fc62b3382
2015-04-03 22:10:16 +02:00
nocross=yes
2015-04-23 10:55:35 +02:00
only_for_archs="i686 i686-musl x86_64 x86_64-musl" # CMakeList is utterly broken.
2014-11-02 10:33:26 +01:00
x265-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.a
}
}