aboutsummaryrefslogtreecommitdiffstats
path: root/community/eog/APKBUILD
blob: 1444f55eb4912a119f04d24defc747088c7f3808 (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
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=eog
pkgver=3.32.1
pkgrel=0
pkgdesc="An image viewer for GNOME"
url="https://wiki.gnome.org/Apps/EyeOfGnome"
arch="all"
license="GPL-2.0-or-later"
depends="gsettings-desktop-schemas"
depends_dev="gtk+3.0-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="2117445555399624cafef48acb3acfec8fda1d924b1c6f8a449e70bdae09ca7334a14615b60c7cabe51e442d6571fd1b2a52137ca12a31c03917273c21bd385b  eog-3.32.1.tar.xz"