Date: Tuesday, October 25, 2022 @ 15:15:16
Author: heftig
Revision: 458892
archrelease: copy trunk to gnome-unstable-x86_64
Added:
eog/repos/gnome-unstable-x86_64/
eog/repos/gnome-unstable-x86_64/PKGBUILD
(from rev 458890, eog/trunk/PKGBUILD)
----------+
PKGBUILD | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 56 insertions(+)
Copied: eog/repos/gnome-unstable-x86_64/PKGBUILD (from rev 458890,
eog/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD 2022-10-25 15:15:16 UTC (rev 458892)
@@ -0,0 +1,56 @@
+# Maintainer: Jan Alexander Steffens (heftig) <[email protected]>
+# Contributor: Jan de Groot <[email protected]>
+
+pkgbase=eog
+pkgname=(eog eog-docs)
+pkgver=43.1
+pkgrel=1
+pkgdesc="Eye of Gnome: An image viewing and cataloging program"
+url="https://wiki.gnome.org/Apps/EyeOfGnome"
+arch=(x86_64)
+license=(GPL)
+depends=(gnome-desktop libexif lcms2 exempi libpeas librsvg libhandy
+ webp-pixbuf-loader)
+makedepends=(gobject-introspection gi-docgen git meson yelp-tools systemd)
+options=(debug)
+_commit=bfc775c6e3efc7d9aa8a21e7e12ea59e6e921b28 # tags/43.1^0
+source=("git+https://gitlab.gnome.org/GNOME/eog.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd eog
+ git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
+}
+
+build() {
+ local meson_options=(
+ -D gtk_doc=true
+ -D libportal=false
+ )
+
+ arch-meson eog build "${meson_options[@]}"
+ meson compile -C build
+}
+
+check() {
+ meson test -C build --print-errorlogs
+}
+
+package_eog() {
+ optdepends=('eog-plugins: Additional features')
+ groups=(gnome)
+
+ meson install -C build --destdir "$pkgdir"
+
+ mkdir -p doc/usr/share
+ mv {"$pkgdir",doc}/usr/share/gtk-doc
+}
+
+package_eog-docs() {
+ pkgdesc+=" (documentation)"
+ depends=()
+
+ mv doc/* "$pkgdir"
+}
+
+# vim:set sw=2 sts=-1 et: