diff options
author | Michael 'Mickey' Lauer <mickey@vanille-media.de> | 2009-03-05 15:40:07 +0100 |
---|---|---|
committer | Michael 'Mickey' Lauer <mickey@vanille-media.de> | 2009-03-05 15:40:22 +0100 |
commit | b722597d1b5273144a8bdcf11fa2fdf1fdcf754c (patch) | |
tree | 2e023264927d3d556ac0c49d68942c8f2d8a18c2 /packages | |
parent | 4051f77a46d144e8a59cd1d370257d9332405e95 (diff) |
vala-native: add git version (DP=-1)
Diffstat (limited to 'packages')
-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 |