diff options
-rw-r--r-- | packages/vala/vala-native_0.5.7.bb | 6 | ||||
-rw-r--r-- | packages/vala/vala-native_git.bb | 14 | ||||
-rw-r--r-- | packages/vala/vala.inc | 4 |
3 files changed, 20 insertions, 4 deletions
diff --git a/packages/vala/vala-native_0.5.7.bb b/packages/vala/vala-native_0.5.7.bb index bc99ebf0a6..735c93f3f6 100644 --- a/packages/vala/vala-native_0.5.7.bb +++ b/packages/vala/vala-native_0.5.7.bb @@ -2,3 +2,9 @@ require vala_${PV}.bb inherit native DEPENDS = "glib-2.0-native" + +# work around timestamp problem in tarball +do_compile_prepend() { + touch gobject/gobject.vala.stamp +} + diff --git a/packages/vala/vala-native_git.bb b/packages/vala/vala-native_git.bb new file mode 100644 index 0000000000..b33dbc28ab --- /dev/null +++ b/packages/vala/vala-native_git.bb @@ -0,0 +1,14 @@ +require vala_0.5.7.bb +# vala from git always needs the latest released version to compile itself +DEPENDS = "vala-native" + +SRCREV = "633493367757a8e5f663c69c975bf525ab8a6d53" +PV := "0.5.7+0.5.8pre01-git${SRCREV}" + +DEFAULT_PREFERENCE = "-1" + +SRC_URI = "${GNOME_GIT}/vala;protocol=git;branch=master" +S = "${WORKDIR}/git" + +inherit native +DEPENDS = "glib-2.0-native" diff --git a/packages/vala/vala.inc b/packages/vala/vala.inc index 492bf0f1f2..f5ea1ee520 100644 --- a/packages/vala/vala.inc +++ b/packages/vala/vala.inc @@ -17,8 +17,4 @@ inherit autotools autotools_stage lib_package EXTRA_OECONF = "--enable-vapigen" -do_compile_prepend() { - touch gobject/gobject.vala.stamp -} - FILES_${PN}-doc += ${datadir}/devhelp |