diff options
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 33 |
2 files changed, 21 insertions, 18 deletions
@@ -1,6 +1,8 @@ +# Generated by mksrcinfo v8 +# Fri Mar 11 08:51:11 UTC 2016 pkgbase = freshplayerplugin-git pkgdesc = PPAPI-host NPAPI-plugin adapter. - pkgver = v0.3.3.r0.g6018406 + pkgver = v0.3.4.r21.g7ba5f2d pkgrel = 1 url = https://github.com/i-rinat/freshplayerplugin install = freshplayerplugin-git.install @@ -14,7 +16,7 @@ pkgbase = freshplayerplugin-git depends = alsa-lib depends = freetype2 depends = libevent - depends = gtk2 + depends = gtk3 depends = libgl depends = v4l-utils depends = ffmpeg @@ -1,29 +1,29 @@ # Maintainer: Jack L. Frost <fbt@fleshless.org> -# vim: expandtab sts=2 # Contributor: Corelli <corelli AT sent DOT com> # Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org> # Contributor: intelfx <intelfx100 [at] gmail [dot] com> # Contributor: Behem0th <grantipak@gmail.com> +# Contributor: zman0900 <zman0900@gmail.com> pkgname=freshplayerplugin-git -pkgver=v0.3.3.r0.g6018406 +pkgver=v0.3.4.r21.g7ba5f2d pkgrel=1 pkgdesc='PPAPI-host NPAPI-plugin adapter.' arch=( 'i686' 'x86_64' ) url='https://github.com/i-rinat/freshplayerplugin' license=( 'MIT' ) -depends=( 'pango' 'alsa-lib' 'freetype2' 'libevent' 'gtk2' 'libgl' 'v4l-utils' 'ffmpeg' ) +depends=( 'pango' 'alsa-lib' 'freetype2' 'libevent' 'gtk3' 'libgl' 'v4l-utils' 'ffmpeg' ) makedepends=( 'cmake' 'ragel' 'git' ) conflicts=( 'freshplayerplugin' ) source=( "${pkgname}::git+${url}" "${pkgname}.install" ) install="${pkgname}.install" optdepends=( - 'chromium-pepper-flash: for the necessary Pepper plugin' - 'chromium-pepper-flash-standalone: for the necessary Pepper plugin' - 'google-chrome: for the necessary Pepper plugin' - 'google-chrome-beta: for the necessary Pepper plugin' - 'google-chrome-dev: for the necessary Pepper plugin' + 'chromium-pepper-flash: for the necessary Pepper plugin' + 'chromium-pepper-flash-standalone: for the necessary Pepper plugin' + 'google-chrome: for the necessary Pepper plugin' + 'google-chrome-beta: for the necessary Pepper plugin' + 'google-chrome-dev: for the necessary Pepper plugin' ) pkgver() { @@ -38,17 +38,18 @@ pkgver() { } build() { - cd "$pkgname" - cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr - make + cd "$pkgname" + cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DWITH_GTK=3 + make } package() { - cd "$pkgname" - install -d "${pkgdir}/usr/lib/mozilla/plugins" - install -m644 libfreshwrapper-*.so "${pkgdir}/usr/lib/mozilla/plugins" - install -Dm644 data/freshwrapper.conf.example "${pkgdir}/usr/share/${pkgname}/freshwrapper.conf.example" - install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + cd "$pkgname" + + make DESTDIR="${pkgdir}" install + + install -Dm644 data/freshwrapper.conf.example "${pkgdir}/usr/share/${pkgname}/freshwrapper.conf.example" + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } sha1sums=('SKIP' |