New package: libvidstab-0.98b

This commit is contained in:
lemmi 2016-03-21 17:44:52 +01:00
parent 6a5a24e8db
commit fd306412e5
4 changed files with 35 additions and 1 deletions

View file

@ -2411,3 +2411,4 @@ libdcadec.so.0 dcadec-0.2.0_1
libcmark.so.0 cmark-0.24.1_1
libspotify.so.12 libspotify-12.1.51_1
libwiredtiger-2.8.0.so wiredtiger-devel-2.8.0_1
libvidstab.so.0.9 libvidstab-0.98b_1

View file

@ -52,7 +52,7 @@ do_configure() {
$(vopt_if x265 '--enable-libx265' '--disable-libx265') \
$(vopt_if v4l2 '--enable-libv4l2' '--disable-libv4l2') \
$(vopt_enable vaapi) $(vopt_enable vdpau) \
--enable-libbs2b --enable-avresample
--enable-libbs2b --enable-avresample --enable-libvidstab
}
do_build() {
rm ${XBPS_WRAPPERDIR}/strip

1
srcpkgs/libvidstab-devel Symbolic link
View file

@ -0,0 +1 @@
libvidstab

View file

@ -0,0 +1,32 @@
# 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"
}
}