aboutsummaryrefslogtreecommitdiffstats
path: root/community/eog/APKBUILD
blob: 6697b92c6bd7035d0df3ce3aad62aafc948afdce (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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=eog
pkgver=3.34.1
pkgrel=0
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 \
		--sysconfdir=/etc \
		--libdir=/usr/lib \
		--localstatedir=/var \
		output .
	ninja -C output
}

check() {
	ninja -C output test
}

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

sha512sums="05fe0296c09eae0a1e73c6442cd8b2974722d5096da2b6f080f686a82c850579432e7c3e327c3a1636625215e1e7f5e5a7b7262671e6e13fd58ff3244882d7e1  eog-3.34.1.tar.xz"