38 lines
994 B
Bash
38 lines
994 B
Bash
# Template file for 'libass'
|
|
pkgname=libass
|
|
version=0.17.1
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="automake libtool pkg-config"
|
|
makedepends="enca-devel fontconfig-devel fribidi-devel harfbuzz-devel"
|
|
short_desc="Portable library for SSA/ASS subtitles rendering"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="https://github.com/libass/libass/"
|
|
changelog="https://raw.githubusercontent.com/libass/libass/master/Changelog"
|
|
distfiles="https://github.com/libass/libass/archive/${version}.tar.gz"
|
|
checksum=5ba42655d7e8c5e87bba3ffc8a2b1bc19c29904240126bb0d4b924f39429219f
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
i686* | x86_64*) hostmakedepends+=" nasm"
|
|
esac
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|
|
|
|
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"
|
|
}
|
|
}
|