summaryrefslogtreecommitdiff
path: root/community/eog/APKBUILD
blob: e88151a9505f41084d3148008edb1f15ea94a6f9 (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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: team/gnome <ablocorrea@hotmail.com>
pkgname=eog
pkgver=44.1
pkgrel=2
pkgdesc="An image viewer for GNOME"
url="https://wiki.gnome.org/Apps/EyeOfGnome"
# s390x: blocked by exempi-dev
arch="all !s390x"
license="GPL-2.0-or-later"
depends="gsettings-desktop-schemas"
depends_dev="
	exempi-dev
	gnome-desktop-dev
	gvfs-dev
	jpeg-dev
	lcms2-dev
	libexif-dev
	libpeas-dev
	libportal-dev
	librsvg-dev
	libxml2-dev
	"
makedepends="
	$depends_dev
	itstool
	libhandy1-dev
	meson
	"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/eog/${pkgver%.*}/eog-$pkgver.tar.xz"

build() {
	abuild-meson \
		-Db_lto=true \
		. output
	meson compile -C output
}

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

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

sha512sums="
2791466d186bb9ae8a6822e7a9e93d4b76ab1030a5bc0dc61858030622ec3cb74a6b674d65f6fb6e16b9c1eda9d320ac50479e04822209865f004ac1a729b02e  eog-44.1.tar.xz
"