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

build() {
	meson \
		--prefix=/usr \
		--buildtype=plain \
		--sysconfdir=/etc \
		--libdir=/usr/lib \
		--localstatedir=/var \
		output .
	ninja -C output
}

check() {
	ninja -C output test
}

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

sha512sums="ec69a45cf1ff05c334b4f4ba474ec9954a0c75ff1d5a0e9b482b65cbc454ddbc036cf4cafaabd28aef87e0dd3b212372547d325bcc36f9a0d5ffef437b67e9d7  eog-3.36.0.tar.xz"