From 4ff85e7881d43101afd2acc3c8882341705b3020 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Thu, 21 May 2026 19:15:45 +0300 Subject: [PATCH] Rebuild with dconf --- pkg.info | 29 +++++++++++++++++++++++++++-- source.sh | 17 ++++++----------- 2 files changed, 33 insertions(+), 13 deletions(-) diff --git a/pkg.info b/pkg.info index 65a128c..61139cf 100644 --- a/pkg.info +++ b/pkg.info @@ -1,9 +1,34 @@ name: gcr description: A library for bits of crypto UI and parsing version: 3.41.2 +revision: 2 url: https://gitlab.gnome.org/GNOME/gcr license: LGPL2.1-or-later +maintainers: + - enumdev@enumerated.dev architecture: any -depends: ["cairo","gdk-pixbuf","glib","glibc","gtk3","hicolor-icon-theme","libgcrypt","p11-kit","libsecret","openssh","pango"] -make_depends: ["gobject-introspection","libxslt","meson","vala"] type: source +depends: + - cairo + - dconf + - gdk-pixbuf + - glib + - glibc + - gtk3 + - hicolor-icon-theme + - libgcrypt + - p11-kit + - libsecret + - openssh + - pango +make_depends: + - gi-docgen + - gobject-introspection + - libxslt + - meson + - vala +downloads: + - url: https://download.gnome.org/sources/gcr/${BPM_PKG_VERSION%.*}/gcr-${BPM_PKG_VERSION}.tar.xz + extract_to: ${BPM_SOURCE} + extract_strip_components: 1 + checksum: bad10f3c553a0e1854649ab59c5b2434da22ca1a54ae6138f1f53961567e1ab7 diff --git a/source.sh b/source.sh index 200d12c..f86e4b7 100644 --- a/source.sh +++ b/source.sh @@ -2,20 +2,14 @@ # 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://download.gnome.org/sources/gcr/${BPM_PKG_VERSION%.*}/gcr-${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() { - meson setup --prefix=/usr --libdir=/usr/lib --buildtype=release -Dssh_agent=false -Dgtk_doc=false build + meson setup --prefix=/usr \ + --libdir=/usr/lib \ + -Dsystemd=disabled \ + -Dssh_agent=false \ + build meson compile -C build } @@ -30,5 +24,6 @@ check() { package() { meson install -C build --destdir="$BPM_OUTPUT" + # Install package license install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/gcr/COPYING }