2013-12-29 16:13:04 +01:00
|
|
|
dnl ---- configure.ac for gb.gtk3 component
|
|
|
|
|
2014-04-05 23:22:43 +02:00
|
|
|
m4_include([../version.m4])
|
|
|
|
AC_INIT(gambas3-gb-gtk3, GB_VERSION, GB_MAIL, [], GB_URL)
|
2013-12-29 16:13:04 +01:00
|
|
|
AC_CONFIG_MACRO_DIR([m4])
|
2014-04-05 23:22:43 +02:00
|
|
|
|
2013-12-29 16:13:04 +01:00
|
|
|
GB_INIT(gb.gtk3)
|
|
|
|
AC_PROG_LIBTOOL
|
|
|
|
|
|
|
|
GB_CHECK_XWINDOW()
|
|
|
|
|
|
|
|
GB_COMPONENT_PKG_CONFIG(
|
|
|
|
gtk3, GTK3, gb.gtk3, [src],
|
2020-12-21 04:54:14 +01:00
|
|
|
'gtk+-3.0 >= 3.4' 'librsvg-2.0 >= 2.14.3' 'cairo >= 1.6.0' 'cairo-ft >= 1.6.0' 'gtk+-unix-print-3.0 >= 3.4' sm ice
|
|
|
|
)
|
|
|
|
|
|
|
|
GB_COMPONENT_PKG_CONFIG(
|
|
|
|
gtk3x11, GTK3X11, gb.gtk3.x11, [x11],
|
|
|
|
'gtk+-3.0 >= 3.4' gdk-x11-3.0
|
|
|
|
)
|
|
|
|
|
|
|
|
GB_COMPONENT_PKG_CONFIG(
|
|
|
|
gtk3wayland, GTK3WAYLAND, gb.gtk3.wayland, [wayland],
|
|
|
|
'gtk+-3.0 >= 3.4' gdk-wayland-3.0
|
2013-12-29 16:13:04 +01:00
|
|
|
)
|
|
|
|
|
2020-09-21 01:09:47 +02:00
|
|
|
GB_COMPONENT_PKG_CONFIG(
|
|
|
|
gtk3webview, GTK3WEBVIEW, gb.gtk3.webview, [webview],
|
2021-01-02 11:35:02 +01:00
|
|
|
'gtk+-3.0 >= 3.4' 'webkit2gtk-4.0 >= 2.20'
|
2020-09-21 01:09:47 +02:00
|
|
|
)
|
|
|
|
|
2021-10-08 16:39:20 +02:00
|
|
|
GB_COMPONENT_PKG_CONFIG_AGAIN(
|
2021-10-04 22:18:05 +02:00
|
|
|
gtk3webview, GTK3WEBVIEW, gb.gtk3.webview, [webview],
|
2021-10-08 16:39:20 +02:00
|
|
|
'gtk+-3.0 >= 3.4' 'webkit2gtk-4.1 >= 2.20',
|
|
|
|
[Try again with webkit2gtk-4.1])
|
2021-10-04 22:18:05 +02:00
|
|
|
|
2021-04-30 21:44:30 +02:00
|
|
|
GB_COMPONENT_PKG_CONFIG(
|
|
|
|
gtk3opengl, GTK3OPENGL, gb.gtk3.opengl, [opengl],
|
2022-03-13 13:57:14 +01:00
|
|
|
'gtk+-3.0 >= 3.16' gl
|
2021-04-30 21:44:30 +02:00
|
|
|
)
|
|
|
|
|
2013-12-29 16:13:04 +01:00
|
|
|
AC_OUTPUT( \
|
|
|
|
Makefile \
|
|
|
|
src/Makefile \
|
2020-12-21 04:54:14 +01:00
|
|
|
src/x11/Makefile \
|
|
|
|
src/wayland/Makefile \
|
2021-04-30 21:44:30 +02:00
|
|
|
src/webview/Makefile \
|
|
|
|
src/opengl/Makefile
|
2013-12-29 16:13:04 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
GB_PRINT_MESSAGES
|