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

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Tue Mar 13 14:21:35 UTC 2018


    Date: Tuesday, March 13, 2018 @ 14:21:34
  Author: bpiotrowski
Revision: 318793

3.28.0-1

Modified:
  eog/trunk/PKGBUILD

----------+
 PKGBUILD |   21 ++++++---------------
 1 file changed, 6 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-03-13 13:42:56 UTC (rev 318792)
+++ PKGBUILD	2018-03-13 14:21:34 UTC (rev 318793)
@@ -3,7 +3,7 @@
 # Contributor: Jan de Groot <jgc at archlinux.org>
 
 pkgname=eog
-pkgver=3.26.2
+pkgver=3.28.0
 pkgrel=1
 pkgdesc="Eye of Gnome: An image viewing and cataloging program"
 url="https://wiki.gnome.org/Apps/EyeOfGnome"
@@ -10,11 +10,11 @@
 arch=(x86_64)
 license=(GPL)
 depends=(gnome-desktop libexif lcms2 exempi libpeas librsvg dconf)
-makedepends=(intltool itstool gobject-introspection gtk-doc gnome-common git)
+makedepends=(intltool itstool gobject-introspection gtk-doc gnome-common git meson)
 optdepends=('eog-plugins: Additional features')
 groups=(gnome)
 options=(!emptydirs)
-_commit=0a3ef396f46d6eae2e49169a23cad227a4e11042  # tags/3.26.2^0
+_commit=8496917ea318b5f9e81b0b6d031fba721cdb7e51  # tags/3.28.0^0
 source=("git+https://git.gnome.org/browse/eog#commit=$_commit")
 sha256sums=('SKIP')
 
@@ -23,20 +23,11 @@
   git describe --tags | sed 's/-/+/g'
 }
 
-prepare() {
-  cd $pkgname
-  NOCONFIGURE=1 ./autogen.sh
-}
-
 build() {
-  cd "$pkgname"
-  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
-    --enable-compile-warnings=minimum --enable-gtk-doc
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-  make
+  arch-meson $pkgname build -Denable-gtk-doc=true
+  ninja -C build
 }
 
 package() {
-  cd "$pkgname"
-  make DESTDIR="$pkgdir" install
+  DESTDIR="$pkgdir" ninja -C build install
 }



More information about the arch-commits mailing list