ports/contrib (3.6): libportal: 0.4 -> 0.5
commit aebecc14181925651e9671233afef52132a69861 Author: Tim Biermann <tbier@posteo.de> Date: Mon Jan 3 11:38:23 2022 +0100 libportal: 0.4 -> 0.5 diff --git a/libportal/.footprint b/libportal/.footprint index fd2596fb9..4941a6af2 100644 --- a/libportal/.footprint +++ b/libportal/.footprint @@ -6,26 +6,38 @@ drwxr-xr-x root/root usr/include/libportal/ -rw-r--r-- root/root usr/include/libportal/camera.h -rw-r--r-- root/root usr/include/libportal/email.h -rw-r--r-- root/root usr/include/libportal/filechooser.h +drwxr-xr-x root/root usr/include/libportal-gtk3/ +-rw-r--r-- root/root usr/include/libportal-gtk3/portal-gtk3.h -rw-r--r-- root/root usr/include/libportal/inhibit.h -rw-r--r-- root/root usr/include/libportal/location.h -rw-r--r-- root/root usr/include/libportal/notification.h -rw-r--r-- root/root usr/include/libportal/openuri.h +-rw-r--r-- root/root usr/include/libportal/parent.h -rw-r--r-- root/root usr/include/libportal/portal-enums.h --rw-r--r-- root/root usr/include/libportal/portal-gtk3.h --rw-r--r-- root/root usr/include/libportal/portal-gtk4.h --rw-r--r-- root/root usr/include/libportal/portal-helpers.h --rw-r--r-- root/root usr/include/libportal/portal-qt5.h -rw-r--r-- root/root usr/include/libportal/portal.h +-rw-r--r-- root/root usr/include/libportal/portal-helpers.h -rw-r--r-- root/root usr/include/libportal/print.h -rw-r--r-- root/root usr/include/libportal/remote.h -rw-r--r-- root/root usr/include/libportal/screenshot.h -rw-r--r-- root/root usr/include/libportal/spawn.h -rw-r--r-- root/root usr/include/libportal/trash.h +-rw-r--r-- root/root usr/include/libportal/types.h -rw-r--r-- root/root usr/include/libportal/updates.h -rw-r--r-- root/root usr/include/libportal/wallpaper.h drwxr-xr-x root/root usr/lib/ -lrwxrwxrwx root/root usr/lib/libportal.so -> libportal.so.0 -lrwxrwxrwx root/root usr/lib/libportal.so.0 -> libportal.so.0.0.1 --rwxr-xr-x root/root usr/lib/libportal.so.0.0.1 +drwxr-xr-x root/root usr/lib/girepository-1.0/ +-rw-r--r-- root/root usr/lib/girepository-1.0/Xdp-1.0.typelib +-rw-r--r-- root/root usr/lib/girepository-1.0/XdpGtk3-1.0.typelib +-rwxr-xr-x root/root usr/lib/libportal-gtk3.so.1.0.0 +lrwxrwxrwx root/root usr/lib/libportal-gtk3.so.1 -> libportal-gtk3.so.1.0.0 +lrwxrwxrwx root/root usr/lib/libportal-gtk3.so -> libportal-gtk3.so.1 +-rwxr-xr-x root/root usr/lib/libportal.so.1.0.0 +lrwxrwxrwx root/root usr/lib/libportal.so.1 -> libportal.so.1.0.0 +lrwxrwxrwx root/root usr/lib/libportal.so -> libportal.so.1 drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/libportal-gtk3.pc -rw-r--r-- root/root usr/lib/pkgconfig/libportal.pc +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/gir-1.0/ +-rw-r--r-- root/root usr/share/gir-1.0/Xdp-1.0.gir +-rw-r--r-- root/root usr/share/gir-1.0/XdpGtk3-1.0.gir diff --git a/libportal/.signature b/libportal/.signature index 00860c9a6..803e85117 100644 --- a/libportal/.signature +++ b/libportal/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF36cZKEsgp/lghb9eQemtae0yVZDRAoaMwHRtwW3BMpD51SJrAxk+9JO8jFttzLA0tl99DBXXjUDj1emL9AqcagE= -SHA256 (Pkgfile) = 91d7c2624e80212cf5a7f87fd3f1febe63455df948160826586023fd6b20dd89 -SHA256 (.footprint) = c88738bdab5c6abc8ae98889945ac7e2f8277692b43909f64f039b65338d8835 -SHA256 (libportal-0.4.tar.xz) = 3cd5f50907831cf236b40aa14c5a14ccbbf08828cecb3286efa82ce03cacef28 +RWSagIOpLGJF3278OTw3OxPK3lJf86YkbPeovfTD3cPToEoDpHwlQ5beoniLUQeTvYOeWuQmQ+BA18gFtnsbq2U/V/fEBAZBFAg= +SHA256 (Pkgfile) = 2164d1e12704b4b9f62c3f5ed46befe78ca8b7b0f12fe4c12beb84f377ed5a8a +SHA256 (.footprint) = 3d1681ac9460cea46813c3b8502dadddb193374b25508c1de949af55a6d66d83 +SHA256 (libportal-0.5.tar.xz) = d8c8cb18a34e5eeb26a39c94044c955995b01de0e139caac5e18c076cf821b3b diff --git a/libportal/Pkgfile b/libportal/Pkgfile index a7e6c434e..09e7d47c5 100644 --- a/libportal/Pkgfile +++ b/libportal/Pkgfile @@ -1,19 +1,28 @@ # Description: libportal provides GIO-style async APIs for most Flatpak portals. # URL: https://github.com/flatpak/libportal # Maintainer: Tim Biermann, tbier at posteo dot de -# Depends on: glib +# Depends on: glib gtk3 +# Optional: gtk4 qt5 gobject-introspection vala name=libportal -version=0.4 +version=0.5 release=1 source=(https://github.com/flatpak/libportal/releases/download/$version/$name-$versi...) build() { - meson setup $name-$version build \ + prt-get isinst gtk4 && LIBPORTAL_BACKENDS+=',gtk4' + prt-get isinst qt5 && LIBPORTAL_BACKENDS+=',qt5' + prt-get isinst gobject-introspection || PKGMK_LIBPORTAL+=' -D introspection=false' + prt-get isinst vala || PKGMK_LIBPORTAL+=' -D vapi=false' + + meson setup $name-$version build $PKGMK_LIBPORTAL \ --prefix=/usr \ --buildtype=plain \ - -D gtk_doc=false \ - -D b_ndebug=true + --wrap-mode nodownload \ + -D b_lto=true \ + -D b_pie=true \ + -D docs=false \ + -D backends=gtk3$LIBPORTAL_BACKENDS meson compile -C build DESTDIR=$PKG meson install -C build }
participants (1)
-
crux@crux.nu