Rebuild with dconf

This commit is contained in:
2026-05-21 19:15:45 +03:00
parent 90efe3be4c
commit 4ff85e7881
2 changed files with 33 additions and 13 deletions
+27 -2
View File
@@ -1,9 +1,34 @@
name: gcr name: gcr
description: A library for bits of crypto UI and parsing description: A library for bits of crypto UI and parsing
version: 3.41.2 version: 3.41.2
revision: 2
url: https://gitlab.gnome.org/GNOME/gcr url: https://gitlab.gnome.org/GNOME/gcr
license: LGPL2.1-or-later license: LGPL2.1-or-later
maintainers:
- [email protected]
architecture: any 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 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
+6 -11
View File
@@ -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 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 # 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 # The build function is executed in the source directory
# This function is used to compile the source code # This function is used to compile the source code
build() { 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 meson compile -C build
} }
@@ -30,5 +24,6 @@ check() {
package() { package() {
meson install -C build --destdir="$BPM_OUTPUT" meson install -C build --destdir="$BPM_OUTPUT"
# Install package license
install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/gcr/COPYING install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/gcr/COPYING
} }