milis/talimatname/genel/b/blueman/talimat

33 lines
1.1 KiB
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: A GTK+ Bluetooth Yöneticisi
2017-10-09 18:11:07 +02:00
# URL: https://github.com/blueman-project/blueman
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
2018-08-15 23:39:46 +02:00
# Gerekler: cython intltool bluez dbus-glib gconf gtk3 notification-daemon libnotify polkit python3-cairo python3-dbus python3-gobject startup-notification
2017-12-22 23:19:06 +01:00
# Grup: ağ
2017-10-09 18:11:07 +02:00
2017-10-28 14:10:23 +02:00
isim=blueman
2018-08-15 23:39:46 +02:00
surum=2.0.6
2018-08-29 23:28:52 +02:00
devir=2
2018-08-15 23:39:46 +02:00
kaynak=(https://github.com/blueman-project/blueman/releases/download/$surum/$isim-$surum.tar.xz::$isim-$surum.tar.xz)
2017-10-09 18:11:07 +02:00
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd "${SRC}/${isim}-${surum}"
2017-10-09 18:11:07 +02:00
NOCONFIGURE=1 ./autogen.sh
2018-08-15 23:39:46 +02:00
export PYTHON=/usr/bin/python3
2017-10-09 18:11:07 +02:00
export CYTHONEXEC=/usr/bin/cython
2018-08-15 23:39:46 +02:00
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
2017-10-09 18:11:07 +02:00
./configure \
2017-10-10 04:49:46 +02:00
--prefix=/usr \
--sysconfdir=/etc \
2018-08-15 23:39:46 +02:00
--libexecdir=/usr/lib/$isim \
2017-10-10 04:49:46 +02:00
--disable-schemas-compile
2017-10-09 18:11:07 +02:00
make
make DESTDIR="${PKG}" install
2018-08-15 23:39:46 +02:00
cd $PKG/usr/bin
sed -i "s/\/usr\/bin\/env python/\/usr\/bin\/env python3/g" blueman-*
2018-08-29 23:28:52 +02:00
rm -rf $PKG/etc/xdg
2017-10-09 18:11:07 +02:00
}