Add non functioning frontend

Signed-off-by: Ikey Doherty <ikey@solus-project.com>
This commit is contained in:
Ikey Doherty
2016-05-27 02:48:51 +01:00
parent 20ed29e1bc
commit 2350109bb7
3 changed files with 55 additions and 3 deletions
+1
View File
@@ -15,3 +15,4 @@ m4/*.m4
*.la
.libs
/steam
/lsi-settings
+21 -3
View File
@@ -21,6 +21,27 @@ noinst_LTLIBRARIES = \
libnica.la \
liblsi.la
bin_PROGRAMS = \
steam
if HAVE_FRONTEND
bin_PROGRAMS += lsi-settings
lsi_settings_SOURCES = \
src/frontend/main.c
lsi_settings_CFLAGS = \
$(GTK_CFLAGS) \
$(AM_CFLAGS) \
-DGDK_VERSION_MAX_ALLOWED=GDK_VERSION_3_4 \
-DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_3_4
lsi_settings_LDADD = \
liblsi.la \
$(GTK_LIBS)
endif
# Convenience library to prevent external linking with currently unstable ABI
libnica_la_SOURCES = \
src/nica/hashmap.h \
@@ -44,9 +65,6 @@ liblsi_la_CFLAGS = \
liblsi_la_LIBADD = \
libnica.la
bin_PROGRAMS = \
steam
steam_SOURCES = \
src/shim/shim.c
+33
View File
@@ -0,0 +1,33 @@
/*
* This file is part of linux-steam-integration.
*
* Copyright © 2016 Ikey Doherty
*
* linux-steam-integration is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1
* of the License, or (at your option) any later version.
*/
#include <gtk/gtk.h>
#include <stdlib.h>
int main(int argc, char **argv)
{
gtk_init(&argc, &argv);
return EXIT_FAILURE;
}
/*
* Editor modelines - https://www.wireshark.org/tools/modelines.html
*
* Local variables:
* c-basic-offset: 8
* tab-width: 8
* indent-tabs-mode: nil
* End:
*
* vi: set shiftwidth=8 tabstop=8 expandtab:
* :indentSize=8:tabSize=8:noTabs=true:
*/