+libvidstab

This commit is contained in:
Joe DeCapo 2023-05-07 13:18:24 -05:00 committed by Jacob Heider
parent 11b8ef0755
commit 98f3563481
2 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,32 @@
distributable:
url: https://github.com/georgmartius/vid.stab/archive/refs/tags/v{{version}}.tar.gz
strip-components: 1
versions:
github: georgmartius/vid.stab/tags
strip:
- /^v/
ignore:
- /^before_complex_transforms/
- /^release-/
build:
dependencies:
tea.xyz/gx/cc: c99
tea.xyz/gx/make: '*'
cmake.org: '*'
script: |
cmake . $ARGS
make install
env:
ARGS:
- -DCMAKE_INSTALL_PREFIX="{{prefix}}"
- -DCMAKE_BUILD_TYPE=Release
- -DUSE_OMP=OFF
test:
dependencies:
tea.xyz/gx/cc: c99
script: |
c++ vidstab_version.cpp -o vidstab_version -lvidstab
./vidstab_version

View file

@ -0,0 +1,7 @@
#include <iostream>
#include <vid.stab/libvidstab.h>
int main() {
std::cout << "libvidstab version: " << LIBVIDSTAB_VERSION << std::endl;
return 0;
}