Rebuild with dconf

This commit is contained in:
2026-05-21 19:31:32 +03:00
parent 21e7f87223
commit 1656124be5
2 changed files with 6 additions and 9 deletions
+3 -2
View File
@@ -1,7 +1,7 @@
name: gsettings-desktop-schemas name: gsettings-desktop-schemas
description: GSettings schemas for GNOME desktop components description: GSettings schemas for GNOME desktop components
version: "50.1" version: "50.1"
revision: 1 revision: 2
url: https://gitlab.gnome.org/GNOME/gsettings-desktop-schemas url: https://gitlab.gnome.org/GNOME/gsettings-desktop-schemas
license: LGPL2.1-or-later license: LGPL2.1-or-later
maintainers: maintainers:
@@ -9,11 +9,12 @@ maintainers:
architecture: any architecture: any
output_architecture: any output_architecture: any
type: source type: source
depends:
- dconf
make_depends: make_depends:
- glib - glib
- gobject-introspection - gobject-introspection
- meson - meson
- python-setuptools
downloads: downloads:
- url: https://download.gnome.org/sources/gsettings-desktop-schemas/${BPM_PKG_VERSION%.*}/gsettings-desktop-schemas-${BPM_PKG_VERSION}.tar.xz - url: https://download.gnome.org/sources/gsettings-desktop-schemas/${BPM_PKG_VERSION%.*}/gsettings-desktop-schemas-${BPM_PKG_VERSION}.tar.xz
extract_to: ${BPM_SOURCE} extract_to: ${BPM_SOURCE}
+3 -7
View File
@@ -5,18 +5,14 @@
# 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() {
mkdir build meson setup build --prefix=/usr --libdir=/usr/lib
cd build
meson setup --prefix=/usr --libdir=/usr/lib --buildtype=release ..
} }
# The package function is executed in the source directory # The package function is executed in the source directory
# This function is used to move the compiled files into the output directory # This function is used to move the compiled files into the output directory
package() { package() {
cd build meson install -C build --destdir="$BPM_OUTPUT"
DESTDIR="$BPM_OUTPUT" ninja install
glib-compile-schemas "$BPM_OUTPUT"/usr/share/glib-2.0/schemas
# Install package license
install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/gsettings-desktop-schemas/COPYING install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/gsettings-desktop-schemas/COPYING
} }