aboutsummaryrefslogtreecommitdiffstats
path: root/community/celluloid/APKBUILD
blob: 773675d096705c835b787c2d86c1467b630e7e35 (plain) (blame)
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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=celluloid
pkgver=0.19
pkgrel=0
pkgdesc="A simple GTK+ frontend for mpv (formerly gnome-mpv)"
url="https://celluloid-player.github.io/"
arch="all"
license="GPL-3.0-or-later"
depends="gsettings-desktop-schemas"
makedepends="meson appstream-glib-dev glib-dev gtk+3.0-dev mpv-dev libepoxy-dev"
checkdepends="desktop-file-utils"
subpackages="$pkgname-doc $pkgname-lang"
source="https://github.com/celluloid-player/celluloid/releases/download/v$pkgver/celluloid-$pkgver.tar.xz"

build() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--buildtype=plain \
		. output
	ninja -C output
}

check() {
	ninja -C output test
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}

sha512sums="4db31ab156e0056e6280c1cbb3f2d2996c4a5e18478bbefb19e13e731bec90672adc30548516bca1aef1e49ae1e22a1d9b8980587a2117f17ecc2b38c7d1498d  celluloid-0.19.tar.xz"