aboutsummaryrefslogtreecommitdiffstats
path: root/community/eog/APKBUILD
blob: d09fb1c796d83dc93eef662b1408c0921bccb044 (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=eog
pkgver=3.32.2
pkgrel=0
pkgdesc="An image viewer for GNOME"
url="https://wiki.gnome.org/Apps/EyeOfGnome"
arch="all !s390x" # gvfs
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 \
		--sysconfdir=/etc \
		--libdir=/usr/lib \
		--localstatedir=/var \
		output .
	ninja -C output
}

check() {
	ninja -C output test
}

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

sha512sums="c1093db4bce6bfde758a42fddc7ce7437d2adf3aa44a633b253ca3cb75c910e8862a323d182394696c617cb92114919dc576b992e7a65aa5fefb504062382d81  eog-3.32.2.tar.xz"