aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2023-09-15 00:39:22 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2023-09-15 00:39:22 +0200
commit5a0a9201f45ebe908bce076572ebbfaf0e4ede3d (patch)
treed0930fe909f630e433257df76fb36f8a1ddbcfcb /tests
parentb54bc7252b2587f9840e02c23b7035d37b0ebfd8 (diff)
parentdf8e0f9bbe9eb3dc81194bcefc6339bcec6d8b94 (diff)
downloadarctica-greeter-5a0a9201f45ebe908bce076572ebbfaf0e4ede3d.tar.gz
arctica-greeter-5a0a9201f45ebe908bce076572ebbfaf0e4ede3d.tar.bz2
arctica-greeter-5a0a9201f45ebe908bce076572ebbfaf0e4ede3d.zip
Merge branch 'Ionic-feature/gtk34-chooser'
Attributes GH PR #61: https://github.com/ArcticaProject/arctica-greeter/pull/61
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index d2d0d32..f91abb4 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -41,6 +41,7 @@ arctica_greeter_test_SOURCES = \
arctica_greeter_test_CFLAGS = \
$(ARCTICA_GREETER_CFLAGS) \
+ $(GTK_CFLAGS) \
-w \
-DGETTEXT_PACKAGE=\"$(GETTEXT_PACKAGE)\" \
-DLOCALEDIR=\""$(localedir)"\" \
@@ -52,8 +53,21 @@ arctica_greeter_test_CFLAGS = \
arctica_greeter_test_VALAFLAGS = \
--debug \
--pkg posix \
+ $(NULL)
+
+if HAVE_GTK4
+arctica_greeter_test_VALAFLAGS += \
+ --pkg gtk4 \
+ --pkg gtk4-x11 \
+ $(NULL)
+else
+arctica_greeter_test_VALAFLAGS += \
--pkg gtk+-3.0 \
--pkg gdk-x11-3.0 \
+ $(NULL)
+endif
+
+arctica_greeter_test_VALAFLAGS += \
--pkg gio-unix-2.0 \
--pkg x11 \
--pkg liblightdm-gobject-1 \
@@ -64,6 +78,7 @@ arctica_greeter_test_VALAFLAGS = \
arctica_greeter_test_LDADD = \
$(ARCTICA_GREETER_LIBS) \
+ $(GTK_LIBS) \
-lm
CLEANFILES = \