aboutsummaryrefslogtreecommitdiffstats
path: root/community/totem/APKBUILD
blob: 32ef4b59259aab945de5f92cf64e3ce6d7ad865b (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=totem
pkgver=42.0
pkgrel=0
pkgdesc="Movie player for the GNOME desktop"
url="https://wiki.gnome.org/Apps/Videos"
arch="all !s390x !riscv64" # grilo-plugins missing
license="GPL-2.0-or-later"
depends="
	grilo-plugins
	gsettings-desktop-schemas
	gst-plugins-good
	gst-plugins-good-gtk
	"
makedepends="
	clutter-gtk-dev
	glib-dev
	gnome-desktop-dev
	gobject-introspection-dev
	grilo-dev
	gsettings-desktop-schemas-dev
	gst-plugins-base-dev
	gstreamer-dev
	gstreamer-tools
	gtk+3.0-dev
	itstool
	libhandy1-dev
	libpeas-dev
	libxml2-dev
	meson
	py3-gobject3-dev
	totem-pl-parser-dev
	vala
	"
checkdepends="xvfb-run desktop-file-utils appstream-glib"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/totem/${pkgver%.*}/totem-$pkgver.tar.xz"

build() {
	abuild-meson . output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

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

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

sha512sums="
67872d06a7d691a23b97255c5ee5f8d90a1fdf2b36f064f26c10fb4958733772eea456aab4f0fe2c89d23ec987cf5b9c2383c97ba5bec45247953296f1cd6c4b  totem-42.0.tar.xz
"