summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4fb1bf1abde9af38bcd6c2528d2eac0aaef19f0c (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
46
47
48
49
50
# Maintainer:
# Contributor: Fabio 'Lolix' Loli <fabio.loli@disroot.org> -> https://github.com/FabioLolix
# Contributor: Mark Wagie <mark dot wagie at tutanota dot com>
# Contributor: Laramy Black <laramy2020@gmail.com>

pkgname=nuvolaruntime
pkgver=4.24.0
pkgrel=1
pkgdesc="Nuvola Apps Runtime - Tight integration of web apps with your desktop"
arch=(x86_64)
url="https://nuvola.tiliado.eu"
license=(BSD)
depends=(diorite python-gobject json-glib webkit2gtk
         libnotify gst-plugins-ugly libdri2 libpulse
         libdrm libsecret libappindicator-gtk3)
makedepends=(vala)
#optdepends=('nodejs-engine.io-client'
#            'nodejs-unit.js: for JavaScript unit tests')
#libappindicator-gtk3 is mandatory if enabled
#provides=(nuvolaplayer)
#conflicts=(nuvolaplayer)
replaces=(nuvolaplayer)
source=("https://github.com/tiliado/$pkgname/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
sha256sums=('4928e2de5cec1403fd53c8b304488af65030a1e28d90ea1e1d383208c845be28')

build() {
	cd "nuvolaplayer-${pkgver}"
	./waf configure \
        --prefix=/usr \
        --libdir=/usr/lib \
        --dummy-engine \
        --no-appindicator \
        --no-vala-lint \
        --no-js-lint \
        --no-strict \
        --no-unity

	./waf build -v
}

#check() {
#	cd "nuvolaplayer-${pkgver}/build"
#	LD_LIBRARY_PATH+=:$PWD LD_PRELOAD=libnuvolaruntime-tests.so ./run-nuvolaruntime-tests 
#}

package() {
	cd "nuvolaplayer-${pkgver}"
	./waf install --destdir="${pkgdir}"
	install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
}