wok rev 22554

updated bluez and bluez-dev (4.101 -> 5.52)
author Hans-G?nter Theisgen
date Sat Jan 04 15:57:23 2020 +0100 (2020-01-04)
parents b0748d2b0d89
children 032fe999b66d
files bluez-dev/receipt bluez/receipt
line diff
     1.1 --- a/bluez-dev/receipt	Sat Jan 04 14:20:08 2020 +0100
     1.2 +++ b/bluez-dev/receipt	Sat Jan 04 15:57:23 2020 +0100
     1.3 @@ -1,22 +1,23 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="bluez-dev"
     1.7 -VERSION="4.101"
     1.8 +VERSION="5.52"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="Bluez devel files."
    1.11 +SHORT_DESC="Bluez development files."
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 -WANTED="bluez"
    1.15  WEB_SITE="http://www.bluez.org/"
    1.16  
    1.17 -DEPENDS="alsa-lib-dev dbus-dev glib-dev libusb-dev pkg-config"
    1.18 +DEPENDS="dbus-dev glib-dev libusb-dev pkg-config"
    1.19 +WANTED="bluez"
    1.20  
    1.21  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.22  genpkg_rules()
    1.23  {
    1.24 -	mkdir -p $fs/usr/lib/alsa-lib
    1.25 -	cp -a $install/usr/include $fs/usr
    1.26 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.27 -	cp -a $install/usr/lib/alsa-lib/*.*a $fs/usr/lib/alsa-lib
    1.28 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.29 +	mkdir -p $fs/usr/lib
    1.30 +
    1.31 +	cp -a $install/usr/include		$fs/usr
    1.32 +	cp -a $install/usr/lib/*.*a		$fs/usr/lib
    1.33 +	cp -a $install/usr/lib/alsa-lib/*.*a	$fs/usr/lib/alsa-lib
    1.34 +	cp -a $install/usr/lib/pkgconfig	$fs/usr/lib
    1.35  }
     2.1 --- a/bluez/receipt	Sat Jan 04 14:20:08 2020 +0100
     2.2 +++ b/bluez/receipt	Sat Jan 04 15:57:23 2020 +0100
     2.3 @@ -1,20 +1,23 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="bluez"
     2.7 -VERSION="4.101"
     2.8 +VERSION="5.52"
     2.9  CATEGORY="system-tools"
    2.10 +TAGS="bluetooth"
    2.11  SHORT_DESC="Bluetooth protocol stack."
    2.12  MAINTAINER="pankso@slitaz.org"
    2.13  LICENSE="GPL2"
    2.14  WEB_SITE="http://www.bluez.org/"
    2.15 +
    2.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.17 -#WGET_URL="https://www.kernel.org/pub/linux/bluetooth/$TARBALL"
    2.18 -WGET_URL="http://sourceware.mirrors.tds.net/pub/kernel.org/linux/bluetooth/$TARBALL"
    2.19 +WGET_URL="https://www.kernel.org/pub/linux/bluetooth/$TARBALL"
    2.20 +#WGET_URL="http://sourceware.mirrors.tds.net/pub/kernel.org/linux/bluetooth/$TARBALL"
    2.21 +
    2.22 +DEPENDS="dbus dbus-python glib libical libusb-compat linux-bluetooth pygobject"
    2.23 +BUILD_DEPENDS="dbus-dev glib-dev libical-dev libusb-compat libusb-dev 
    2.24 +	pkg-config readline-dev"
    2.25 +
    2.26  CONFIG_FILES="/etc/bluetooth"
    2.27 -TAGS="bluetooth"
    2.28 -
    2.29 -DEPENDS="linux-bluetooth alsa-lib glib dbus pygobject dbus-python libusb-compat"
    2.30 -BUILD_DEPENDS="alsa-lib-dev dbus-dev glib-dev libusb-dev pkg-config libusb-compat"
    2.31  
    2.32  # Rules to configure and make the package.
    2.33  compile_rules()
    2.34 @@ -22,25 +25,31 @@
    2.35  	sed -i 's/NEED_USB/xx&/' tools/*.c
    2.36  	sed -i 's/from gi.repo.*/try:\n  &\nexcept ImportError:\n  import gobject as GObject/' test/simple-agent
    2.37  
    2.38 -	./configure \
    2.39 -		--prefix=/usr \
    2.40 -		--sysconfdir=/etc \
    2.41 -		--localstatedir=/var \
    2.42 -		--libexecdir=/lib \
    2.43 -		--mandir=/usr/share/man \
    2.44 -		--enable-bccmd \
    2.45 -		--enable-dfutool \
    2.46 -		--enable-dund \
    2.47 -		--enable-hid2hci \
    2.48 -		--enable-hidd \
    2.49 -		--enable-pand \
    2.50 -		--enable-usb \
    2.51 -		--enable-cups \
    2.52 -		--enable-tools \
    2.53 -		--enable-wiimote \
    2.54 -		--enable-sap \
    2.55 -		--disable-test \
    2.56 -		--without-systemdunitdir \
    2.57 +	export	LDFLAGS="$LDFLAGS -ltinfo"
    2.58 +
    2.59 +	# 5.52 unrecognised
    2.60 +#		--enable-bccmd \
    2.61 +#		--enable-dfutool \
    2.62 +#		--enable-dund \
    2.63 +#		--enable-hid2hci \
    2.64 +#		--enable-hidd \
    2.65 +#		--enable-pand \
    2.66 +#		--enable-usb \
    2.67 +#		--enable-wiimote \
    2.68 +
    2.69 +
    2.70 +	./configure			\
    2.71 +		--prefix=/usr		\
    2.72 +		--sysconfdir=/etc	\
    2.73 +		--localstatedir=/var	\
    2.74 +		--libexecdir=/lib	\
    2.75 +		--mandir=/usr/share/man	\
    2.76 +		--enable-cups		\
    2.77 +		--enable-library	\
    2.78 +		--enable-sap		\
    2.79 +		--enable-tools		\
    2.80 +		--disable-systemd	\
    2.81 +		--disable-test		\
    2.82  		$CONFIGURE_ARGS &&
    2.83  	make &&
    2.84  	make DESTDIR=$DESTDIR install
    2.85 @@ -49,19 +58,22 @@
    2.86  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.87  genpkg_rules()
    2.88  {
    2.89 -	mkdir -p $fs/usr/lib/alsa-lib
    2.90 -	cp -a $install/usr/bin $fs/usr
    2.91 -	cp -a $install/usr/sbin $fs/usr
    2.92 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.93 -	cp -a $install/usr/lib/alsa-lib/*.so* $fs/usr/lib/alsa-lib
    2.94 -	cp -a $install/usr/lib/bluetooth $fs/usr/lib
    2.95 -	cp -a $install/usr/lib/cups $fs/usr/lib
    2.96 -	cp -a $install/etc $fs
    2.97 -	cp -a $install/var $fs
    2.98 +	mkdir -p $fs/lib
    2.99 +	mkdir -p $fs/usr/lib
   2.100  
   2.101 -	#some extra tools and config files
   2.102 -	cp -a $src/test/simple-agent $fs/usr/bin/bluez-simple-agent
   2.103 -	cp  $src/audio/audio.conf $fs/etc/bluetooth
   2.104 +	cp -a $install/etc			$fs
   2.105 +	cp -a $install/lib/bluetooth		$fs/lib
   2.106 +	cp -a $install/lib/udev			$fs/lib
   2.107 +	cp -a $install/usr/bin			$fs/usr
   2.108 +#	cp -a $install/usr/sbin			$fs/usr
   2.109 +	cp -a $install/usr/lib/*.so*		$fs/usr/lib
   2.110 +#	cp -a $install/usr/lib/alsa-lib/*.so*	$fs/usr/lib/alsa-lib
   2.111 +	cp -a $install/usr/lib/cups		$fs/usr/lib
   2.112 +	cp -a $install/var			$fs
   2.113 +
   2.114 +	#some extra tools and configuration files
   2.115 +	cp -a $src/test/simple-agent		$fs/usr/bin/bluez-simple-agent
   2.116 +#	cp  $src/audio/audio.conf		$fs/etc/bluetooth
   2.117  }
   2.118  
   2.119  # Post message when installing.