aboutsummaryrefslogtreecommitdiffstats
path: root/testing/totem/APKBUILD
blob: c8d5ad0cb92a7bfe331eb9dacf9fcacea7ee44ea (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
37
38
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=totem
pkgver=3.32.0
pkgrel=1
pkgdesc="Movie player for the GNOME desktop"
url="https://wiki.gnome.org/Apps/Videos"
arch="all"
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 py-gobject3-dev grilo-dev
	gnome-desktop-dev vala gsettings-desktop-schemas-dev gst-plugins-base-dev
	libxml2-dev gstreamer-tools gst-plugins-good clutter-gst-dev itstool"
options="!check" # Need DISPLAY
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/totem/${pkgver%.*}/totem-${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="386dca1743b8ad1eab20be8f9ecc4506b8c9ef49501e69efe549c5db0bb43588546c3b5b51a4fab033965dc441e9c7175ad544a028e9fe04b7d7b176efd85cc6  totem-3.32.0.tar.xz"