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

Jan Steffens heftig at gemini.archlinux.org
Wed Mar 30 20:05:06 UTC 2022


    Date: Wednesday, March 30, 2022 @ 20:05:06
  Author: heftig
Revision: 441011

archrelease: copy trunk to gnome-unstable-x86_64

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

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

Copied: xdg-desktop-portal-gnome/repos/gnome-unstable-x86_64/PKGBUILD (from rev 441010, xdg-desktop-portal-gnome/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD	2022-03-30 20:05:06 UTC (rev 441011)
@@ -0,0 +1,42 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+
+pkgname=xdg-desktop-portal-gnome
+pkgver=42.0.1
+pkgrel=1
+pkgdesc="A backend implementation for xdg-desktop-portal for the GNOME desktop environment"
+url="https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome"
+arch=(x86_64)
+license=(LGPL)
+depends=('xdg-desktop-portal-gtk>=1.10.0-2' libadwaita gnome-keyring
+         gnome-desktop-4)
+makedepends=(xdg-desktop-portal meson git)
+optdepends=('evince: Print previews')
+provides=(xdg-desktop-portal-impl)
+conflicts=('xdg-desktop-portal-gtk<1.10.0-2')
+replaces=('xdg-desktop-portal-gtk<1.10.0-2')
+options=(debug)
+_commit=68e512c8ebf2aaf21f9752c1edb918fb21f9323d  # tags/42.0.1^0
+source=("git+https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+}
+
+build() {
+  arch-meson $pkgname build
+  meson compile -C build
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+package() {
+  meson install -C build --destdir "$pkgdir"
+}



More information about the arch-commits mailing list