milis/talimatname/genel/b/blueman/talimat

33 lines
1.1 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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=2
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-*
rm -rf $PKG/etc/xdg
}