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

Maxime Gauduin alucryd at archlinux.org
Mon Mar 29 08:35:49 UTC 2021


    Date: Monday, March 29, 2021 @ 08:35:48
  Author: alucryd
Revision: 908779

pantheon-photos 2.7.0-3: granite rebuild

Modified:
  pantheon-photos/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-03-29 08:34:59 UTC (rev 908778)
+++ PKGBUILD	2021-03-29 08:35:48 UTC (rev 908779)
@@ -2,7 +2,7 @@
 
 pkgname=pantheon-photos
 pkgver=2.7.0
-pkgrel=2
+pkgrel=3
 pkgdesc='The Pantheon Photos Manager'
 arch=(x86_64)
 url=https://github.com/elementary/photos
@@ -38,23 +38,28 @@
 )
 optdepends=('webkit2gtk: Publishing plugins')
 groups=(pantheon)
-source=(pantheon-photos::git+https://github.com/elementary/photos.git#tag=84e161733d921a4a8a520bfc8a2654d69928c942)
+_tag=84e161733d921a4a8a520bfc8a2654d69928c942
+source=(pantheon-photos::git+https://github.com/elementary/photos.git#tag=${_tag})
 sha256sums=(SKIP)
 
+prepare() {
+  cd pantheon-photos
+  git cherry-pick -n 27e529fc96da828982563e2e19a6f0cef883a29e
+}
+
 pkgver() {
   cd pantheon-photos
-
   git describe --tags
 }
 
 build() {
   arch-meson pantheon-photos build \
-    -D libunity=false
-  ninja -C build
+    -Dlibunity=false
+  meson compile -C build
 }
 
 package() {
-  DESTDIR="${pkgdir}" ninja -C build install
+  DESTDIR="${pkgdir}" meson install -C build
 }
 
 # vim: ts=2 sw=2 et:



More information about the arch-commits mailing list