mirror of
https://github.com/void-linux/void-packages.git
synced 2025-09-03 02:23:11 +02:00
blueman: regenerate C code on build
This file uses some internal API of CPython.
This commit is contained in:
parent
0acc79c311
commit
9fe1de5f02
1 changed files with 6 additions and 4 deletions
|
@ -4,7 +4,8 @@ version=2.3.2
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-static"
|
configure_args="--disable-static"
|
||||||
hostmakedepends="intltool iproute2 pkg-config python3-Cython"
|
hostmakedepends="intltool iproute2 pkg-config python3-Cython glib-devel
|
||||||
|
python3-devel"
|
||||||
makedepends="gtk+3-devel libbluetooth-devel python3-devel
|
makedepends="gtk+3-devel libbluetooth-devel python3-devel
|
||||||
python3-gobject-devel startup-notification-devel"
|
python3-gobject-devel startup-notification-devel"
|
||||||
depends="bluez libnotify python3-gobject"
|
depends="bluez libnotify python3-gobject"
|
||||||
|
@ -16,6 +17,7 @@ changelog="https://raw.githubusercontent.com/blueman-project/blueman/main/CHANGE
|
||||||
distfiles="https://github.com/blueman-project/blueman/releases/download/${version}/blueman-${version}.tar.xz"
|
distfiles="https://github.com/blueman-project/blueman/releases/download/${version}/blueman-${version}.tar.xz"
|
||||||
checksum=84cf7d7fd1738751c77e0605f72e4cdd4b723078a7768fe3f35309993a0350ae
|
checksum=84cf7d7fd1738751c77e0605f72e4cdd4b723078a7768fe3f35309993a0350ae
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
post_extract() {
|
||||||
hostmakedepends+=" glib-devel python3-devel"
|
# force regeneration of this file
|
||||||
fi
|
rm module/_blueman.c
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue