aboutsummaryrefslogtreecommitdiffstats
path: root/community/celluloid/APKBUILD
blob: a54ea4eb2c94664bce238ac4e28eaed631a5256e (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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=celluloid
pkgver=0.20
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() {
	abuild-meson . output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

check() {
	meson test --no-rebuild -v -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="53bb7ea155cf0b2b96da67851ec598782601ecb68504d4355aa03544fc89c0f64aefb507217d08f8ce49d2b7877215365c9ccce69f5f355ed1792a94ea1a6093  celluloid-0.20.tar.xz"