aboutsummaryrefslogtreecommitdiffstats
path: root/community/totem/APKBUILD
blob: cae57fd1e0d4066e28f5e8fe287f9306d0039f8f (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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=totem
pkgver=3.38.2
pkgrel=0
pkgdesc="Movie player for the GNOME desktop"
url="https://wiki.gnome.org/Apps/Videos"
arch="all !s390x !mips64 !riscv64" # grilo-plugins missing
license="GPL-2.0-or-later"
depends="gsettings-desktop-schemas gst-plugins-good grilo-plugins"
makedepends="meson glib-dev gtk+3.0-dev gstreamer-dev libpeas-dev totem-pl-parser-dev
	gobject-introspection-dev clutter-gtk-dev py3-gobject3-dev grilo-dev
	gnome-desktop-dev vala gsettings-desktop-schemas-dev gst-plugins-base-dev
	libxml2-dev gstreamer-tools clutter-gst-dev itstool"
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="
1dac3a0afe31b47147a129c70dddf7480446fc1bb5432f9cd537384e3be25da6a9b87918fa7bcf7e7cd68c8dac45e75f6b1f7c1885edefac846c52f96b40567f  totem-3.38.2.tar.xz
"