Add dnsmasq optional dependency and switch to new download format

This commit is contained in:
2025-10-01 13:28:54 +03:00
parent f7ff2e3cf2
commit 5c367fc9a8
2 changed files with 19 additions and 13 deletions
+19 -3
View File
@@ -1,10 +1,26 @@
name: blueman
description: Blueman is a GTK+ Bluetooth Manager
version: 2.4.6
revision: 2
url: https://github.com/blueman-project/blueman
license: GPL3-or-later
architecture: any
depends: ["bluez","gtk3","python-pycairo","python-pygobject"]
optional_depends: ["iproute2","libpulse"]
make_depends: ["python-cython","intltool","iproute2"]
type: source
depends:
- bluez
- gtk3
- python-pycairo
- python-pygobject
optional_depends:
- dnsmasq
- iproute2
- libpulse
make_depends:
- python-cython
- intltool
- iproute2
downloads:
- url: https://github.com/blueman-project/blueman/releases/download/${BPM_PKG_VERSION}/blueman-${BPM_PKG_VERSION}.tar.gz
extract_to_bpm_source: true
extract_strip_components: 1
checksum: a88c7fd1aaf7a3225947bf823542cf51e4b9197217bd77a16e70b8a7dc394b65
-10
View File
@@ -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 output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
DOWNLOAD="https://github.com/blueman-project/blueman/releases/download/${BPM_PKG_VERSION}/blueman-${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
# This function is used to compile the source code
build() {