summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/gnome-bindings/pygobject/pygobject-3.30.1.exheres-013
1 files changed, 7 insertions, 6 deletions
diff --git a/packages/gnome-bindings/pygobject/pygobject-3.30.1.exheres-0 b/packages/gnome-bindings/pygobject/pygobject-3.30.1.exheres-0
index 124c1ec..ac043ad 100644
--- a/packages/gnome-bindings/pygobject/pygobject-3.30.1.exheres-0
+++ b/packages/gnome-bindings/pygobject/pygobject-3.30.1.exheres-0
@@ -2,9 +2,9 @@
# Distributed under the terms of the GNU General Purpose License v2
require gnome.org [ suffix=tar.xz ]
+require meson [ meson_minimum_version=0.46 ]
require python [ blacklist=none ]
require test-dbus-daemon
-require meson [ meson_minimum_version=0.46 ]
SUMMARY="Python Bindings for GObject"
@@ -36,17 +36,15 @@ DEPENDENCIES="
cairo? ( x11-libs/cairo )
"
-DEFAULT_SRC_CONFIGURE_OPTION_ENABLES=( cairo )
-
MESON_SRC_CONFIGURE_OPTION_SWITCHES=( 'cairo pycairo' )
-src_configure() {
+configure_one_multibuild() {
meson_src_configure -Dpython=${PYTHON}
}
compile_one_multibuild() {
python_disable_pyc
- default
+ meson_src_compile
}
# Need access to wayland/X
@@ -60,7 +58,10 @@ test_one_multibuild() {
}
install_one_multibuild() {
- default
+ meson_src_install
+ # FIXME: find out why meson doesn't pick the right directories
+ edo mv "${IMAGE}"/usr/lib/* "${IMAGE}"/usr/$(exhost --target)/lib/
+ edo rmdir "${IMAGE}"/usr/lib
python_bytecompile
}