Switch to new download format, remove dependencies field from esvm service, enable manpages and tests

This commit is contained in:
2025-11-09 14:59:25 +02:00
parent d16a18f4be
commit c40ccbb8ab
3 changed files with 22 additions and 19 deletions
+18 -3
View File
@@ -1,9 +1,24 @@
name: bluez name: bluez
description: Official Linux Bluetooth protocol stack description: Official Linux Bluetooth protocol stack
version: 5.84 version: "5.84"
revision: 2
url: https://www.bluez.org/ url: https://www.bluez.org/
license: GPL2-or-later,LGPL2.1-or-later license: GPL2-or-later,LGPL2.1-or-later
architecture: any architecture: any
depends: ["alsa-lib","dbus","glib","glibc"]
make_depends: ["cups","json-c","libical"]
type: source type: source
depends:
- alsa-lib
- dbus
- glib
- glibc
make_depends:
- cups
- json-c
- libical
- python-docutils
- python-pygments
downloads:
- url: https://www.kernel.org/pub/linux/bluetooth/bluez-${BPM_PKG_VERSION}.tar.xz
extract_to: ${BPM_SOURCE}
extract_strip_components: 1
checksum: 5ba73d030f7b00087d67800b0e321601aec0f892827c72e5a2c8390d8c886b11
-1
View File
@@ -1,6 +1,5 @@
name: bluez name: bluez
description: Start the Simple Desktop Display Manager description: Start the Simple Desktop Display Manager
dependencies: ["dbus"]
type: background type: background
start_cmd: /etc/esvm/scripts/bluez.sh start_cmd: /etc/esvm/scripts/bluez.sh
exit_method: kill exit_method: kill
+4 -15
View File
@@ -2,28 +2,17 @@
# 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://www.kernel.org/pub/linux/bluetooth/bluez-${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 # 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() {
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --enable-library --disable-manpages --disable-systemd ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --enable-library --disable-systemd
} }
# 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() {
# Skipping test suite due to broken test make check
#make check }
#}
# 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