# HG changeset patch # User Hans-G?nter Theisgen # Date 1578149843 -3600 # Node ID 535d42e958104c24863e7035d386c6105a3d6519 # Parent b0748d2b0d89bdcadccef80b515ca1884dc9ec1b updated bluez and bluez-dev (4.101 -> 5.52) diff -r b0748d2b0d89 -r 535d42e95810 bluez-dev/receipt --- a/bluez-dev/receipt Sat Jan 04 14:20:08 2020 +0100 +++ b/bluez-dev/receipt Sat Jan 04 15:57:23 2020 +0100 @@ -1,22 +1,23 @@ # SliTaz package receipt. PACKAGE="bluez-dev" -VERSION="4.101" +VERSION="5.52" CATEGORY="development" -SHORT_DESC="Bluez devel files." +SHORT_DESC="Bluez development files." MAINTAINER="pankso@slitaz.org" LICENSE="GPL2" -WANTED="bluez" WEB_SITE="http://www.bluez.org/" -DEPENDS="alsa-lib-dev dbus-dev glib-dev libusb-dev pkg-config" +DEPENDS="dbus-dev glib-dev libusb-dev pkg-config" +WANTED="bluez" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib/alsa-lib - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib/*.*a $fs/usr/lib - cp -a $install/usr/lib/alsa-lib/*.*a $fs/usr/lib/alsa-lib - cp -a $install/usr/lib/pkgconfig $fs/usr/lib + mkdir -p $fs/usr/lib + + cp -a $install/usr/include $fs/usr + cp -a $install/usr/lib/*.*a $fs/usr/lib + cp -a $install/usr/lib/alsa-lib/*.*a $fs/usr/lib/alsa-lib + cp -a $install/usr/lib/pkgconfig $fs/usr/lib } diff -r b0748d2b0d89 -r 535d42e95810 bluez/receipt --- a/bluez/receipt Sat Jan 04 14:20:08 2020 +0100 +++ b/bluez/receipt Sat Jan 04 15:57:23 2020 +0100 @@ -1,20 +1,23 @@ # SliTaz package receipt. PACKAGE="bluez" -VERSION="4.101" +VERSION="5.52" CATEGORY="system-tools" +TAGS="bluetooth" SHORT_DESC="Bluetooth protocol stack." MAINTAINER="pankso@slitaz.org" LICENSE="GPL2" WEB_SITE="http://www.bluez.org/" + TARBALL="$PACKAGE-$VERSION.tar.bz2" -#WGET_URL="https://www.kernel.org/pub/linux/bluetooth/$TARBALL" -WGET_URL="http://sourceware.mirrors.tds.net/pub/kernel.org/linux/bluetooth/$TARBALL" +WGET_URL="https://www.kernel.org/pub/linux/bluetooth/$TARBALL" +#WGET_URL="http://sourceware.mirrors.tds.net/pub/kernel.org/linux/bluetooth/$TARBALL" + +DEPENDS="dbus dbus-python glib libical libusb-compat linux-bluetooth pygobject" +BUILD_DEPENDS="dbus-dev glib-dev libical-dev libusb-compat libusb-dev + pkg-config readline-dev" + CONFIG_FILES="/etc/bluetooth" -TAGS="bluetooth" - -DEPENDS="linux-bluetooth alsa-lib glib dbus pygobject dbus-python libusb-compat" -BUILD_DEPENDS="alsa-lib-dev dbus-dev glib-dev libusb-dev pkg-config libusb-compat" # Rules to configure and make the package. compile_rules() @@ -22,25 +25,31 @@ sed -i 's/NEED_USB/xx&/' tools/*.c sed -i 's/from gi.repo.*/try:\n &\nexcept ImportError:\n import gobject as GObject/' test/simple-agent - ./configure \ - --prefix=/usr \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --libexecdir=/lib \ - --mandir=/usr/share/man \ - --enable-bccmd \ - --enable-dfutool \ - --enable-dund \ - --enable-hid2hci \ - --enable-hidd \ - --enable-pand \ - --enable-usb \ - --enable-cups \ - --enable-tools \ - --enable-wiimote \ - --enable-sap \ - --disable-test \ - --without-systemdunitdir \ + export LDFLAGS="$LDFLAGS -ltinfo" + + # 5.52 unrecognised +# --enable-bccmd \ +# --enable-dfutool \ +# --enable-dund \ +# --enable-hid2hci \ +# --enable-hidd \ +# --enable-pand \ +# --enable-usb \ +# --enable-wiimote \ + + + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --libexecdir=/lib \ + --mandir=/usr/share/man \ + --enable-cups \ + --enable-library \ + --enable-sap \ + --enable-tools \ + --disable-systemd \ + --disable-test \ $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install @@ -49,19 +58,22 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib/alsa-lib - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/sbin $fs/usr - cp -a $install/usr/lib/*.so* $fs/usr/lib - cp -a $install/usr/lib/alsa-lib/*.so* $fs/usr/lib/alsa-lib - cp -a $install/usr/lib/bluetooth $fs/usr/lib - cp -a $install/usr/lib/cups $fs/usr/lib - cp -a $install/etc $fs - cp -a $install/var $fs + mkdir -p $fs/lib + mkdir -p $fs/usr/lib - #some extra tools and config files - cp -a $src/test/simple-agent $fs/usr/bin/bluez-simple-agent - cp $src/audio/audio.conf $fs/etc/bluetooth + cp -a $install/etc $fs + cp -a $install/lib/bluetooth $fs/lib + cp -a $install/lib/udev $fs/lib + cp -a $install/usr/bin $fs/usr +# cp -a $install/usr/sbin $fs/usr + cp -a $install/usr/lib/*.so* $fs/usr/lib +# cp -a $install/usr/lib/alsa-lib/*.so* $fs/usr/lib/alsa-lib + cp -a $install/usr/lib/cups $fs/usr/lib + cp -a $install/var $fs + + #some extra tools and configuration files + cp -a $src/test/simple-agent $fs/usr/bin/bluez-simple-agent +# cp $src/audio/audio.conf $fs/etc/bluetooth } # Post message when installing.