2019-12-29 16:15:36 +01:00
|
|
|
# Description: D-Bus Python bindings
|
|
|
|
# URL: http://freedesktop.org/wiki/Software/DBusBindings
|
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
|
|
# Depends on: dbus-glib
|
|
|
|
|
|
|
|
name=dbus-python3
|
2021-07-21 14:36:24 +02:00
|
|
|
version=1.2.18
|
2022-03-13 09:29:36 +01:00
|
|
|
release=2
|
|
|
|
source=(https://dbus.freedesktop.org/releases/dbus-python/dbus-python-$version.tar.gz
|
|
|
|
0001-Move-python-modules-to-architecture-specific-directo.patch)
|
2019-12-29 16:15:36 +01:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd dbus-python-$version
|
2022-03-13 09:29:36 +01:00
|
|
|
|
|
|
|
patch -Np1 -i $SRC/0001-Move-python-modules-to-architecture-specific-directo.patch
|
|
|
|
autoreconf -vfi
|
|
|
|
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
PYTHON=/usr/bin/python3 \
|
|
|
|
PYTHON_EXTRA_LIBS=' '
|
2019-12-29 16:15:36 +01:00
|
|
|
make
|
2022-03-13 09:29:36 +01:00
|
|
|
|
2019-12-29 16:15:36 +01:00
|
|
|
make DESTDIR=$PKG install
|
2022-03-13 09:29:36 +01:00
|
|
|
/usr/bin/python3 setup.py install --root=$PKG \
|
|
|
|
--optimize=1 \
|
|
|
|
--skip-build
|
|
|
|
|
|
|
|
find $PKG -name '*.la' -type f -delete
|
2019-12-29 16:15:36 +01:00
|
|
|
}
|