aboutsummaryrefslogtreecommitdiffstats
path: root/community/eog/APKBUILD
blob: b883dd961652605f5eea9082a3f72d5ee5777c67 (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
36
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=eog
pkgver=3.37.90
pkgrel=0
pkgdesc="An image viewer for GNOME"
url="https://wiki.gnome.org/Apps/EyeOfGnome"
arch="all !s390x !mips !mips64" # librsvg
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="81b3fb74585f77bbd6bf864899c84b7cd5cbb657879ba41669b21091d064002f87fcddcc3a3907642cea4cd926f05e47f3f9dd62201c00e0c1d985f31bbc4b71  eog-3.37.90.tar.xz"