From 38aea51b22d1e63b778c0e0cc654edb71b828c4a Mon Sep 17 00:00:00 2001 From: Jon Lund Steffensen Date: Tue, 25 May 2010 01:23:42 +0200 Subject: Add location provider that reads location from the gconf key associated with the GNOME Clock applet. The implementation is rather simplistic as it only reads the location once on init but that'll have to do for now. --- src/Makefile.am | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am index e4f88de..c07aea3 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -18,7 +18,8 @@ redshift_SOURCES = \ EXTRA_redshift_SOURCES = \ gamma-randr.c gamma-randr.h \ gamma-vidmode.c gamma-vidmode.h \ - gamma-w32gdi.c gamma-w32gdi.h + gamma-w32gdi.c gamma-w32gdi.h \ + location-gnome-clock.c location-gnome-clock.h AM_CFLAGS = redshift_LDADD = @LIBINTL@ @@ -44,3 +45,11 @@ if ENABLE_WINGDI redshift_SOURCES += gamma-w32gdi.c gamma-w32gdi.h redshift_LDADD += -lgdi32 endif + +if ENABLE_GNOME_CLOCK +redshift_SOURCES += location-gnome-clock.c location-gnome-clock.h +AM_CFLAGS += $(GLIB_CFLAGS) $(GCONF_CFLAGS) +redshift_LDADD += \ + $(GLIB_LIBS) $(GLIB_CFLAGS) \ + $(GCONF_LIBS) $(GCONF_CFLAGS) +endif -- cgit v1.2.3-70-g09d2