mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
+libvidstab
This commit is contained in:
parent
11b8ef0755
commit
98f3563481
32
projects/public.hronopik.de/vid.stab/package.yml
Normal file
32
projects/public.hronopik.de/vid.stab/package.yml
Normal 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
|
7
projects/public.hronopik.de/vid.stab/vidstab_version.cpp
Normal file
7
projects/public.hronopik.de/vid.stab/vidstab_version.cpp
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
#include <iostream>
|
||||||
|
#include <vid.stab/libvidstab.h>
|
||||||
|
|
||||||
|
int main() {
|
||||||
|
std::cout << "libvidstab version: " << LIBVIDSTAB_VERSION << std::endl;
|
||||||
|
return 0;
|
||||||
|
}
|
Loading…
Reference in a new issue