void-packages/srcpkgs/libvidstab/template

33 lines
834 B
Bash
Raw Normal View History

2016-03-21 17:44:52 +01:00
# Template file for 'libvidstab'
pkgname=libvidstab
version=0.98b
revision=1
wrksrc=vid.stab-release-${version}
build_style=cmake
short_desc="Video stabilization library"
maintainer="lemmi <lemmi@nerd2nerd.org>"
makedepends="orc-devel"
license="GPL-2"
homepage="http://public.hronopik.de/vid.stab/"
distfiles="https://github.com/georgmartius/vid.stab/archive/release-${version}.tar.gz"
checksum=530f0bf7479ec89d9326af3a286a15d7d6a90fcafbb641e3b8bdb8d05637d025
pre_configure() {
sed -i -e 's/include (FindSSE)//' CMakeLists.txt
case "$XBPS_TARGET_MACHINE" in
i686*|x86_64*)
configure_args+=" -DSSE2_FOUND=1"
;;
esac
}
libvidstab-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}