[arch-commits] Commit in flatpak/repos/extra-x86_64 (4 files)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Fri Jul 3 17:02:44 UTC 2020
Date: Friday, July 3, 2020 @ 17:02:42
Author: bpiotrowski
Revision: 390800
archrelease: copy trunk to extra-x86_64
Added:
flatpak/repos/extra-x86_64/PKGBUILD
(from rev 390799, flatpak/trunk/PKGBUILD)
flatpak/repos/extra-x86_64/flatpak-bindir.sh
(from rev 390799, flatpak/trunk/flatpak-bindir.sh)
Deleted:
flatpak/repos/extra-x86_64/PKGBUILD
flatpak/repos/extra-x86_64/flatpak-bindir.sh
-------------------+
PKGBUILD | 175 +++++++++++++++++++++++++---------------------------
flatpak-bindir.sh | 14 ++--
2 files changed, 93 insertions(+), 96 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-07-03 17:02:25 UTC (rev 390799)
+++ PKGBUILD 2020-07-03 17:02:42 UTC (rev 390800)
@@ -1,89 +0,0 @@
-# Maintainer: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
-# Contributor: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-
-pkgname=flatpak
-pkgver=1.7.2
-pkgrel=1
-pkgdesc="Linux application sandboxing and distribution framework (formerly xdg-app)"
-url="https://flatpak.org"
-arch=(x86_64)
-license=(LGPL2.1)
-depends=(dbus systemd glib2 libsoup polkit libxau ostree json-glib libseccomp libarchive
- python bubblewrap appstream-glib xdg-dbus-proxy)
-makedepends=(intltool gobject-introspection gtk-doc git docbook-xsl xmlto)
-checkdepends=(valgrind socat)
-_commit=bac2e705259faa9f7c05f097447d276369ab33b9 # tags/1.7.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"
- https://dl.flathub.org/repo/flathub.flatpakrepo
- flatpak-bindir.sh)
-sha256sums=('SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- '3371dd250e61d9e1633630073fefda153cd4426f72f4afa0c3373ae2e8fea03a'
- 'cf20e4831bceaaee74e9298b4ad7c4d2d51085d43f62d1c6a2d2977d2f421e00')
-
-prepare() {
- cd $pkgname
-
- git submodule init
- git config --local submodule.bubblewrap.url "$srcdir/bubblewrap"
- git config --local submodule.libglnx.url "$srcdir/libglnx"
- git config --local submodule.dbus-proxy.url "$srcdir/xdg-dbus-proxy"
- 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)
-
- cd $pkgname
- make DESTDIR="$pkgdir" install
- rm -rf "$pkgdir/usr/share/selinux"
-
- install -Dm644 "$srcdir/flatpak-bindir.sh" "$pkgdir/etc/profile.d/flatpak-bindir.sh"
- install -Dm644 "$srcdir/flathub.flatpakrepo" "$pkgdir/etc/flatpak/remotes.d/flathub.flatpakrepo"
-
- echo 'u flatpak - "Flatpak system helper"' |
- install -Dm644 /dev/stdin "$pkgdir/usr/lib/sysusers.d/flatpak.conf"
-
- # 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 390799, flatpak/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-07-03 17:02:42 UTC (rev 390800)
@@ -0,0 +1,86 @@
+# Maintainer: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=flatpak
+pkgver=1.8.1
+pkgrel=1
+pkgdesc="Linux application sandboxing and distribution framework (formerly xdg-app)"
+url="https://flatpak.org"
+arch=(x86_64)
+license=(LGPL2.1)
+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=2e9776f209e814e256dd7d42661d2455b6516d01 # tags/1.8.1^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"
+ https://dl.flathub.org/repo/flathub.flatpakrepo
+ flatpak-bindir.sh)
+sha256sums=('SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ '3371dd250e61d9e1633630073fefda153cd4426f72f4afa0c3373ae2e8fea03a'
+ 'cf20e4831bceaaee74e9298b4ad7c4d2d51085d43f62d1c6a2d2977d2f421e00')
+
+prepare() {
+ cd $pkgname
+
+ git submodule init
+ git config --local submodule.bubblewrap.url "$srcdir/bubblewrap"
+ git config --local submodule.libglnx.url "$srcdir/libglnx"
+ git config --local submodule.dbus-proxy.url "$srcdir/xdg-dbus-proxy"
+ 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)
+
+ cd $pkgname
+ make DESTDIR="$pkgdir" install
+ rm -rf "$pkgdir/usr/share/selinux"
+
+ install -Dm644 "$srcdir/flatpak-bindir.sh" "$pkgdir/etc/profile.d/flatpak-bindir.sh"
+ install -Dm644 "$srcdir/flathub.flatpakrepo" "$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 2020-07-03 17:02:25 UTC (rev 390799)
+++ flatpak-bindir.sh 2020-07-03 17:02:42 UTC (rev 390800)
@@ -1,7 +0,0 @@
-if [ -d "$HOME" ] && [ -d "$HOME/.local/share/flatpak/exports/bin" ]; then
- PATH="$PATH:$HOME/.local/share/flatpak/exports/bin"
-fi
-
-if [ -d /var/lib/flatpak/exports/bin ]; then
- PATH="$PATH:/var/lib/flatpak/exports/bin"
-fi
Copied: flatpak/repos/extra-x86_64/flatpak-bindir.sh (from rev 390799, flatpak/trunk/flatpak-bindir.sh)
===================================================================
--- flatpak-bindir.sh (rev 0)
+++ flatpak-bindir.sh 2020-07-03 17:02:42 UTC (rev 390800)
@@ -0,0 +1,7 @@
+if [ -d "$HOME" ] && [ -d "$HOME/.local/share/flatpak/exports/bin" ]; then
+ PATH="$PATH:$HOME/.local/share/flatpak/exports/bin"
+fi
+
+if [ -d /var/lib/flatpak/exports/bin ]; then
+ PATH="$PATH:/var/lib/flatpak/exports/bin"
+fi
More information about the arch-commits
mailing list