summaryrefslogtreecommitdiff
path: root/community/gnome-photos/APKBUILD
blob: 0ac0e08e2e7c71863eb4639e4d9b98b1d8aed21f (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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnome-photos
pkgver=42.0
pkgrel=1
pkgdesc="Access, organize and share your photos on GNOME"
url="https://wiki.gnome.org/Apps/Photos"
# s390x blocked by exempi -> tracker-miners
arch="all !s390x"
license="GPL-3.0-or-later"
depends="
	gsettings-desktop-schemas
	tracker-miners
	"
makedepends="
	babl-dev
	cairo-dev
	dbus-dev
	gegl-dev
	geocode-glib-dev
	gexiv2-dev
	gfbgraph-dev
	glib-dev
	gnome-online-accounts
	grilo-dev
	gsettings-desktop-schemas-dev
	gtk+3.0-dev
	itstool
	libdazzle-dev
	libgdata-dev
	libhandy1-dev
	libjpeg-turbo-dev
	libpng-dev
	meson
	tracker-dev
	"
subpackages="$pkgname-lang $pkgname-doc"
source="https://download.gnome.org/sources/gnome-photos/${pkgver%.*}/gnome-photos-$pkgver.tar.xz"

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

check() {
	meson test --no-rebuild --print-errorlogs -C output
}

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

sha512sums="
cddaa84596a180fb2a4d70db65c6e625e3d94bccbdc7bcc83ed577b9306210a2879e3d40f8823a9e097f78caa6fccc53404194e7dce0629db3ebda1aa428b714  gnome-photos-42.0.tar.xz
"