diff options
Diffstat (limited to 'libraries/libportal')
-rw-r--r-- | libraries/libportal/README | 5 | ||||
-rw-r--r-- | libraries/libportal/libportal.SlackBuild | 11 | ||||
-rw-r--r-- | libraries/libportal/libportal.info | 6 |
3 files changed, 12 insertions, 10 deletions
diff --git a/libraries/libportal/README b/libraries/libportal/README index dd82fd2632..543f49c0dd 100644 --- a/libraries/libportal/README +++ b/libraries/libportal/README @@ -1,3 +1,8 @@ libportal provides GIO-style async APIs for most Flatpak portals. To build the API docs the optional dependency gi-docgen is required. +qt6 is another optional dependency. + +NOTE: +0.8.1 it's the last version compatible iwht Slackware 15.0, as newer +ones will need a newer glib2 than this platform provides. diff --git a/libraries/libportal/libportal.SlackBuild b/libraries/libportal/libportal.SlackBuild index 0310533eb3..311f981efa 100644 --- a/libraries/libportal/libportal.SlackBuild +++ b/libraries/libportal/libportal.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for libportal -# Copyright 2020-2023 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy +# Copyright 2020-2025 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libportal -VERSION=${VERSION:-0.6} +VERSION=${VERSION:-0.8.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -38,9 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -83,8 +80,8 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -patch -p1 < $CWD/0.6-backports.patch -sed -i "s|get_option('datadir') / 'doc'|get_option('prefix') / 'doc'|" doc/meson.build +sed -i "s|get_option('datadir') / 'doc'|get_option('prefix') / 'doc'|" doc/meson.build || exit 1 +export PATH=/usr/lib$LIBDIRSUFFIX/qt6/libexec:$PATH mkdir build cd build diff --git a/libraries/libportal/libportal.info b/libraries/libportal/libportal.info index c62c759a22..74cf98d3c5 100644 --- a/libraries/libportal/libportal.info +++ b/libraries/libportal/libportal.info @@ -1,8 +1,8 @@ PRGNAM="libportal" -VERSION="0.6" +VERSION="0.8.1" HOMEPAGE="https://github.com/flatpak/libportal" -DOWNLOAD="https://github.com/flatpak/libportal/releases/download/0.6/libportal-0.6.tar.xz" -MD5SUM="e16c8ca2621aff64774a1d2ad6a2a346" +DOWNLOAD="https://github.com/flatpak/libportal/releases/download/0.8.1/libportal-0.8.1.tar.xz" +MD5SUM="3226036adea29ce152d9ca0be5ab0486" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |