[arch-commits] Commit in flatpak/repos/extra-x86_64 (4 files)

Jan Steffens heftig at gemini.archlinux.org
Wed Jan 12 19:10:12 UTC 2022


    Date: Wednesday, January 12, 2022 @ 19:10:12
  Author: heftig
Revision: 434318

archrelease: copy trunk to extra-x86_64

Added:
  flatpak/repos/extra-x86_64/PKGBUILD
    (from rev 434317, flatpak/trunk/PKGBUILD)
  flatpak/repos/extra-x86_64/flatpak-bindir.sh
    (from rev 434317, flatpak/trunk/flatpak-bindir.sh)
Deleted:
  flatpak/repos/extra-x86_64/PKGBUILD
  flatpak/repos/extra-x86_64/flatpak-bindir.sh

-------------------+
 PKGBUILD          |  177 ++++++++++++++++++++++++++--------------------------
 flatpak-bindir.sh |   18 ++---
 2 files changed, 98 insertions(+), 97 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-12 19:09:48 UTC (rev 434317)
+++ PKGBUILD	2022-01-12 19:10:12 UTC (rev 434318)
@@ -1,88 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
-# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
-# Contributor: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-
-pkgname=flatpak
-pkgver=1.12.2
-pkgrel=1
-pkgdesc="Linux application sandboxing and distribution framework (formerly xdg-app)"
-url="https://flatpak.org"
-arch=(x86_64)
-license=(LGPL)
-depends=(dbus glib2 libsoup polkit libxau ostree json-glib libseccomp libarchive
-         python bubblewrap appstream-glib xdg-dbus-proxy)
-makedepends=(intltool systemd gobject-introspection gtk-doc git docbook-xsl xmlto)
-checkdepends=(valgrind socat)
-_commit=96aafda476c2634941dfcd68a65fe13f582eefcb  # tags/1.12.2^0
-source=("git+https://github.com/flatpak/flatpak#commit=$_commit"
-        git+https://gitlab.gnome.org/GNOME/libglnx.git
-        git+https://github.com/projectatomic/bubblewrap
-        git+https://github.com/flatpak/xdg-dbus-proxy
-        git+https://gitlab.gnome.org/alexl/variant-schema-compiler.git
-        https://dl.flathub.org/repo/flathub.flatpakrepo
-        flatpak-bindir.sh)
-sha256sums=('SKIP'
-            'SKIP'
-            'SKIP'
-            'SKIP'
-            'SKIP'
-            '3371dd250e61d9e1633630073fefda153cd4426f72f4afa0c3373ae2e8fea03a'
-            '1824cb4eb1cc88702cb2b9f1c55b6dfdf20fca5eab83f6e8e532099281328745')
-
-prepare() {
-  cd $pkgname
-
-  git submodule init
-  git submodule set-url bubblewrap "$srcdir/bubblewrap"
-  git submodule set-url libglnx "$srcdir/libglnx"
-  git submodule set-url dbus-proxy "$srcdir/xdg-dbus-proxy"
-  git submodule set-url variant-schema-compiler "$srcdir/variant-schema-compiler"
-  git submodule update
-
-  # https://github.com/flatpak/flatpak/issues/267
-  sed -i '/locale\/C\./d' tests/make-test-runtime.sh
-
-  NOCONFIGURE=1 ./autogen.sh
-}
-
-pkgver() {
-  cd $pkgname
-  git describe --tags | sed 's/-/+/g'
-}
-
-build() {
-  cd $pkgname
-
-  ./configure \
-    --prefix=/usr \
-    --sysconfdir=/etc \
-    --localstatedir=/var \
-    --sbindir=/usr/bin \
-    --libexecdir=/usr/lib \
-    --disable-static \
-    --enable-gtk-doc \
-    --with-system-bubblewrap \
-    --with-system-dbus-proxy \
-    --with-dbus-config-dir=/usr/share/dbus-1/system.d
-
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-
-  make
-}
-
-check() {
-  cd $pkgname
-  make -k check
-}
-
-package() {
-  depends+=(xdg-desktop-portal)
-
-  make -C $pkgname DESTDIR="$pkgdir" install
-
-  install -Dt "$pkgdir/etc/profile.d" -m644 flatpak-bindir.sh
-  install -Dt "$pkgdir/etc/flatpak/remotes.d" flathub.flatpakrepo
-
-  # Fixup mode to match polkit
-  install -d -o root -g 102 -m 750 "$pkgdir/usr/share/polkit-1/rules.d"
-}

