aboutsummaryrefslogtreecommitdiffstats
path: root/community/gnome-photos/APKBUILD
blob: dc737bb535e2fe75c1701b19fdad25efe25fbadd (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
35
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnome-photos
pkgver=3.37.91.1
pkgrel=1
pkgdesc="Access, organize and share your photos on GNOME"
url="https://wiki.gnome.org/Apps/Photos"
arch="all !s390x !mips !mips64" # Limited by gegl-dev
license="GPL-3.0-or-later"
depends="gsettings-desktop-schemas tracker-miners"
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
	tracker3.patch"

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

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

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

sha512sums="679562ad5eedc2fbea73fcab8047accc5516b38d88040d5cc9063ba0cadcba50cbb0287952c59394748620f5ec18740c16f3cfe0ea6545e369c6fd911fa91991  gnome-photos-3.37.91.1.tar.xz
c83dcef4603694bbbf01372187b8e41ee40749097c12a8f13e2e3a512b1038a43377f23fbe71676159277bf0a845094a06d0ddf00b9c2e9741f6590a0630f00c  tracker3.patch"