Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=openjava.git;a=commitdiff;h=eaecb359fc5c5a9743d9db618c7a5741ce9752d1
commit eaecb359fc5c5a9743d9db618c7a5741ce9752d1 Author: James Buren <r...@frugalware.org> Date: Mon Jun 4 19:06:18 2012 -0500 bluez-4.99-4-x86_64 * convert to use systemd schema diff --git a/source/apps/bluez/FrugalBuild b/source/apps/bluez/FrugalBuild index 1917074..c7fcf1a 100644 --- a/source/apps/bluez/FrugalBuild +++ b/source/apps/bluez/FrugalBuild @@ -3,7 +3,7 @@ pkgname=bluez pkgver=4.99 -pkgrel=3 +pkgrel=4 pkgdesc="Library to use the BlueZ Linux Bluetooth stack" url="http://bluez.sourceforge.net/" depends=('dbus-glib>=0.76' 'alsa-lib' 'zlib' 'libsndfile' 'check') @@ -25,6 +25,8 @@ provides=('bluez-utils' 'bluez-libs') replaces=('bluez-utils' 'bluez-libs') backup=(etc/bluetooth/{network,rfcomm,serial,audio,input,main}.conf \ etc/dbus-1/system.d/bluetooth.conf) +_F_systemd_units=(bluetooth=) +Finclude systemd #--enable-gstreamer disable for now @@ -54,6 +56,7 @@ build() { Fexerel test/$i /usr/bin/bluez-$i done Fexe /usr/sbin/bluetoothd-udev-wrapper + Fgenscriptlet } # optimization OK diff --git a/source/apps/bluez/bluez.install b/source/apps/bluez/bluez.install deleted file mode 100644 index 812e02f..0000000 --- a/source/apps/bluez/bluez.install +++ /dev/null @@ -1,31 +0,0 @@ -post_install() -{ - # bluetoothd supports bus activation, no systemctl enable here - systemctl daemon-reload >/dev/null 2>&1 -} - -post_upgrade() -{ - systemctl daemon-reload >/dev/null 2>&1 - systemctl try-restart bluetooth.service >/dev/null 2>&1 - # can be removed after Frugalware-1.6 - rm -f /etc/rc.d/rc?.d/???rc.bluetooth -} - -pre_remove() -{ - systemctl stop bluetooth.service >/dev/null 2>&1 - systemctl disable bluetooth.service >/dev/null 2>&1 -} - -post_remove() -{ - systemctl daemon-reload >/dev/null 2>&1 -} - -op=$1 -shift - -$op $* - -# vim: ft=sh _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git