# Maintainer: LightDot # Contributor: Timothy Redaelli # Contributor: Det # Contributor: Hugo Osvaldo Barrera pkgname=npapi-vlc-gtk3 _pkgname=npapi-vlc pkgver=2.2.6 pkgrel=1 pkgdesc="The modern VLC Epiphany (NPAPI) plugin (GTK3 version)." arch=('i686' 'x86_64') url="https://code.videolan.org/videolan/npapi-vlc" license=('GPL') depends=('gtk3' 'vlc') makedepends=('git' 'npapi-sdk') conflicts=($_pkgname) provides=($_pkgname) source=("git+https://code.videolan.org/videolan/$_pkgname.git#tag=$pkgver" "git+https://code.videolan.org/videolan/libvlcpp.git" 'gtk3-port.patch') md5sums=('SKIP' 'SKIP' '31278df3a741294806b04ba21cfa13b7') prepare() { cd "$_pkgname" git config submodule.vlcpp.url "$srcdir/libvlcpp" git submodule update --init # GTK3 port patch -Np1 -i ../gtk3-port.patch } build() { cd $_pkgname ./autogen.sh ./configure --prefix=/usr make } package() { cd $_pkgname make DESTDIR="$pkgdir" install }