Copied: flatpak/repos/extra-x86_64/PKGBUILD (from rev 434317, flatpak/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-01-12 19:10:12 UTC (rev 434318)
@@ -0,0 +1,89 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=flatpak
+pkgver=1.12.3
+pkgrel=1
+pkgdesc="Linux application sandboxing and distribution framework (formerly xdg-app)"
+url="https://flatpak.org"
+arch=(x86_64)
+license=(LGPL)
+depends=(dbus glib2 libsoup polkit libxau ostree json-glib libseccomp libarchive
+         python bubblewrap appstream-glib xdg-dbus-proxy systemd)
+makedepends=(intltool gobject-introspection gtk-doc git docbook-xsl xmlto)
+checkdepends=(valgrind socat)
+provides=(libflatpak.so)
+_commit=e528dcf196816de5e267d08456d1edd6877f8f73  # tags/1.12.3^0
+source=("git+https://github.com/flatpak/flatpak#commit=$_commit"
+        git+https://gitlab.gnome.org/GNOME/libglnx.git
+        git+https://github.com/projectatomic/bubblewrap
+        git+https://github.com/flatpak/xdg-dbus-proxy
+        git+https://gitlab.gnome.org/alexl/variant-schema-compiler.git
+        https://dl.flathub.org/repo/flathub.flatpakrepo
+        flatpak-bindir.sh)
+sha256sums=('SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            '3371dd250e61d9e1633630073fefda153cd4426f72f4afa0c3373ae2e8fea03a'
+            '1824cb4eb1cc88702cb2b9f1c55b6dfdf20fca5eab83f6e8e532099281328745')
+
+pkgver() {
+  cd flatpak
+  git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
+}
+
+prepare() {
+  cd flatpak
+
+  git submodule init
+  git submodule set-url bubblewrap "$srcdir/bubblewrap"
+  git submodule set-url libglnx "$srcdir/libglnx"
+  git submodule set-url dbus-proxy "$srcdir/xdg-dbus-proxy"
+  git submodule set-url variant-schema-compiler "$srcdir/variant-schema-compiler"
+  git submodule update
+
+  # https://github.com/flatpak/flatpak/issues/267
+  sed -i '/locale\/C\./d' tests/make-test-runtime.sh
+
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd flatpak
+
+  ./configure \
+    --prefix=/usr \
+    --sysconfdir=/etc \
+    --localstatedir=/var \
+    --sbindir=/usr/bin \
+    --libexecdir=/usr/lib \
+    --disable-static \
+    --enable-gtk-doc \
+    --with-system-bubblewrap \
+    --with-system-dbus-proxy \
+    --with-dbus-config-dir=/usr/share/dbus-1/system.d
+
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+  make
+}
+
+check() {
+  cd flatpak
+  make -k check
+}
+
+package() {
+  depends+=(xdg-desktop-portal)
+
+  make -C flatpak DESTDIR="$pkgdir" install
+
+  install -Dt "$pkgdir/etc/profile.d" -m644 flatpak-bindir.sh
+  install -Dt "$pkgdir/etc/flatpak/remotes.d" flathub.flatpakrepo
+
+  # Fixup mode to match polkit
+  install -d -o root -g 102 -m 750 "$pkgdir/usr/share/polkit-1/rules.d"
+}

Deleted: flatpak-bindir.sh
===================================================================
--- flatpak-bindir.sh	2022-01-12 19:09:48 UTC (rev 434317)
+++ flatpak-bindir.sh	2022-01-12 19:10:12 UTC (rev 434318)
@@ -1,9 +0,0 @@
-if [ -n "$XDG_DATA_HOME" ] && [ -d "$XDG_DATA_HOME/flatpak/exports/bin" ]; then
-  append_path "$XDG_DATA_HOME/flatpak/exports/bin"
-elif [ -n "$HOME" ] && [ -d "$HOME/.local/share/flatpak/exports/bin" ]; then
-  append_path "$HOME/.local/share/flatpak/exports/bin"
-fi
-
-if [ -d /var/lib/flatpak/exports/bin ]; then
-  append_path /var/lib/flatpak/exports/bin
-fi

Copied: flatpak/repos/extra-x86_64/flatpak-bindir.sh (from rev 434317, flatpak/trunk/flatpak-bindir.sh)
===================================================================
--- flatpak-bindir.sh	                        (rev 0)
+++ flatpak-bindir.sh	2022-01-12 19:10:12 UTC (rev 434318)
@@ -0,0 +1,9 @@
+if [ -n "$XDG_DATA_HOME" ] && [ -d "$XDG_DATA_HOME/flatpak/exports/bin" ]; then
+  append_path "$XDG_DATA_HOME/flatpak/exports/bin"
+elif [ -n "$HOME" ] && [ -d "$HOME/.local/share/flatpak/exports/bin" ]; then
+  append_path "$HOME/.local/share/flatpak/exports/bin"
+fi
+
+if [ -d /var/lib/flatpak/exports/bin ]; then
+  append_path /var/lib/flatpak/exports/bin
+fi



More information about the arch-commits mailing list