--- trunk/extras/bluez/bluez-5.51-r1.smage2 2019/10/22 18:07:27 33273 +++ trunk/extras/bluez/bluez-5.51-r1.smage2 2019/10/22 20:13:26 33274 @@ -115,13 +115,13 @@ src_install_bluez-libs() { mmake DESTDIR=${BINDIR} install-libLTLIBRARIES || die - mmake DESTDIR=${BINDIR} install-includeHEADERS || die + mmake DESTDIR=${BINDIR} install-pkgincludeHEADERS || die mmake DESTDIR=${BINDIR} install-pkgconfigDATA || die } src_install_bluez() { - mmake DESTDIR=${BINDIR} install-libexecPROGRAMS || die + mmake DESTDIR=${BINDIR} install-pkglibexecPROGRAMS || die mmake DESTDIR=${BINDIR} install-systemdsystemunitDATA || die mmake DESTDIR=${BINDIR} install-systemduserunitDATA || die mmake DESTDIR=${BINDIR} install-dbussessionbusDATA || die @@ -140,6 +140,13 @@ minstalldir /etc/modprobe.d || die minstallfile -s bluetooth.modprobe /etc/modprobe.d/bluetooth.conf || die + # load modules at system start required by some functions + minstalldir /etc/modules-load.d || die + echo "crypto_user" > /etc/modules-load.d/bluez.conf || die + + # fix obex file transfer, required by some pkgs + mlink $(mget-systemd-unit-dir)/obex.service $(mget-systemd-unit-dir)/dbus-org.bluez.obex.service || die + minstalldocs AUTHORS ChangeLog README || die } @@ -155,7 +162,8 @@ # provided by hid2hci package mdelete /usr/share/man/man1/hid2hci.1 || die # provided by lib package - mmake DESTDIR=${BINDIR} uninstall-libLTLIBRARIES || die + #mmake DESTDIR=${BINDIR} uninstall-libLTLIBRARIES || die + mdelete -r /usr/$(mlibdir) | die } src_install_bluez-hid2hci()