Initial Commit

This commit is contained in:
2025-10-11 16:08:27 +03:00
commit 60cb6307d8
4 changed files with 58 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
# Exclude bpm archives
*.bpm
+4
View File
@@ -0,0 +1,4 @@
#!/bin/sh
# Ignore this package
echo "ignore"
+27
View File
@@ -0,0 +1,27 @@
name: libsoup2
description: HTTP client/server library for GNOME
version: 2.74.3
revision: 1
url: https://wiki.gnome.org/Projects/libsoup
license: LGPL2.1-or-later
architecture: any
type: source
depends:
- brotli
- glib-networking
- glib
- glibc
- krb5
- libpsl
- libxml2
- sqlite
- zlib
make_depends:
- gobject-introspection
- meson
- vala
downloads:
- url: https://gitlab.gnome.org/GNOME/libsoup/-/archive/${BPM_PKG_VERSION}/libsoup-${BPM_PKG_VERSION}.tar.gz
extract_to: ${BPM_SOURCE}
extract_strip_components: 1
checksum: 2e7a1313c2223c7e70cda90a8c02c679ab2bf3935c07b5bb028a9b5550411b96
+25
View File
@@ -0,0 +1,25 @@
# This is the source.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
# The build function is executed in the source directory
# This function is used to compile the source code
build() {
meson setup build --prefix=/usr
meson compile -C build
}
# The check function is executed in the source directory
# This function is used to run tests to verify the package has been compiled correctly
check() {
meson test -C build --print-errorlogs
}
# The package function is executed in the source directory
# This function is used to move the compiled files into the output directory
package() {
meson install -C build --destdir="$BPM_OUTPUT"
# Install package license
install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/libsoup2/COPYING
}