blob: b74135fa3dedf90f9dd15aea70334b95d780e589 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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
}
|