Rebuild with dconf
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
name: gsettings-desktop-schemas
|
||||
description: GSettings schemas for GNOME desktop components
|
||||
version: "50.1"
|
||||
revision: 1
|
||||
revision: 2
|
||||
url: https://gitlab.gnome.org/GNOME/gsettings-desktop-schemas
|
||||
license: LGPL2.1-or-later
|
||||
maintainers:
|
||||
@@ -9,11 +9,12 @@ maintainers:
|
||||
architecture: any
|
||||
output_architecture: any
|
||||
type: source
|
||||
depends:
|
||||
- dconf
|
||||
make_depends:
|
||||
- glib
|
||||
- gobject-introspection
|
||||
- meson
|
||||
- python-setuptools
|
||||
downloads:
|
||||
- url: https://download.gnome.org/sources/gsettings-desktop-schemas/${BPM_PKG_VERSION%.*}/gsettings-desktop-schemas-${BPM_PKG_VERSION}.tar.xz
|
||||
extract_to: ${BPM_SOURCE}
|
||||
|
||||
@@ -5,18 +5,14 @@
|
||||
# The build function is executed in the source directory
|
||||
# This function is used to compile the source code
|
||||
build() {
|
||||
mkdir build
|
||||
cd build
|
||||
|
||||
meson setup --prefix=/usr --libdir=/usr/lib --buildtype=release ..
|
||||
meson setup build --prefix=/usr --libdir=/usr/lib
|
||||
}
|
||||
|
||||
# The package function is executed in the source directory
|
||||
# This function is used to move the compiled files into the output directory
|
||||
package() {
|
||||
cd build
|
||||
DESTDIR="$BPM_OUTPUT" ninja install
|
||||
glib-compile-schemas "$BPM_OUTPUT"/usr/share/glib-2.0/schemas
|
||||
meson install -C build --destdir="$BPM_OUTPUT"
|
||||
|
||||
# Install package license
|
||||
install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/gsettings-desktop-schemas/COPYING
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user