Package Details: vapoursynth-plugin-inpaint-git r2.dafa5b5-3

Git Clone URL: https://aur.archlinux.org/vapoursynth-plugin-inpaint-git.git (read-only, click to copy)
Package Base: vapoursynth-plugin-inpaint-git
Description: Plugin for Vapoursynth: inpaint (GIT version)
Upstream URL: https://github.com/invisiblearts/VapourSynth-Inpaint
Keywords: vapoursynth
Licenses: GPL
Conflicts: vapoursynth-plugin-inpaint
Provides: vapoursynth-plugin-inpaint
Submitter: sl1pkn07
Maintainer: sl1pkn07
Last Packager: sl1pkn07
Votes: 1
Popularity: 0.000000
First Submitted: 2015-12-24 21:48 (UTC)
Last Updated: 2022-10-01 17:46 (UTC)

Required by (0)

Sources (1)

Latest Comments

sl1pkn07 commented on 2019-01-25 23:48 (UTC)

done

fitu996 commented on 2019-01-22 07:14 (UTC)

Inpaint.h:6:10: fatal error: opencv2/opencv.hpp: No such file or directory
 #include <opencv2/opencv.hpp>

FIX:

# Maintainer:  Gustavo Alvarez <sl1pkn07@gmail.com>

_plug=inpaint
pkgname=vapoursynth-plugin-${_plug}-git
pkgver=r2.dafa5b5
pkgrel=1
pkgdesc="Plugin for Vapoursynth: ${_plug}"
arch=('i686' 'x86_64')
url='https://github.com/invisiblearts/VapourSynth-Inpaint'
license=('GPL')
depends=('vapoursynth'
         'opencv'
         )
makedepends=('git')
source=("${_plug}::git+https://github.com/invisiblearts/VapourSynth-Inpaint.git"
        'patch.patch'
        )
sha256sums=('SKIP'
            'f2454d793377b7f6a955d2f939dd83be7005a91025bfdca3b6867e49c172cd1c'
            )

pkgver() {
  cd "${_plug}"
  #echo "$(git describe --long --tags | tr - .)"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

prepare(){
  cd "${_plug}"
  rm -fr VSHelper.h VapourSynth.h

  patch -p1 -i "${srcdir}/patch.patch"

  echo "all:
      g++ -c -std=gnu++11 -fPIC ${CXXFLAGS} ${CPPFLAGS} -I. $(pkg-config --cflags vapoursynth) $(pkg-config --cflags opencv4) -o Inpaint.o Inpaint.cpp
      g++ -shared -fPIC ${LDFLAGS} -o lib${_plug}.so Inpaint.o" > Makefile
}

build() {
  cd "${_plug}"
  make
}

package() {
  cd "${_plug}"
  install -Dm755 "lib${_plug}.so" "${pkgdir}/usr/lib/vapoursynth/lib${_plug}.so"
}

sl1pkn07 commented on 2018-01-05 21:39 (UTC)

done(?)

fitu996 commented on 2018-01-05 05:35 (UTC)

Please.

This package cannot build in a clean chroot.

Just add

makedepends=('git')

Everything will be okay.

fitu996 commented on 2017-12-02 06:00 (UTC) (edited on 2017-12-02 06:51 (UTC) by fitu996)

==> ERROR: Cannot find the git package needed to handle git sources. Please add "git" to "makedepends".