diff --git a/pkg.info b/pkg.info index 11d4798..8f28a2e 100644 --- a/pkg.info +++ b/pkg.info @@ -1,10 +1,31 @@ name: xdg-desktop-portal description: A portal frontend service for Flatpak and other desktop containment frameworks version: 1.20.3 +revision: 2 url: https://flatpak.github.io/xdg-desktop-portal/ license: LGPL2.1-or-later architecture: any -depends: ["fuse3", "gcc-libs", "gdk-pixbuf", "glib", "glibc", "gstreamer", "json-glib", "pipewire"] -optional_depends: ["xdg-desktop-portal-implementation"] -make_depends: ["docbook-xsl-nons", "flatpak", "meson", "python-setuptools", "xmlto"] type: source +depends: + - fuse3 + - gcc-libs + - gdk-pixbuf + - glib + - glibc + - gstreamer + - json-glib + - pipewire + - rtkit +optional_depends: + - xdg-desktop-portal-implementation +make_depends: + - docbook-xsl-nons + - flatpak + - meson + - python-setuptools + - xmlto +downloads: + - url: https://github.com/flatpak/xdg-desktop-portal/releases/download/${BPM_PKG_VERSION}/xdg-desktop-portal-${BPM_PKG_VERSION}.tar.xz + extract_to: ${BPM_SOURCE} + extract_strip_components: 1 + checksum: 4bfb164937f59107eb1a3cc21abaa948d903c76f3b99fac210cea38ce1da9edc diff --git a/source.sh b/source.sh index 2a2eb08..5f80388 100644 --- a/source.sh +++ b/source.sh @@ -2,16 +2,6 @@ # BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE # BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT -DOWNLOAD="https://github.com/flatpak/xdg-desktop-portal/releases/download/${BPM_PKG_VERSION}/xdg-desktop-portal-${BPM_PKG_VERSION}.tar.xz" -FILENAME="${DOWNLOAD##*/}" - -# The prepare function is executed in the root of the temp directory -# This function is used for downloading files and putting them into the correct location -prepare() { - wget "$DOWNLOAD" - tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE" -} - # The build function is executed in the source directory # This function is used to compile the source code build() {