Switch to new download format and update dependencies
This commit is contained in:
@@ -1,10 +1,25 @@
|
|||||||
name: libgudev
|
name: libgudev
|
||||||
description: GObject bindings for libudev
|
description: GObject bindings for libudev
|
||||||
version: 238
|
version: "238"
|
||||||
revision: 2
|
revision: 3
|
||||||
url: https://wiki.gnome.org/Projects/libgudev
|
url: https://wiki.gnome.org/Projects/libgudev
|
||||||
license: LGPL2.1
|
license: LGPL2.1
|
||||||
architecture: any
|
architecture: any
|
||||||
depends: ["gcc-libs","glib","glibc","udev"]
|
|
||||||
make_depends: ["gobject-introspection","meson","vala"]
|
|
||||||
type: source
|
type: source
|
||||||
|
depends:
|
||||||
|
- gcc-libs
|
||||||
|
- glib
|
||||||
|
- glibc
|
||||||
|
- libudev
|
||||||
|
make_depends:
|
||||||
|
- gobject-introspection
|
||||||
|
- gtk-doc
|
||||||
|
- meson
|
||||||
|
- udev
|
||||||
|
- umockdev
|
||||||
|
- vala
|
||||||
|
downloads:
|
||||||
|
- url: https://download.gnome.org/sources/libgudev/${BPM_PKG_VERSION}/libgudev-${BPM_PKG_VERSION}.tar.xz
|
||||||
|
extract_to: ${BPM_SOURCE}
|
||||||
|
extract_strip_components: 1
|
||||||
|
checksum: 61266ab1afc9d73dbc60a8b2af73e99d2fdff47d99544d085760e4fa667b5dd1
|
||||||
|
|||||||
@@ -2,16 +2,6 @@
|
|||||||
# 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/libgudev/-/archive/${BPM_PKG_VERSION}/libgudev-${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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user