Patches for aports can be sent to this list

1

[alpine-aports] [PATCH] main/bluez: enable bluetooth mesh support

Ricardo Salveti
Details
Message ID
<1505880135-4273-1-git-send-email-rsalveti@rsalveti.net>
Sender timestamp
1505880135
DKIM signature
missing
Download raw message
Patch: +3 -2
Build and install 'meshctl', which can be used to provision and
interact with Bluetooth Mesh networks. json-c-dev was added to
makedepends, as it is required by meshctl.

Signed-off-by: Ricardo Salveti <rsalveti@rsalveti.net>
---
 main/bluez/APKBUILD | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/main/bluez/APKBUILD b/main/bluez/APKBUILD
index dc4fd98036..d6c5a75d5f 100644
--- a/main/bluez/APKBUILD
+++ b/main/bluez/APKBUILD
@@ -1,14 +1,14 @@
 # Maintainer: Natanael Copa <ncopa@alpinelinux.org>
 pkgname=bluez
 pkgver=5.47
-pkgrel=0
+pkgrel=1
 pkgdesc="Tools for the Bluetooth protocol stack"
 url="http://www.bluez.org/"
 arch="all"
 license="GPL2+"
 depends="consolekit2 dbus"
 replaces="udev"
-makedepends="dbus-dev libusb-compat-dev eudev-dev
+makedepends="dbus-dev libusb-compat-dev eudev-dev json-c-dev
 	libical-dev readline-dev glib-dev linux-headers
 	autoconf automake libtool"
 subpackages="$pkgname-dev $pkgname-doc $pkgname-libs $pkgname-cups
@@ -38,6 +38,7 @@ build() {
 		--disable-systemd \
 		--enable-library \
 		--enable-deprecated \
+		--enable-mesh \
 		|| return 1
 	make || return 1
 }
-- 
2.14.1



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---
Natanael Copa
Details
Message ID
<20170920094210.0369d259@ncopa-desktop.copa.dup.pw>
In-Reply-To
<1505880135-4273-1-git-send-email-rsalveti@rsalveti.net> (view parent)
Sender timestamp
1505893330
DKIM signature
missing
Download raw message
On Wed, 20 Sep 2017 01:02:15 -0300
Ricardo Salveti <rsalveti@rsalveti.net> wrote:

> Build and install 'meshctl', which can be used to provision and
> interact with Bluetooth Mesh networks. json-c-dev was added to
> makedepends, as it is required by meshctl.

I applied this and splitted up the package a bit so meshctl is provided
via subpackage (bluez-meshctl).

I also moved obexd, btmon and bccmd into their own subpackages. Totally
the main bluez package went down from 3MB to 1.6MB.

Thank you!

-nc


> Signed-off-by: Ricardo Salveti <rsalveti@rsalveti.net>
> ---
>  main/bluez/APKBUILD | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/main/bluez/APKBUILD b/main/bluez/APKBUILD
> index dc4fd98036..d6c5a75d5f 100644
> --- a/main/bluez/APKBUILD
> +++ b/main/bluez/APKBUILD
> @@ -1,14 +1,14 @@
>  # Maintainer: Natanael Copa <ncopa@alpinelinux.org>
>  pkgname=bluez
>  pkgver=5.47
> -pkgrel=0
> +pkgrel=1
>  pkgdesc="Tools for the Bluetooth protocol stack"
>  url="http://www.bluez.org/"
>  arch="all"
>  license="GPL2+"
>  depends="consolekit2 dbus"
>  replaces="udev"
> -makedepends="dbus-dev libusb-compat-dev eudev-dev
> +makedepends="dbus-dev libusb-compat-dev eudev-dev json-c-dev
>  	libical-dev readline-dev glib-dev linux-headers
>  	autoconf automake libtool"
>  subpackages="$pkgname-dev $pkgname-doc $pkgname-libs $pkgname-cups
> @@ -38,6 +38,7 @@ build() {
>  		--disable-systemd \
>  		--enable-library \
>  		--enable-deprecated \
> +		--enable-mesh \
>  		|| return 1
>  	make || return 1
>  }



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---