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

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Fri Mar 15 12:05:46 UTC 2019


    Date: Friday, March 15, 2019 @ 12:05:45
  Author: bpiotrowski
Revision: 348163

3.31.91-1

Modified:
  gnome-photos/trunk/PKGBUILD

----------+
 PKGBUILD |   32 +++++++-------------------------
 1 file changed, 7 insertions(+), 25 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-15 12:02:28 UTC (rev 348162)
+++ PKGBUILD	2019-03-15 12:05:45 UTC (rev 348163)
@@ -1,7 +1,7 @@
 # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
 
 pkgname=gnome-photos
-pkgver=3.30.1
+pkgver=3.31.91
 pkgrel=1
 pkgdesc="Access, organize, and share your photos on GNOME"
 arch=(x86_64)
@@ -12,7 +12,7 @@
          gnome-online-miners dleyna-server dleyna-renderer libdazzle)
 makedepends=(python yelp-tools git meson)
 groups=(gnome)
-_commit=c7f55291c49ad26d1f7f2511481901ad16f813a2  # tags/3.30.1^0
+_commit=b4c1075bffbf118d22d9b3fa92a90ae2c7615c0e  # tags/3.31.91^0
 source=("git+https://gitlab.gnome.org/GNOME/gnome-photos.git#commit=$_commit"
         "git+https://gitlab.gnome.org/GNOME/libgd.git")
 sha256sums=('SKIP'
@@ -23,31 +23,13 @@
   git describe --tags | sed 's/-/+/g'
 }
 
-prepare() {
-  cd $pkgname
-
-  git submodule init
-  git config --local submodule.subprojects/libgd.url "$srcdir/libgd"
-  git submodule update
-
-  NOCONFIGURE=1 ./autogen.sh
-}
-
 build() {
-  cd $pkgname
-  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
-    --libexecdir=/usr/lib --enable-compile-warnings=minimum
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-  make
+  arch-meson $pkgname build \
+    --buildtype=debugoptimized \
+    -D documentation=true
+  ninja -C build
 }
 
-check() {
-  cd $pkgname
-  # disabled: needs dogtail and an installed gnome-photos
-  #xvfb-run dbus-run-session make check
-}
-
 package() {
-  cd $pkgname
-  make DESTDIR="$pkgdir" install
+  DESTDIR="$pkgdir" meson install -C build
 }



More information about the arch-commits mailing list