pantry/projects/frei0r.dyne.org/package.yml
Max Howell 81e7a5e16f
pkgx
2023-10-01 14:44:42 -04:00

33 lines
724 B
YAML

distributable:
url: https://files.dyne.org/frei0r/releases/frei0r-plugins-{{version}}.tar.gz
strip-components: 1
versions:
url: https://files.dyne.org/frei0r/releases/
match: /frei0r-plugins-\d+\.\d+(\.\d+)?\.tar\.gz/
strip:
- /^frei0r-plugins-/
- /\.tar\.gz$/
build:
dependencies:
cmake.org: '*'
script: |
# Disable opportunistic linking against Cairo
sed -i.bak -e "s/find_package (Cairo)//" CMakeLists.txt
rm CMakeLists.txt.bak
cmake . $ARGS
make install
env:
ARGS:
- -DCMAKE_INSTALL_PREFIX="{{prefix}}"
- -DCMAKE_BUILD_TYPE=Release
- -DWITHOUT_OPENCV=ON
- -DWITHOUT_GAVL=ON
test:
dependencies:
script: |
cc test.c -o test
./test