Skip to content

Commit

Permalink
Add support for snaps.
Browse files Browse the repository at this point in the history
Work done by William Hua and Robert Ancell.

https://bugzilla.gnome.org/show_bug.cgi?id=767673
  • Loading branch information
robert-ancell committed Jun 15, 2016
1 parent 371a94e commit 82b15e9
Show file tree
Hide file tree
Showing 4 changed files with 830 additions and 1 deletion.
14 changes: 13 additions & 1 deletion src/plugins/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ plugin_LTLIBRARIES = \
libgs_plugin_provenance-license.la \
libgs_plugin_fedora-tagger-usage.la \
libgs_plugin_epiphany.la \
libgs_plugin_icons.la
libgs_plugin_icons.la \
libgs_plugin_snap.la

if HAVE_PACKAGEKIT
plugin_LTLIBRARIES += \
Expand Down Expand Up @@ -328,6 +329,17 @@ libgs_plugin_packagekit_proxy_la_LIBADD = $(GS_PLUGIN_LIBS)
libgs_plugin_packagekit_proxy_la_LDFLAGS = -module -avoid-version
libgs_plugin_packagekit_proxy_la_CFLAGS = $(GS_PLUGIN_CFLAGS) $(WARN_CFLAGS)

libgs_plugin_snap_la_SOURCES = \
gs-plugin-snap.c \
gs-snapd.h \
gs-snapd.c
libgs_plugin_snap_la_LIBADD = \
$(GS_PLUGIN_LIBS) \
$(SOUP_LIBS) \
$(JSON_GLIB_LIBS)
libgs_plugin_snap_la_LDFLAGS = -module -avoid-version
libgs_plugin_snap_la_CFLAGS = $(GS_PLUGIN_CFLAGS) $(WARN_CFLAGS)

if ENABLE_TESTS
check_PROGRAMS = \
gs-self-test
Expand Down
Loading

0 comments on commit 82b15e9

Please sign in to comment.