# Template file for 'libvidstab' pkgname=libvidstab version=1.1.0 revision=2 build_style=cmake makedepends="orc-devel libgomp-devel" short_desc="Video stabilization library" maintainer="lemmi " license="GPL-2.0-or-later" homepage="http://public.hronopik.de/vid.stab/" changelog="https://raw.githubusercontent.com/georgmartius/vid.stab/master/Changelog" distfiles="https://github.com/georgmartius/vid.stab/archive/v${version}.tar.gz" checksum=14d2a053e56edad4f397be0cb3ef8eb1ec3150404ce99a426c4eb641861dc0bb 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} libgomp-devel" short_desc+=" - development files" pkg_install() { vmove usr/include vmove usr/lib/pkgconfig vmove "usr/lib/*.so" } }