diff --git a/projects/public.hronopik.de/vid.stab/package.yml b/projects/public.hronopik.de/vid.stab/package.yml new file mode 100644 index 00000000..224329c1 --- /dev/null +++ b/projects/public.hronopik.de/vid.stab/package.yml @@ -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 diff --git a/projects/public.hronopik.de/vid.stab/vidstab_version.cpp b/projects/public.hronopik.de/vid.stab/vidstab_version.cpp new file mode 100644 index 00000000..83aa7d66 --- /dev/null +++ b/projects/public.hronopik.de/vid.stab/vidstab_version.cpp @@ -0,0 +1,7 @@ +#include +#include + +int main() { + std::cout << "libvidstab version: " << LIBVIDSTAB_VERSION << std::endl; + return 0; +}