mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-30 23:34:12 +03:00
ibus: Build introspection overrides
This commit is contained in:
parent
c1b4f22b77
commit
aefb8fbc69
@ -135,6 +135,7 @@ stdenv.mkDerivation rec {
|
||||
dconf
|
||||
gdk_pixbuf
|
||||
gobject-introspection
|
||||
python3.pkgs.pygobject3 # for pygobject overrides
|
||||
gtk2
|
||||
gtk3
|
||||
isocodes
|
||||
|
@ -1,5 +1,19 @@
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -429,11 +429,11 @@
|
||||
if test "x$enable_pygobject" = "xyes"; then
|
||||
PKG_CHECK_MODULES(PYTHON, [pygobject-3.0 >= $PYGOBJECT_REQUIRED])
|
||||
|
||||
- pyoverridesdir=`$PYTHON -c "import gi; print(gi._overridesdir)"`
|
||||
+ pyoverridesdir="$prefix/@pythonSitePackages@/gi/overrides"
|
||||
AC_SUBST(pyoverridesdir)
|
||||
|
||||
if test x"$enable_python2" = x"yes"; then
|
||||
- py2overridesdir=`$PYTHON2 -c "import gi; print(gi._overridesdir)"`
|
||||
+ py2overridesdir="$prefix/@pythonSitePackages@/gi/overrides"
|
||||
AC_SUBST(py2overridesdir)
|
||||
fi
|
||||
fi
|
||||
@@ -462,7 +462,7 @@
|
||||
PYTHON2_VERSION=`$PYTHON2 -c "import sys; sys.stdout.write(sys.version[[:3]])"`
|
||||
PYTHON2_LIBDIR="$PYTHON2_PREFIX/lib/python$PYTHON2_VERSION"
|
||||
|
Loading…
Reference in New Issue
Block a user