diff options
author | kfg | 2024-06-24 18:14:45 +0200 |
---|---|---|
committer | kfg | 2024-06-24 18:15:21 +0200 |
commit | 66c52b38fdae67758d963a9a0bb386e19d3f0968 (patch) | |
tree | d7347d8c3e2a82c1325ecd4415200b3cd85cdc49 /PKGBUILD | |
download | aur-mingw-w64-frei0r-plugins.tar.gz |
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b74135fa3ded --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer : Karl-Felix Glatzer <karl[dot]glatzer[at]gmx[dot]de> +# Contributor: Balló György <ballogyor+arch at gmail dot com> +# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com> + +pkgname=mingw-w64-frei0r-plugins +_pkgname=frei0r-plugins +pkgver=2.3.3 +pkgrel=1 +pkgdesc='Collection of video effect plugins (mingw-w64)' +arch=('any') +url='https://frei0r.dyne.org/' +license=('GPL-2.0-or-later') +depends=('mingw-w64-crt') +options=(!strip !buildflags staticlibs) +makedepends=('mingw-w64-gcc' 'mingw-w64-cairo' 'mingw-w64-cmake' 'mingw-w64-gavl' 'mingw-w64-opencv' 'git' 'ninja') +optdepends=('mingw-w64-cairo: cairoaffineblend, cairoblend, cairogradient and cairoimagegrid plugins' + 'mingw-w64-gavl: rgbparade, scale0tilt and vectorscope plugins' + 'mingw-w64-opencv: facebl0r and facedetect plugins') +source=(git+https://github.com/dyne/frei0r#tag=v$pkgver) +validpgpkeys=('6113D89CA825C5CEDD02C87273B35DA54ACB7D10') # Denis Roio (Jaromil) +sha256sums=('8d0f2e8386ff070eaccc6764e4240b8da7cc67ea2899a73e94e11a5c5f21944c') + +_architectures="i686-w64-mingw32 x86_64-w64-mingw32" + +build() { + for _arch in ${_architectures}; do + ${_arch}-cmake -S frei0r -B build-${_arch} -G Ninja + cmake --build build-${_arch} + done +} + +package() { + for _arch in ${_architectures}; do + DESTDIR="$pkgdir" cmake --install build-${_arch} + done +} |