void-packages/srcpkgs/libass/template
Juan RP 1c5f4690e6 xbps-src: always require current srcpkgs version in build dependencies.
That means that version comparators are not supported anymore in
hostmakedepends and makedepends.

This will ensure that a pkg is always built with the same build dependencies
everywhere, if the srcpkgs tree is uptodate.
2015-03-27 10:59:58 +01:00

28 lines
811 B
Bash

# Template build file for 'libass.
pkgname=libass
version=0.12.1
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="enca-devel fontconfig-devel fribidi-devel harfbuzz-devel"
short_desc="A portable library for SSA/ASS subtitles rendering"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="https://code.google.com/p/libass/"
license="MIT"
distfiles="https://github.com/libass/libass/releases/download/${version}/libass-${version}.tar.gz"
checksum=699b1d711b1ba1c88f39a66839c6060f4a29e89e6188d08380284a5ce578ce5c
post_install() {
vlicense COPYING
}
libass-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.a
vmove usr/lib/*.so
}
}