[arch-commits] Commit in eog-plugins/trunk (PKGBUILD)

Jan Steffens heftig at gemini.archlinux.org
Sat Apr 2 18:35:37 UTC 2022


    Date: Saturday, April 2, 2022 @ 18:35:36
  Author: heftig
Revision: 441294

42.0-1

Modified:
  eog-plugins/trunk/PKGBUILD

----------+
 PKGBUILD |   21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-02 18:30:18 UTC (rev 441293)
+++ PKGBUILD	2022-04-02 18:35:36 UTC (rev 441294)
@@ -1,7 +1,7 @@
 # Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
 
 pkgname=eog-plugins
-pkgver=3.26.8
+pkgver=42.0
 pkgrel=1
 pkgdesc="Plugins for Eye of Gnome"
 arch=(x86_64)
@@ -8,8 +8,9 @@
 url="https://wiki.gnome.org/Apps/EyeOfGnome/Plugins"
 license=(GPL2)
 depends=(eog libchamplain libgdata python-gobject)
-makedepends=(intltool gobject-introspection git)
-_commit=4a6baf1f43953dfb860a8b560902b3cc64616aaf  # tags/3.26.8^0
+makedepends=(gobject-introspection git meson)
+options=(debug)
+_commit=bad91344df356de49498809ff38f270fc57803c1  # tags/42.0^0
 source=("git+https://gitlab.gnome.org/GNOME/eog-plugins.git#commit=$_commit")
 sha512sums=('SKIP')
 
@@ -20,19 +21,19 @@
 
 prepare() {
   cd $pkgname
-  NOCONFIGURE=1 ./autogen.sh
 }
 
 build() {
-  cd $pkgname
-  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-  make
+  arch-meson $pkgname build
+  meson compile -C build
 }
 
+check() {
+  meson test -C build --print-errorlogs
+}
+
 package() {
-  cd $pkgname
-  make DESTDIR="$pkgdir" install
+  meson install -C build --destdir "$pkgdir"
 }
 
 # vim:set sw=2 et:



More information about the arch-commits mailing list