Compare commits
19
Commits
9fa2757110
..
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8b6a692842
|
||
|
|
a1e858d23b
|
||
|
|
0532e21659
|
||
|
|
46a91ce5e3
|
||
|
|
3e21cdbd83
|
||
|
|
ce8b964ff6
|
||
|
|
6d20c92b8b
|
||
|
|
25ccb80cc3
|
||
|
|
afcfc3a9ec
|
||
|
|
43b9282b58
|
||
|
|
3dd2b2339b
|
||
|
|
8cc8d38474
|
||
|
|
e9c40bf92f
|
||
|
|
ad04ae2f6b
|
||
|
|
65a7f7000f
|
||
|
|
31116b741b
|
||
|
|
e7b7e21f5f
|
||
|
|
aeba4cd58e
|
||
|
|
07ea5efc14
|
@@ -0,0 +1,3 @@
|
||||
# Ignore BPM archives and signatures
|
||||
*.bpm
|
||||
*.bpm.sig
|
||||
+1
-1
@@ -7,7 +7,7 @@ REPO="GNOME/glib"
|
||||
REPO=$(echo "$REPO" | sed 's|/|%2F|g')
|
||||
|
||||
# Get tag name using Gitlab Rest API
|
||||
TAG_NAME=$(curl -s -L https://gitlab.gnome.org/api/v4/projects/"$REPO"/releases/permalink/latest | jq -r '.tag_name')
|
||||
TAG_NAME=$(curl -s -L https://gitlab.gnome.org/api/v4/projects/"$REPO"/releases | jq -r '.[].tag_name' | sort -V | tail -n1)
|
||||
|
||||
# Trim 'v' character in TAG_NAME variable
|
||||
VERSION=$(echo "$TAG_NAME" | tr -d 'v')
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
name: glib
|
||||
description: Low-level core library
|
||||
version: 2.90.0
|
||||
revision: 1
|
||||
url: https://gitlab.gnome.org/GNOME/glib
|
||||
license: LGPL2.1-or-later
|
||||
maintainers:
|
||||
- [email protected]
|
||||
architecture: any
|
||||
type: source
|
||||
depends:
|
||||
- bash
|
||||
- glibc
|
||||
- libffi
|
||||
- pcre2
|
||||
- util-linux
|
||||
- zlib
|
||||
make_depends:
|
||||
- dbus
|
||||
- gettext
|
||||
- gi-docgen
|
||||
- gobject-introspection
|
||||
- libelf
|
||||
- meson
|
||||
- python3=3.14.*
|
||||
- python-docutils
|
||||
- python-packaging
|
||||
- shared-mime-info
|
||||
downloads:
|
||||
- url: https://download.gnome.org/sources/glib/${BPM_PKG_VERSION%.*}/glib-${BPM_PKG_VERSION}.tar.xz
|
||||
extract_to: ${BPM_SOURCE}
|
||||
extract_strip_components: 1
|
||||
checksum: 17d15cac2af80a33271127408e0abc2748eb297c595c2a26409e81e14e7d1b8f
|
||||
@@ -1,24 +0,0 @@
|
||||
name: glib
|
||||
description: Low-level core library
|
||||
version: 2.86.1
|
||||
revision: 1
|
||||
url: https://gitlab.gnome.org/GNOME/glib
|
||||
license: LGPL2.1-or-later
|
||||
architecture: any
|
||||
type: source
|
||||
depends:
|
||||
- bash
|
||||
- glibc
|
||||
- libffi
|
||||
- pcre2
|
||||
- util-linux
|
||||
- zlib
|
||||
make_depends:
|
||||
- dbus
|
||||
- gettext
|
||||
- gobject-introspection
|
||||
- libelf
|
||||
- meson
|
||||
- python3
|
||||
- python-packaging
|
||||
- shared-mime-info
|
||||
+2
-12
@@ -1,21 +1,11 @@
|
||||
# This is the source.sh script. It is executed by BPM in a temporary directory when compiling a source package
|
||||
# This is the recipe.sh script. It is executed by BPM in a temporary directory when compiling a source package
|
||||
# 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
|
||||
|
||||
DOWNLOAD="https://download.gnome.org/sources/glib/${BPM_PKG_VERSION%.*}/glib-${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
|
||||
# This function is used to compile the source code
|
||||
build() {
|
||||
meson setup --prefix=/usr --libdir=/usr/lib --buildtype=release build
|
||||
meson setup --prefix=/usr --libdir=/usr/lib --buildtype=release -Ddocumentation=true build
|
||||
meson compile -C build
|
||||
}
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
trigger_operations: ["install", "upgrade", "remove"]
|
||||
target_type: "path"
|
||||
trigger_actions: ["install", "upgrade", "remove"]
|
||||
targets: ["usr/lib/gio/modules/*.so"]
|
||||
depends: ["glib"]
|
||||
run: "/usr/bin/gio-querymodules /usr/lib/gio/modules"
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
trigger_operations: ["install", "upgrade", "remove"]
|
||||
target_type: "path"
|
||||
trigger_actions: ["install", "upgrade", "remove"]
|
||||
targets: ["usr/share/glib-2.0/schemas/*.xml","usr/share/glib-2.0/schemas/*.override"]
|
||||
depends: ["glib"]
|
||||
run: "/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas"
|
||||
|
||||
Reference in New Issue
Block a user