0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-21 20:56:19 +00:00
termux-packages/disabled-packages/gtk-recordmydesktop/configure.ac.patch
Tee KOBAYASHI 0380ecc3ec gtk-recordmydesktop: Disabled
Not working.
2022-11-23 16:32:43 +00:00

23 lines
589 B
Diff

--- a/configure.ac
+++ b/configure.ac
@@ -46,19 +46,6 @@
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [The gettext package name])
AM_GLIB_GNU_GETTEXT
-dnl check for GTK 3 Python bindings
-AC_MSG_CHECKING(GTK 3 python bindings)
-gtk_prog="
-import gi
-gi.require_version('Gtk', '3.0')
-from gi.repository import Gtk
-"
-if $PYTHON -c "$gtk_prog"; then
- AC_MSG_RESULT(yes)
-else
- AC_MSG_ERROR(Missing Gtk 3 Python bindings, try sudo apt install python3-gi python3-gi-cairo gir1.2-gtk-3.0)
-fi
-
export PYTHONPATH=$PYGTK_DIR:$PYTHONPATH
saved_PYTHONPATH=$PYTHONPATH