[arch-commits] Commit in xdg-desktop-portal-gtk/repos (2 files)

Jan Steffens heftig at gemini.archlinux.org
Sat Nov 6 01:13:55 UTC 2021


    Date: Saturday, November 6, 2021 @ 01:13:54
  Author: heftig
Revision: 427393

archrelease: copy trunk to gnome-unstable-x86_64

Added:
  xdg-desktop-portal-gtk/repos/gnome-unstable-x86_64/
  xdg-desktop-portal-gtk/repos/gnome-unstable-x86_64/PKGBUILD
    (from rev 427391, xdg-desktop-portal-gtk/trunk/PKGBUILD)

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

Copied: xdg-desktop-portal-gtk/repos/gnome-unstable-x86_64/PKGBUILD (from rev 427391, xdg-desktop-portal-gtk/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD	2021-11-06 01:13:54 UTC (rev 427393)
@@ -0,0 +1,48 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Patrick Griffis <tingping at tingping.se>
+
+pkgname=xdg-desktop-portal-gtk
+pkgver=1.10.0
+pkgrel=2
+pkgdesc="A backend implementation for xdg-desktop-portal using GTK"
+url="https://github.com/flatpak/xdg-desktop-portal-gtk"
+arch=(x86_64)
+license=(LGPL)
+depends=(gtk3)
+makedepends=(xdg-desktop-portal python git)
+optdepends=("evince: Print preview")
+provides=(xdg-desktop-portal-impl)
+_commit=3a9ac80eb720d1ba8a2aecc2108f66b2f737f185  # tags/1.10.0^0
+source=("git+https://github.com/flatpak/xdg-desktop-portal-gtk#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^v//;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  
+  # Fix build
+  git cherry-pick -n e34f49ca8365 19c5385b9f5f
+
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd $pkgname
+  ./configure --prefix=/usr --libexecdir=/usr/lib
+  make 
+}
+
+check() {
+  cd $pkgname
+  make check
+}
+
+package() {
+  cd $pkgname
+  DESTDIR="$pkgdir" make install
+}



More information about the arch-commits mailing list