aboutsummaryrefslogtreecommitdiff
path: root/bindings/vala/examples
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-11-09 20:58:24 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-11-10 04:58:57 +0000
commitdef21c26e7c517b3abd8db299b8601742bccbafd (patch)
tree1ab46a157df1b28f1545b89d05c5b00a1466ec0a /bindings/vala/examples
parentbf7bc280421b10b395e8620181568ea389b8a396 (diff)
downloadlibayatana-appindicator-def21c26e7c517b3abd8db299b8601742bccbafd.tar.gz
libayatana-appindicator-def21c26e7c517b3abd8db299b8601742bccbafd.tar.bz2
libayatana-appindicator-def21c26e7c517b3abd8db299b8601742bccbafd.zip
Fork from Ubuntu's libappindicator project.
Diffstat (limited to 'bindings/vala/examples')
-rw-r--r--bindings/vala/examples/Makefile.am23
-rw-r--r--bindings/vala/examples/ayatana-indicator-example.vala (renamed from bindings/vala/examples/indicator-example.vala)0
2 files changed, 12 insertions, 11 deletions
diff --git a/bindings/vala/examples/Makefile.am b/bindings/vala/examples/Makefile.am
index 67ad932..315447c 100644
--- a/bindings/vala/examples/Makefile.am
+++ b/bindings/vala/examples/Makefile.am
@@ -4,36 +4,37 @@ else
VER=
endif
-VALAFILES = indicator-example.vala
+VALAFILES = ayatana-indicator-example.vala
EXTRA_DIST = $(VALAFILES)
VALAFLAGS = \
- --pkg appindicator$(VER)-0.1 \
+ --pkg ayatana-appindicator$(VER)-0.1 \
--vapidir=$(top_builddir)/bindings/vala \
--save-temps
if HAVE_VALAC
-BUILT_SOURCES = indicator-example.c
+BUILT_SOURCES = ayatana-indicator-example.c
-indicator-example.c: $(VALAFILES) Makefile.am
+ayatana-indicator-example.c: $(VALAFILES) Makefile.am
$(VALAC) $(VALAFLAGS) -C $< -o $@
- $(SED) -i "s|#include\s*<\s*libappindicator/app-indicator.h\s*>||g" $@
+ $(SED) -i "s|#include\s*<\s*libayatana-appindicator/app-indicator.h\s*>||g" $@
-nodist_indicator_example_SOURCES = indicator-example.c
-indicator_example_CFLAGS = \
+nodist_ayatana_indicator_example_SOURCES = ayatana-indicator-example.c
+ayatana_indicator_example_CFLAGS = \
$(LIBRARY_CFLAGS) \
-Wall \
-I$(top_srcdir)/src \
-include $(top_srcdir)/src/app-indicator.h
-indicator_example_LDADD = \
+ayatana_indicator_example_LDADD = \
$(LIBRARY_LIBS) \
- $(top_builddir)/src/libappindicator$(VER).la
+ $(top_builddir)/src/libayatana-appindicator$(VER).la
-check_PROGRAMS = indicator-example
+check_PROGRAMS = ayatana-indicator-example
CLEANFILES = \
*.c \
- indicator-example
+ ayatana-indicator-example
+DISTCLEANFILES = Makefile.in
endif
diff --git a/bindings/vala/examples/indicator-example.vala b/bindings/vala/examples/ayatana-indicator-example.vala
index 764009f..764009f 100644
--- a/bindings/vala/examples/indicator-example.vala
+++ b/bindings/vala/examples/ayatana-indicator-example.vala