summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/Config.in1
-rw-r--r--package/vala/Config.in14
-rw-r--r--package/vala/vala.mk15
3 files changed, 30 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index 39a80a25b..30a9dcb39 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -144,6 +144,7 @@ source "package/rdesktop/Config.in"
source "package/sylpheed/Config.in"
source "package/synergy/Config.in"
source "package/torsmo/Config.in"
+source "package/vala/Config.in"
source "package/x11vnc/Config.in"
source "package/xstroke/Config.in"
source "package/xterm/Config.in"
diff --git a/package/vala/Config.in b/package/vala/Config.in
new file mode 100644
index 000000000..89b445933
--- /dev/null
+++ b/package/vala/Config.in
@@ -0,0 +1,14 @@
+config BR2_PACKAGE_VALA
+ bool "vala"
+ depends on BR2_USE_WCHAR # glib2
+ select BR2_PACKAGE_LIBGLIB2
+ select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
+ select BR2_PACKAGE_LIBINTL if BR2_NEEDS_GETTEXT_IF_LOCALE
+ select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
+ help
+ Compiler for the GObject type system.
+
+ http://live.gnome.org/Vala
+
+comment "vala requires a toolchain with WCHAR support"
+ depends on !BR2_USE_WCHAR
diff --git a/package/vala/vala.mk b/package/vala/vala.mk
new file mode 100644
index 000000000..b1217cbee
--- /dev/null
+++ b/package/vala/vala.mk
@@ -0,0 +1,15 @@
+#############################################################
+#
+# vala
+#
+#############################################################
+
+VALA_VERSION = 0.12.1
+VALA_SITE = http://download.gnome.org/sources/vala/0.12
+VALA_SOURCE = vala-$(VALA_VERSION).tar.bz2
+VALA_DEPENDENCIES = host-flex libglib2 \
+ $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext libintl)
+HOST_VALA_DEPENDENCIES = host-flex host-libglib2
+
+$(eval $(call AUTOTARGETS))
+$(eval $(call AUTOTARGETS,host))