32 lines
1.1 KiB
Plaintext
32 lines
1.1 KiB
Plaintext
# Tanım: A GTK+ Bluetooth Yöneticisi
|
||
# URL: https://github.com/blueman-project/blueman
|
||
# Paketçi: milisarge
|
||
# Gerekler: cython intltool bluez dbus-glib gconf gtk3 notification-daemon libnotify polkit python3-cairo python3-dbus python3-gobject startup-notification
|
||
# Grup: ağ
|
||
|
||
isim=blueman
|
||
surum=2.0.6
|
||
devir=1
|
||
kaynak=(https://github.com/blueman-project/blueman/releases/download/$surum/$isim-$surum.tar.xz::$isim-$surum.tar.xz)
|
||
|
||
derle() {
|
||
cd "${SRC}/${isim}-${surum}"
|
||
NOCONFIGURE=1 ./autogen.sh
|
||
export PYTHON=/usr/bin/python3
|
||
export CYTHONEXEC=/usr/bin/cython
|
||
sed -i 's|/usr/sbin/bluetoothd|/usr/lib/bluetooth/bluetoothd|' apps/blueman-report
|
||
|
||
# Fix non-standard icon names
|
||
sed -i 's/gtk-find/edit-find/' data/ui/device-list-widget.ui
|
||
sed -i 's/mouse/input-mouse/' blueman/services/Input.py
|
||
./configure \
|
||
--prefix=/usr \
|
||
--sysconfdir=/etc \
|
||
--libexecdir=/usr/lib/$isim \
|
||
--disable-schemas-compile
|
||
make
|
||
make DESTDIR="${PKG}" install
|
||
cd $PKG/usr/bin
|
||
sed -i "s/\/usr\/bin\/env python/\/usr\/bin\/env python3/g" blueman-*
|
||
}
|