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

Maxime Gauduin alucryd at archlinux.org
Thu Dec 6 13:57:46 UTC 2018


    Date: Thursday, December 6, 2018 @ 13:57:46
  Author: alucryd
Revision: 411734

upgpkg: pantheon-photos 2.6.1-1

Modified:
  pantheon-photos/trunk/PKGBUILD

----------+
 PKGBUILD |   67 +++++++++++++++++++++++++++++++++++--------------------------
 1 file changed, 39 insertions(+), 28 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-12-06 13:48:45 UTC (rev 411733)
+++ PKGBUILD	2018-12-06 13:57:46 UTC (rev 411734)
@@ -1,42 +1,53 @@
 # Maintainer: Maxime Gauduin <alucryd at archlinux.org>
 
 pkgname=pantheon-photos
-pkgver=0.2.5
-pkgrel=2
+pkgver=2.6.1
+pkgrel=1
 pkgdesc='The Pantheon Photos Manager'
-arch=('x86_64')
+arch=(x86_64)
 url='https://github.com/elementary/photos'
-license=('GPL3')
-depends=('cairo' 'gdk-pixbuf2' 'geocode-glib' 'glib2' 'gst-plugins-base-libs'
-         'gstreamer' 'gtk3' 'json-glib' 'libexif' 'libgee' 'libgexiv2'
-         'libgphoto2' 'libraw' 'libsoup' 'libxml2' 'pango' 'rest' 'sqlite'
-         'libgranite.so' 'libgudev-1.0.so')
-makedepends=('cmake' 'git' 'intltool' 'vala' 'webkit2gtk')
+license=(GPL3)
+depends=(
+  cairo
+  gdk-pixbuf2
+  geocode-glib
+  glib2
+  gst-plugins-base-libs
+  gstreamer
+  gtk3
+  json-glib
+  libexif
+  libgee
+  libgexiv2
+  libgphoto2
+  libgranite.so
+  libgudev-1.0.so
+  libraw
+  libsoup
+  libxml2
+  pango
+  rest
+  sqlite
+)
+makedepends=(
+  git
+  intltool
+  meson
+  vala
+  webkit2gtk
+)
 optdepends=('webkit2gtk: Publishing plugins')
-source=("pantheon-photos::git+https://github.com/elementary/photos.git#tag=${pkgver}")
-sha256sums=('SKIP')
+source=(pantheon-photos::git+https://github.com/elementary/photos.git#tag=${pkgver})
+sha256sums=(SKIP)
 
-prepare() {
-  if [[ -d build ]]; then
-    rm -rf build
-  fi
-  mkdir build
-}
-
 build() {
-  cd build
-
-  cmake ../pantheon-photos \
-    -DCMAKE_BUILD_TYPE='Release' \
-    -DCMAKE_INSTALL_PREFIX='/usr' \
-    -DCMAKE_INSTALL_LIBDIR='/usr/lib' \
-    -DCMAKE_INSTALL_LIBEXECDIR='/usr/lib' \
-    -DGSETTINGS_COMPILE='OFF'
-  make
+  arch-meson pantheon-photos build \
+    -D libunity='false'
+  ninja -C build
 }
 
 package() {
-  make DESTDIR="${pkgdir}" -C build install
+  DESTDIR="${pkgdir}" ninja -C build install
 }
 
 # vim: ts=2 sw=2 et:


More information about the arch-commits mailing list