aboutsummaryrefslogtreecommitdiffstats
path: root/community/gnome-photos/APKBUILD
blob: ea02433ea96f959c22983308ecc120e056068906 (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=gnome-photos
pkgver=3.34.0
pkgrel=2
pkgdesc="Access, organize and share your photos on GNOME"
url="https://wiki.gnome.org/Apps/Photos"
arch="all !s390x" # Limited by gegl-dev
license="GPL-3.0-or-later"
depends="gsettings-desktop-schemas"
makedepends="meson babl-dev cairo-dev gtk+3.0-dev gexiv2-dev glib-dev
	gnome-online-accounts grilo-dev gsettings-desktop-schemas-dev
	libdazzle-dev libgdata-dev libjpeg-turbo-dev libpng-dev tracker-dev
	dbus-dev gegl-dev geocode-glib-dev gfbgraph-dev itstool"
subpackages="$pkgname-lang $pkgname-doc"
source="https://download.gnome.org/sources/gnome-photos/${pkgver%.*}/gnome-photos-$pkgver.tar.xz"

build() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--buildtype=plain \
		-Ddogtail=false \
		. output
	ninja -C output
}

check() {
	ninja -C output test
}

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

sha512sums="0bce6b1fcd5307b0809ab1e63b4f729a5b7c0146933d6fcea29cf7e7d062d6ea44d42d2f88e3647e83a806db490444e2b8be7b43d63ba0ee02bdfb9361ed5396  gnome-photos-3.34.0.tar.xz"