vala: new package
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Sat, 15 Oct 2011 03:07:29 +0000 (00:07 -0300)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sat, 15 Oct 2011 21:16:45 +0000 (23:16 +0200)
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/Config.in
package/vala/Config.in [new file with mode: 0644]
package/vala/vala.mk [new file with mode: 0644]

index 39a80a25b2424f934c9b2c68d4501fd9a4d94a5e..30a9dcb39ae87cdabb732e0dd800cc2b4bf29049 100644 (file)
@@ -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 (file)
index 0000000..89b4459
--- /dev/null
@@ -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 (file)
index 0000000..b1217cb
--- /dev/null
@@ -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))