[arch-commits] Commit in gnome-photos/repos (2 files)

Jan Steffens heftig at archlinux.org
Sat Sep 8 01:04:31 UTC 2018


    Date: Saturday, September 8, 2018 @ 01:04:30
  Author: heftig
Revision: 333869

archrelease: copy trunk to gnome-unstable-x86_64

Added:
  gnome-photos/repos/gnome-unstable-x86_64/
  gnome-photos/repos/gnome-unstable-x86_64/PKGBUILD
    (from rev 333868, gnome-photos/trunk/PKGBUILD)

----------+
 PKGBUILD |   53 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 53 insertions(+)

Copied: gnome-photos/repos/gnome-unstable-x86_64/PKGBUILD (from rev 333868, gnome-photos/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD	2018-09-08 01:04:30 UTC (rev 333869)
@@ -0,0 +1,53 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=gnome-photos
+pkgver=3.30.0
+pkgrel=1
+pkgdesc="Access, organize, and share your photos on GNOME"
+arch=(x86_64)
+url="https://wiki.gnome.org/Apps/Photos"
+license=(GPL)
+depends=(exempi gtk3 libexif librsvg babl gegl gsettings-desktop-schemas grilo-plugins lcms2
+         tracker-miners geocode-glib grilo gfbgraph libgdata libgexiv2 libraw gnome-online-accounts
+         gnome-online-miners dleyna-server dleyna-renderer libdazzle)
+makedepends=(python yelp-tools git meson)
+groups=(gnome)
+_commit=291f15104d7ce6d83d13970366eb4914b6c32f8a  # tags/3.30.0^0
+source=("git+https://gitlab.gnome.org/GNOME/gnome-photos.git#commit=$_commit"
+        "git+https://gitlab.gnome.org/GNOME/libgd.git")
+sha256sums=('SKIP'
+            'SKIP')
+
+pkgver() {
+  cd $pkgname
+  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
+}
+
+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
+}



More information about the arch-commits mailing list