aboutsummaryrefslogtreecommitdiffstats
path: root/testing/clapper/APKBUILD
blob: 6e0470b62b62a41d6553a27f36502d77b52a8329 (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
# Maintainer: Willow Barraco <contact@willowbarraco.fr>
pkgname=clapper
pkgver=0.5.2
pkgrel=1
pkgdesc="A GNOME media player built using GJS with GTK4 toolkit and powered by GStreamer with OpenGL rendering"
url="https://github.com/Rafostar/clapper"
arch="all !s390x !armhf" # no gjs
license="GPL-3.0-or-later"
depends="
	gjs
	hicolor-icon-theme
	"
makedepends="
	gjs-dev
	gst-plugins-base-dev
	gstreamer-dev
	gtk4.0-dev
	meson
	"
subpackages="$pkgname-lang"
source="$pkgname-$pkgver.tar.gz::https://github.com/Rafostar/clapper/archive/refs/tags/$pkgver.tar.gz"
options="!check" # No tests
ldpath="/usr/lib/gstreamer-1.0/"

build() {
	abuild-meson -Db_lto=true . output
	meson compile -C output
}

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

sha512sums="
46934a6e1224e88338e85154bbc489dcd006887863fcdc880fa631e5573afa48de32c23fa0bcc9b2206f324e51b6f071d250b340c41a450e9d0c497863feacbf  clapper-0.5.2.tar.gz
"