mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 12:29:55 +00:00
gobject-introspection: cleanup thanks to new gtk-doc.bbclass
(From OE-Core rev: 38284f890bbed3c3f24044bbae8c25da604ca187) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
39d33aa8cb
commit
a7d5d6192d
@@ -3,6 +3,8 @@ DEPENDS = "glib-2.0 libffi python-native gobject-introspection-native"
|
|||||||
DEPENDS_virtclass-native = "glib-2.0-native libffi-native python-native bison-native flex-native"
|
DEPENDS_virtclass-native = "glib-2.0-native libffi-native python-native bison-native flex-native"
|
||||||
BBCLASSEXTEND = "native"
|
BBCLASSEXTEND = "native"
|
||||||
|
|
||||||
|
PR = "r1"
|
||||||
|
|
||||||
SHRT_VER = "${@d.getVar('PV',1).split('.')[0]}.${@d.getVar('PV',1).split('.')[1]}"
|
SHRT_VER = "${@d.getVar('PV',1).split('.')[0]}.${@d.getVar('PV',1).split('.')[1]}"
|
||||||
SRC_URI = "\
|
SRC_URI = "\
|
||||||
${GNOME_MIRROR}/${BPN}/${SHRT_VER}/${BP}.tar.xz \
|
${GNOME_MIRROR}/${BPN}/${SHRT_VER}/${BP}.tar.xz \
|
||||||
@@ -17,15 +19,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=90d577535a3898e1ae5dbf0ae3509a8c \
|
|||||||
file://COPYING.GPL;md5=94d55d512a9ba36caa9b7df079bae19f \
|
file://COPYING.GPL;md5=94d55d512a9ba36caa9b7df079bae19f \
|
||||||
file://COPYING.LGPL;md5=3bf50002aefd002f49e7bb854063f7e7"
|
file://COPYING.LGPL;md5=3bf50002aefd002f49e7bb854063f7e7"
|
||||||
|
|
||||||
inherit autotools
|
inherit autotools gtk-doc
|
||||||
|
|
||||||
do_configure_prepend () {
|
do_configure_prepend () {
|
||||||
echo "EXTRA_DIST = " > ${S}/gtk-doc.make
|
echo "EXTRA_DIST = " > ${S}/gtk-doc.make
|
||||||
}
|
}
|
||||||
|
|
||||||
EXTRA_OECONF = "\
|
EXTRA_OECONF = "--disable-tests"
|
||||||
--disable-gtk-doc \
|
|
||||||
--disable-gtk-doc-html \
|
|
||||||
--disable-gtk-doc-pdf \
|
|
||||||
--disable-tests \
|
|
||||||
"
|
|
||||||
|
|||||||
@@ -13,21 +13,16 @@ LIC_FILES_CHKSUM = "file://COPYING.tools;md5=94d55d512a9ba36caa9b7df079bae19f \
|
|||||||
|
|
||||||
SRCREV = "8d64bc23d2b837421ecf9c7b0e4b8d5d95ca0d21"
|
SRCREV = "8d64bc23d2b837421ecf9c7b0e4b8d5d95ca0d21"
|
||||||
PV = "1.29.0+gitr${SRCPV}"
|
PV = "1.29.0+gitr${SRCPV}"
|
||||||
|
PR = "r1"
|
||||||
|
|
||||||
DEFAULT_PREFERENCE = "-1"
|
DEFAULT_PREFERENCE = "-1"
|
||||||
|
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
inherit autotools
|
inherit autotools gtk-doc
|
||||||
|
|
||||||
BBCLASSEXTEND = "native"
|
BBCLASSEXTEND = "native"
|
||||||
|
|
||||||
do_configure_prepend () {
|
|
||||||
echo "EXTRA_DIST = " > ${S}/gtk-doc.make
|
|
||||||
}
|
|
||||||
|
|
||||||
EXTRA_OECONF = "\
|
EXTRA_OECONF = "\
|
||||||
--disable-gtk-doc \
|
|
||||||
--disable-gtk-doc-html \
|
|
||||||
--disable-gtk-doc-pdf \
|
|
||||||
--disable-tests \
|
--disable-tests \
|
||||||
"
|
"
|
||||||
|
|||||||
Reference in New Issue
Block a user