Commit 249e509d authored by Guido Gunther's avatar Guido Gunther
Browse files

Add and init libadwaita

We'll use that for the placeholder page
parent 5c650792
......@@ -127,6 +127,47 @@
}
]
},
{
"name" : "libsass",
"buildsystem" : "meson",
"sources" : [
{
"type" : "git",
"url" : "https://github.com/lazka/libsass.git",
"branch" : "meson"
}
]
},
{
"name" : "sassc",
"buildsystem" : "meson",
"sources" : [
{
"type" : "git",
"url" : "https://github.com/lazka/sassc.git",
"branch" : "meson"
}
]
},
{
"name": "libadwaita",
"buildsystem": "meson",
"builddir": true,
"config-opts": [
"-Dintrospection=disabled",
"-Ddoc=disabled",
"-Dtests=false",
"-Dexamples=false",
"--libdir=lib"
],
"sources": [
{
"type": "git",
"branch": "main",
"url": "https://gitlab.gnome.org/GNOME/libadwaita.git"
}
]
},
{
"name" : "livi",
"builddir" : true,
......
......@@ -12,6 +12,8 @@
#include "livi-config.h"
#include "livi-window.h"
#include <adwaita.h>
#include <glib/gi18n.h>
#include <gst/gst.h>
......@@ -49,6 +51,8 @@ on_startup (GApplication *app)
g_debug ("Startup");
adw_init ();
window = gtk_application_get_active_window (GTK_APPLICATION (app));
if (window == NULL)
window = g_object_new (LIVI_TYPE_WINDOW,
......
......@@ -12,6 +12,7 @@ livi_deps = [
dependency('gio-2.0', version: '>= 2.50'),
dependency('gtk4', version: '>= 4.0'),
dependency('gstreamer-1.0'),
dependency('libadwaita-1', version: '>= 1.0.0-alpha.1'),
cc.find_library('m', required: false),
gstplayer_dep,
gstgl_dep,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment