Skip to content

Commit

Permalink
Improved build system for flatpak environments
Browse files Browse the repository at this point in the history
  • Loading branch information
powerwaremediacore committed May 26, 2016
1 parent 3e48b35 commit eab0cd7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion librescl/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ if DEBUG
endif

AM_VALAFLAGS += \
--vapidir=$(VAPIDIR) \
$(top_srcdir)/vapi/config.vapi \
--pkg gxml-0.10 \
-C -H lscl.h \
Expand Down Expand Up @@ -202,7 +203,7 @@ pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = lscl-0.6.pc

lscl-0.6.vapi: liblscl-0.6.la
vapidir = $(datadir)/vala/vapi
vapidir = $(VAPIDIR)
dist_vapi_DATA = \
lscl-0.6.vapi \
lscl-0.6.deps
Expand Down
1 change: 1 addition & 0 deletions plugins/default/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ if DEBUG
endif

AM_VALAFLAGS += \
--vapidir=$(VAPIDIR) \
$(top_srcdir)/vapi/config.vapi \
$(top_builddir)/librescl/lscl-0.6.vapi \
--pkg gxml-0.10 \
Expand Down
4 changes: 3 additions & 1 deletion test/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,10 @@ sources = \
private-test.vala

AM_VALAFLAGS = \
--vapidir=$(VAPIDIR) \
--vapidir=$(top_builddir)/librescl \
$(top_srcdir)/vapi/config.vapi \
--vapidir=$(top_srcdir)/vapi
--pkg config \
--pkg glib-2.0 \
--pkg gio-2.0 \
--pkg gee-0.8 \
Expand Down

0 comments on commit eab0cd7

Please sign in to comment.