aboutsummaryrefslogtreecommitdiffstats
path: root/community/celluloid/APKBUILD
blob: 9f7e78f58fe7074e832b044a746dc9c27464e8ad (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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=celluloid
pkgver=0.17
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"
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=release \
		. output
	ninja -C output
}

check() {
	ninja -C output test
}

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

sha512sums="7b2a08e5dd94667167881dea6259a2194b15ed66691882e152bd389de3f5ad39ddb0d3c327cb95e1a93bce977106ebf4ec08acc7ac7e77e655c395ad36e8e304  celluloid-0.17.tar.xz"