Rebuild with dconf
This commit is contained in:
@@ -1,10 +1,28 @@
|
|||||||
name: libnma
|
name: libnma
|
||||||
description: NetworkManager GUI client library
|
description: NetworkManager GUI client library
|
||||||
version: 1.10.6
|
version: 1.10.6
|
||||||
revision: 2
|
revision: 3
|
||||||
url: https://gitlab.gnome.org/GNOME/libnma
|
url: https://gitlab.gnome.org/GNOME/libnma
|
||||||
license: GPL2-or-later,LGPL2.1-or-later
|
license: GPL2-or-later,LGPL2.1-or-later
|
||||||
|
maintainers:
|
||||||
|
- [email protected]
|
||||||
architecture: any
|
architecture: any
|
||||||
depends: ["gtk3","gtk4","gcr4","iso-codes","networkmanager","mobile-broadband-provider-info"]
|
|
||||||
make_depends: ["gobject-introspection","meson","vala"]
|
|
||||||
type: source
|
type: source
|
||||||
|
depends:
|
||||||
|
- dconf
|
||||||
|
- gtk3
|
||||||
|
- gtk4
|
||||||
|
- gcr4
|
||||||
|
- iso-codes
|
||||||
|
- networkmanager
|
||||||
|
- mobile-broadband-provider-info
|
||||||
|
make_depends:
|
||||||
|
- gobject-introspection
|
||||||
|
- gtk-doc
|
||||||
|
- meson
|
||||||
|
- vala
|
||||||
|
downloads:
|
||||||
|
- url: https://gitlab.gnome.org/GNOME/libnma/-/archive/${BPM_PKG_VERSION}/libnma-${BPM_PKG_VERSION}.tar.gz
|
||||||
|
extract_to: ${BPM_SOURCE}
|
||||||
|
extract_strip_components: 1
|
||||||
|
checksum: c88fd3408c4ff166b06179b5ce5186e08a57b64eb8c9b22e055ca0dbc5e8002b
|
||||||
|
|||||||
@@ -2,40 +2,23 @@
|
|||||||
# 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://gitlab.gnome.org/GNOME/libnma/-/archive/${BPM_PKG_VERSION}/libnma-${BPM_PKG_VERSION}.tar.gz"
|
|
||||||
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() {
|
||||||
mkdir build
|
meson setup build --prefix=/usr -Dlibnma_gtk4=true
|
||||||
cd build
|
meson compile -C build
|
||||||
|
|
||||||
meson setup --prefix=/usr --buildtype=release -Dgtk_doc=false -Dlibnma_gtk4=true
|
|
||||||
meson compile
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# The check function is executed in the source directory
|
# The check function is executed in the source directory
|
||||||
# This function is used to run tests to verify the package has been compiled correctly
|
# This function is used to run tests to verify the package has been compiled correctly
|
||||||
check() {
|
check() {
|
||||||
cd build
|
meson test -C build
|
||||||
|
|
||||||
meson test
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# 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"
|
||||||
|
|
||||||
meson install --destdir="$BPM_OUTPUT"
|
|
||||||
|
|
||||||
# Install package license
|
# Install package license
|
||||||
install -Dm644 "$BPM_SOURCE"/COPYING{,.LGPL} -t "$BPM_OUTPUT"/usr/share/licenses/libnma/
|
install -Dm644 "$BPM_SOURCE"/COPYING{,.LGPL} -t "$BPM_OUTPUT"/usr/share/licenses/libnma/
|
||||||
|
|||||||
Reference in New Issue
Block a user