aboutsummaryrefslogtreecommitdiffstats
path: root/testing/totem-pl-parser/APKBUILD
blob: ee4109842d59d1049955c85370ae32d0ddbf3fef (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
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Leo <thinkabit.ukim@gmail.com> 
pkgname=totem-pl-parser
pkgver=3.26.3
pkgrel=0
pkgdesc="GNOME playlist parser library"
url="https://www.gnome.org/"
arch="all"
license="LGPL-2.0-or-later"
makedepends="meson gnome-desktop-dev libsoup-dev libxml2-dev json-glib-dev
	gmime-dev libxml2-utils libxslt itstool libarchive-dev libgcrypt-dev"
subpackages="$pkgname-dev $pkgname-lang"
source="https://download.gnome.org/sources/totem-pl-parser/${pkgver%.*}/totem-pl-parser-$pkgver.tar.xz"

build() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		-Denable-libarchive=yes \
		-Denable-libgcrypt=yes \
		-Dintrospection=true \
		build
	ninja -C build
}

check() {
	ninja -C build test
}

package() {
	DESTDIR="$pkgdir" ninja -C build install
}

sha512sums="f059fd9447627268ce5029ed48551b0a2b6c30ba28c50a360d37808ad63fa8423824eef29c7f4d7a752f24861d4c7a7139f321fa2e19085085446e7ed15130cd  totem-pl-parser-3.26.3.tar.xz"