From c40ccbb8ab4cb9136da94237b3443ffcffeec373 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Sun, 9 Nov 2025 14:59:25 +0200 Subject: [PATCH] Switch to new download format, remove dependencies field from esvm service, enable manpages and tests --- pkg.info | 21 ++++++++++++++++++--- source-files/bluez.esv | 1 - source.sh | 19 ++++--------------- 3 files changed, 22 insertions(+), 19 deletions(-) diff --git a/pkg.info b/pkg.info index 419286b..948361f 100644 --- a/pkg.info +++ b/pkg.info @@ -1,9 +1,24 @@ name: bluez description: Official Linux Bluetooth protocol stack -version: 5.84 +version: "5.84" +revision: 2 url: https://www.bluez.org/ license: GPL2-or-later,LGPL2.1-or-later architecture: any -depends: ["alsa-lib","dbus","glib","glibc"] -make_depends: ["cups","json-c","libical"] 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 diff --git a/source-files/bluez.esv b/source-files/bluez.esv index 0c5fd93..bbf7be4 100644 --- a/source-files/bluez.esv +++ b/source-files/bluez.esv @@ -1,6 +1,5 @@ name: bluez description: Start the Simple Desktop Display Manager -dependencies: ["dbus"] type: background start_cmd: /etc/esvm/scripts/bluez.sh exit_method: kill diff --git a/source.sh b/source.sh index 5dd97d4..3de33a9 100644 --- a/source.sh +++ b/source.sh @@ -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 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 # This function is used to compile the source code 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 # This function is used to run tests to verify the package has been compiled correctly -#check() { - # Skipping test suite due to broken test - #make check -#} +check() { + make check +} # The package function is executed in the source directory # This function is used to move the compiled files into the output directory