Add dnsmasq optional dependency and switch to new download format
This commit is contained in:
@@ -1,10 +1,26 @@
|
|||||||
name: blueman
|
name: blueman
|
||||||
description: Blueman is a GTK+ Bluetooth Manager
|
description: Blueman is a GTK+ Bluetooth Manager
|
||||||
version: 2.4.6
|
version: 2.4.6
|
||||||
|
revision: 2
|
||||||
url: https://github.com/blueman-project/blueman
|
url: https://github.com/blueman-project/blueman
|
||||||
license: GPL3-or-later
|
license: GPL3-or-later
|
||||||
architecture: any
|
architecture: any
|
||||||
depends: ["bluez","gtk3","python-pycairo","python-pygobject"]
|
|
||||||
optional_depends: ["iproute2","libpulse"]
|
|
||||||
make_depends: ["python-cython","intltool","iproute2"]
|
|
||||||
type: source
|
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
|
||||||
|
|||||||
@@ -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 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://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
|
# 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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user