bluez.guncellendi

This commit is contained in:
milisbir 2017-11-17 04:33:54 +02:00
parent e4c1ee545a
commit d25a23b23d
3 changed files with 62 additions and 58 deletions

View File

@ -0,0 +1,3 @@
# use "reset=1" as default, since it should be safe for recent devices and
# solves all kind of problems.
options btusb reset=1

View File

@ -5,66 +5,67 @@
isim=bluez
surum=5.47
devir=1
devir=2
kaynak=(http://www.kernel.org/pub/linux/bluetooth/$isim-$surum.tar.xz
http://www.linuxfromscratch.org/patches/blfs/svn/bluez-$surum-obexd_without_systemd-1.patch)
http://www.linuxfromscratch.org/patches/blfs/svn/bluez-$surum-obexd_without_systemd-1.patch
bluetooth.modprobe)
derle() {
cd $isim-$surum
patch -Np1 -i ../$isim-$surum-obexd_without_systemd-1.patch
cd $isim-$surum
patch -Np1 -i ../$isim-$surum-obexd_without_systemd-1.patch
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--libexecdir=/usr/lib \
--disable-systemd \
--enable-gstreamer \
--enable-alsa \
--enable-usb \
--enable-tools \
--enable-bccmd \
--enable-dfutool \
--enable-hid2hci \
--enable-hidd \
--enable-pand \
--enable-dund \
--enable-cups \
--disable-test \
--enable-sixaxis \
--enable-experimental \
--enable-library \
--without-systemdunitdir
make
make DESTDIR=${PKG} \
install-libexecPROGRAMS \
install-dbussessionbusDATA \
install-dbussystembusDATA \
install-dbusDATA
make DESTDIR=${PKG} install-binPROGRAMS
make DESTDIR=${PKG} install-cupsPROGRAMS
make DESTDIR=${PKG} \
install-udevPROGRAMS \
install-rulesDATA
make DESTDIR=${PKG} \
install-pluginLTLIBRARIES
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--libexecdir=/lib \
--disable-systemd \
--enable-gstreamer \
--enable-alsa \
--enable-usb \
--enable-tools \
--enable-bccmd \
--enable-dfutool \
--enable-hid2hci \
--enable-hidd \
--enable-pand \
--enable-dund \
--enable-cups \
--disable-test \
--enable-library \
--without-systemdunitdir
make
make DESTDIR=$PKG install
install -dm755 ${PKG}/etc/bluetooth
install -Dm644 ${SRC}/${isim}-${surum}/src/main.conf ${PKG}/etc/bluetooth/main.conf
install -v -dm755 $PKG/{etc/bluetooth,usr/sbin}
install -dm755 ${PKG}/etc/modprobe.d
install -Dm644 ${SRC}/bluetooth.modprobe ${PKG}/etc/modprobe.d/bluetooth-usb.conf
for files in `find tools/ -type f -perm -755`; do
filename=$(basename $files)
install -Dm755 ${SRC}/${isim}-${surum}/tools/$filename ${PKG}/usr/bin/$filename
done
ln -svf /lib/bluetooth/bluetoothd $PKG/usr/sbin/
cat > $PKG/etc/bluetooth/rfcomm.conf << "EOF"
# rfcomm.conf
# Set up the RFCOMM configuration of the Bluetooth subsystem in the Linux kernel.
# Use one line per command
# See the rfcomm man page for options
# End of rfcomm.conf
EOF
cat > $PKG/etc/bluetooth/uart.conf << "EOF"
#uart.conf
# Attach serial devices via UART HCI to BlueZ stack
# Use one line per device
# See the hciattach man page for options
# End of uart.conf
EOF
install -m644 profiles/network/network.conf \
profiles/input/input.conf \
$PKG/etc/bluetooth
cd /sources/milis.git/ayarlar/servisler
make DESTDIR=$PKG kur-bluetooth
rm -rf ${PKG}/lib/udev/hid2hci
cd /sources/milis.git/ayarlar/servisler
make DESTDIR=$PKG kur-bluetooth
}

View File

@ -1,7 +1,7 @@
# Tanım: Ağ bant genişliği göstergesi.
# URL: http://freshmeat.net/projects/bmon
# Paketçi: milisarge
# Gerekler: ncurses
# URL: http://freshmeat.net/projects/bmon
# Paketçi: milisarge
# Gerekler: ncurses
isim=bmon
surum=2.1.0