mirror of
https://git.yoctoproject.org/poky
synced 2026-04-21 12:32:15 +02:00
Patch cleans up and fixes dependencies of 'vala' in the following way: * remove deps on 'gtk+' + 'dbus'; these packages are not required and 'gkt+' is high barrier preventing using 'vala' on headless systems * 'bison-native' is required both on native and target builds; 'DEPENDS' and 'DEPENDS_virtclass-native' and 'DEPENDS' can be merged hence * 'flex-native' is required * although 'xsltproc' (from libxslt-native) is optional, a dependency on it was added to make builds deterministic. An alternative method might be 'EXTRA_OECONF += "ac_cv_path_XSLTPROC=:"' but this is error prone as it depends on internals of the build system. (From OE-Core rev: 8834e6b2aa70a2b3d43550d3912e16b8f5c12d7e) Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 lines
731 B
PHP
20 lines
731 B
PHP
DESCRIPTION = "Vala is a C#-like language dedicated to ease GObject programming. \
|
|
Vala compiles to plain C and has no runtime environment nor penalities whatsoever."
|
|
SECTION = "devel"
|
|
DEPENDS = "bison-native flex-native libxslt-native glib-2.0"
|
|
BBCLASSEXTEND = "native"
|
|
HOMEPAGE = "http://vala-project.org"
|
|
LICENSE = "LGPLv2.1"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
|
|
INC_PR = "r1"
|
|
|
|
SHRT_VER = "${@d.getVar('PV',1).split('.')[0]}.${@d.getVar('PV',1).split('.')[1]}"
|
|
|
|
SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/${BPN}/${SHRT_VER}/${BP}.tar.xz"
|
|
inherit autotools
|
|
|
|
EXTRA_OECONF = "--disable-vapigen"
|
|
|
|
FILES_${PN}-doc += "${datadir}/devhelp"
|
|
FILES_${PN} += "${datadir}/${BPN}-${SHRT_VER}/vapi"
|