rhythmbox: rebuild for Python 3.12
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
# Template file for 'rhythmbox'
|
||||
pkgname=rhythmbox
|
||||
version=3.4.4
|
||||
revision=6
|
||||
revision=7
|
||||
build_style=gnu-configure
|
||||
build_helper=gir
|
||||
configure_args="--disable-static --with-gudev --without-hal
|
||||
$(vopt_if gir --enable-vala)
|
||||
ac_cv_strftime_supports_E_O=yes"
|
||||
hostmakedepends="pkg-config intltool itstool glib-devel
|
||||
hostmakedepends="pkg-config intltool itstool glib-devel python3-setuptools
|
||||
$(vopt_if gir 'gobject-introspection vala')"
|
||||
makedepends="gtk+3-devel libsoup-gnome-devel totem-pl-parser-devel
|
||||
json-glib-devel libgudev-devel libdiscid-devel vala-devel
|
||||
@@ -30,6 +30,16 @@ build_options="gir brasero"
|
||||
desc_option_brasero="Enable CD burning support"
|
||||
build_options_default="gir"
|
||||
|
||||
post_extract() {
|
||||
# The py-compile helper uses the imp module, removed in Python 3.12;
|
||||
# besides, we don't want the module pre-compiled anyway, so just drop it
|
||||
: > py-compile
|
||||
cat > py-compile <<-'EOF'
|
||||
#!/bin/sh
|
||||
: "$@"
|
||||
EOF
|
||||
}
|
||||
|
||||
pre_build() {
|
||||
export GIR_EXTRA_LIBS_PATH="$wrksrc/shell/.libs"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user