summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 530ccc9b8c59146b6d3d8ac76f2c80f387626d2d (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
37
38
39
40
41
42
43
44
45

# Maintainer: LightDot <lightdot -a-t- g m a i l>
# Contributor: Timothy Redaelli <timothy.redaelli@gmail.com>
# Contributor: Det <nimetonmaili g-mail>
# Contributor: Hugo Osvaldo Barrera <hugo@barrera.io>

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
}