git » frei0r-plugins.git » main » tree

[main] / PKGBUILD

# Maintainer: Balló György <ballogyor+arch at gmail dot com>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=frei0r-plugins
pkgver=2.3.2
pkgrel=3
pkgdesc='Collection of video effect plugins'
arch=('x86_64' 'armv7h')
url='https://frei0r.dyne.org/'
license=('GPL-2.0-or-later')
depends=('gcc-libs' 'glibc')
makedepends=('cairo' 'cmake' 'gavl' 'ninja' 
#'opencv'
)
optdepends=('cairo: cairoaffineblend, cairoblend, cairogradient and cairoimagegrid plugins'
            'gavl: rgbparade, scale0tilt and vectorscope plugins'
#            'opencv: facebl0r and facedetect plugins'
)
source=("https://github.com/dyne/frei0r/archive/v$pkgver/$pkgname-$pkgver.tar.gz"
"get_param_bool_fix.patch"
)
validpgpkeys=('6113D89CA825C5CEDD02C87273B35DA54ACB7D10') # Denis Roio (Jaromil)
sha256sums=('304291e0ecb456a8b054fe04e14adc50ace54d0223b7b29165ff5343e820ef9d' 'SKIP')

prepare() {
  cd frei0r-$pkgver
  patch -Np1 -i ../get_param_bool_fix.patch
  cd ..
}

build() {
  cmake -S frei0r-$pkgver -B build -G Ninja -DCMAKE_INSTALL_PREFIX='/usr'
  cmake --build build
}

package() {
  DESTDIR="$pkgdir" cmake --install build
}