[arch-commits] Commit in eog/trunk (PKGBUILD)
Jan Steffens
heftig at gemini.archlinux.org
Sat Apr 2 17:58:30 UTC 2022
Date: Saturday, April 2, 2022 @ 17:58:29
Author: heftig
Revision: 441292
42.0-1
Modified:
eog/trunk/PKGBUILD
----------+
PKGBUILD | 28 ++++++++++++++++++++--------
1 file changed, 20 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-04-02 17:52:17 UTC (rev 441291)
+++ PKGBUILD 2022-04-02 17:58:29 UTC (rev 441292)
@@ -1,19 +1,18 @@
# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
# Contributor: Jan de Groot <jgc at archlinux.org>
-pkgname=eog
-pkgver=41.2
+pkgbase=eog
+pkgname=(eog eog-docs)
+pkgver=42.0
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 dconf)
-makedepends=(gobject-introspection gtk-doc git meson yelp-tools systemd)
-optdepends=('eog-plugins: Additional features')
-groups=(gnome)
+depends=(gnome-desktop libexif lcms2 exempi libpeas librsvg libhandy)
+makedepends=(gobject-introspection gi-docgen git meson yelp-tools systemd)
options=(debug)
-_commit=57e6500838c620aed158d94e723207c5463e0f70 # tags/41.2^0
+_commit=5f69aab265be3b28d85b1e9d363d63e3bc568945 # tags/42.0^0
source=("git+https://gitlab.gnome.org/GNOME/eog.git#commit=$_commit")
sha256sums=('SKIP')
@@ -31,6 +30,19 @@
meson test -C build --print-errorlogs
}
-package() {
+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"
+}
More information about the arch-commits
mailing list