diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2017-10-21 13:50:30 +0000 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2017-11-06 12:05:31 +0100 |
commit | 9335945c7cb215f387ed1444e28533fac437c6e8 (patch) | |
tree | d4bdbf17d4272f9d4ee32d57275883f79ad200b8 /configure.ac | |
parent | f69be03d72fbaa535adc8b06475d2806283b79ab (diff) |
KF5 initial VCL plugin
Something that compiles, basically just interface stubs.
All used Svp classes don't use any cairo.
Change-Id: I9a8858c930989438cc2a3f3346c01a7abc579d62
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index e1ede555fd5c..0556a79631cf 100644 --- a/configure.ac +++ b/configure.ac @@ -571,6 +571,7 @@ linux-gnu*|k*bsd*-gnu*) build_gstreamer_1_0=yes build_gstreamer_0_10=yes test_kde4=yes + test_kf5=yes if test "$enable_fuzzers" != yes; then test_freetype=yes test_fontconfig=yes @@ -664,6 +665,7 @@ freebsd*) build_gstreamer_1_0=yes build_gstreamer_0_10=yes test_kde4=yes + test_kf5=yes test_freetype=yes AC_MSG_CHECKING([the FreeBSD operating system release]) if test -n "$with_os_version"; then @@ -692,6 +694,7 @@ freebsd*) build_gstreamer_1_0=yes build_gstreamer_0_10=yes test_kde4=yes + test_kf5=yes test_freetype=yes PTHREAD_LIBS="-pthread -lpthread" _os=NetBSD @@ -717,6 +720,7 @@ dragonfly*) build_gstreamer_1_0=yes build_gstreamer_0_10=yes test_kde4=yes + test_kf5=yes test_freetype=yes PTHREAD_LIBS="-pthread" _os=DragonFly @@ -740,6 +744,7 @@ linux-android*) test_freetype=no test_gtk=no test_kde4=no + test_kf5=no test_randr=no test_xrender=no _os=Android @@ -1177,6 +1182,12 @@ AC_ARG_ENABLE(kde4, KDE4 are available.]), ,) +AC_ARG_ENABLE(kf5, + AS_HELP_STRING([--enable-kf5], + [Determines whether to use Kf5 vclplug on platforms where Qt5 and + KF5 are available.]), +,) + libo_FUZZ_ARG_ENABLE(gui, AS_HELP_STRING([--disable-gui], [Disable use of X11 or Wayland to reduce dependencies. Not related to the --headless @@ -4500,6 +4511,7 @@ if test "$USING_X11" != TRUE; then build_gstreamer_1_0=no build_gstreamer_0_10=no test_kde4=no + test_kf5=no enable_cairo_canvas=no fi @@ -9746,6 +9758,14 @@ if test "x$enable_kde4" = "xyes"; then fi AC_SUBST(ENABLE_KDE4) +ENABLE_KF5="" +if test "x$enable_kf5" = "xyes"; then + ENABLE_KF5="TRUE" + AC_DEFINE(ENABLE_KF5) + R="$R kf5" +fi +AC_SUBST(ENABLE_KF5) + build_vcl_plugins="$R" if test -z "$build_vcl_plugins"; then @@ -10736,7 +10756,9 @@ MOC5="moc" KF5_GLIB_CFLAGS="" KF5_GLIB_LIBS="" KF5_HAVE_GLIB="" -if test "$test_kde5" = "yes" -a "$ENABLE_KDE5" = "TRUE"; then +if test \( "$test_kde5" = "yes" -a "$ENABLE_KDE5" = "TRUE" \) \ + -o \( "$test_kf5" = "yes" -a "$ENABLE_KF5" = "TRUE" \) +then qt5_incdirs="$QT5INC /usr/include/qt5 /usr/include $x_includes" qt5_libdirs="$QT5LIB /usr/lib/qt5 /usr/lib $x_libraries" |