summaryrefslogtreecommitdiff
path: root/community/eog/APKBUILD
blob: e736b2f0abd836a15400840d6af91684bfe49452 (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
37
38
39
40
41
42
43
44
45
46
47
48
49
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=eog
pkgver=42.3
pkgrel=0
pkgdesc="An image viewer for GNOME"
url="https://wiki.gnome.org/Apps/EyeOfGnome"
arch="all !s390x !riscv64" # limited by librsvg -> rust
license="GPL-2.0-or-later"
depends="gsettings-desktop-schemas"
depends_dev="
	exempi-dev
	gnome-desktop-dev
	gvfs-dev
	jpeg-dev
	lcms2-dev
	libexif-dev
	libpeas-dev
	libportal-dev
	librsvg-dev
	libxml2-dev
	"
makedepends="
	$depends_dev
	itstool
	libhandy1-dev
	libxml2-utils
	meson
	"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/eog/${pkgver%.*}/eog-$pkgver.tar.xz"

build() {
	abuild-meson \
		output .
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

check() {
	meson test --no-rebuild --print-errorlogs -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
bc82830897c55769cd2cb0c0d428b9456465c0f4e793c597ea74b3c84d5c052f051b772413cb32754153714239a9815a09fe93daf928f13e16f8d997b1e58b45  eog-42.3.tar.xz
"