From 5c367fc9a8ce0bbb0b70b86a6763b41747ccc47d Mon Sep 17 00:00:00 2001 From: EnumDev Date: Wed, 1 Oct 2025 13:28:54 +0300 Subject: [PATCH] Add dnsmasq optional dependency and switch to new download format --- pkg.info | 22 +++++++++++++++++++--- source.sh | 10 ---------- 2 files changed, 19 insertions(+), 13 deletions(-) diff --git a/pkg.info b/pkg.info index 520c8ca..c307c49 100644 --- a/pkg.info +++ b/pkg.info @@ -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 diff --git a/source.sh b/source.sh index 135b47f..5947e43 100644 --- a/source.sh +++ b/source.sh @@ -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() {