diff options
| author | Ross Burton <ross.burton@intel.com> | 2012-07-19 15:04:36 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-22 11:42:16 +0100 |
| commit | a7d5d6192d6d37c9748b7b992b50a79ec9f16fac (patch) | |
| tree | 731047c141c5019af2774c51c65f9c30fd4adc1f | |
| parent | 39d33aa8cb666a0ae809b8213d93d37a56818b4a (diff) | |
| download | poky-a7d5d6192d6d37c9748b7b992b50a79ec9f16fac.tar.gz | |
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>
| -rw-r--r-- | meta/recipes-gnome/gnome/gobject-introspection_1.32.1.bb | 11 | ||||
| -rw-r--r-- | meta/recipes-gnome/gnome/gobject-introspection_git.bb | 11 |
2 files changed, 7 insertions, 15 deletions
diff --git a/meta/recipes-gnome/gnome/gobject-introspection_1.32.1.bb b/meta/recipes-gnome/gnome/gobject-introspection_1.32.1.bb index f51e83e3f4..2be10be500 100644 --- a/meta/recipes-gnome/gnome/gobject-introspection_1.32.1.bb +++ b/meta/recipes-gnome/gnome/gobject-introspection_1.32.1.bb | |||
| @@ -3,6 +3,8 @@ DEPENDS = "glib-2.0 libffi python-native gobject-introspection-native" | |||
| 3 | DEPENDS_virtclass-native = "glib-2.0-native libffi-native python-native bison-native flex-native" | 3 | DEPENDS_virtclass-native = "glib-2.0-native libffi-native python-native bison-native flex-native" |
| 4 | BBCLASSEXTEND = "native" | 4 | BBCLASSEXTEND = "native" |
| 5 | 5 | ||
| 6 | PR = "r1" | ||
| 7 | |||
| 6 | SHRT_VER = "${@d.getVar('PV',1).split('.')[0]}.${@d.getVar('PV',1).split('.')[1]}" | 8 | SHRT_VER = "${@d.getVar('PV',1).split('.')[0]}.${@d.getVar('PV',1).split('.')[1]}" |
| 7 | SRC_URI = "\ | 9 | SRC_URI = "\ |
| 8 | ${GNOME_MIRROR}/${BPN}/${SHRT_VER}/${BP}.tar.xz \ | 10 | ${GNOME_MIRROR}/${BPN}/${SHRT_VER}/${BP}.tar.xz \ |
| @@ -17,15 +19,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=90d577535a3898e1ae5dbf0ae3509a8c \ | |||
| 17 | file://COPYING.GPL;md5=94d55d512a9ba36caa9b7df079bae19f \ | 19 | file://COPYING.GPL;md5=94d55d512a9ba36caa9b7df079bae19f \ |
| 18 | file://COPYING.LGPL;md5=3bf50002aefd002f49e7bb854063f7e7" | 20 | file://COPYING.LGPL;md5=3bf50002aefd002f49e7bb854063f7e7" |
| 19 | 21 | ||
| 20 | inherit autotools | 22 | inherit autotools gtk-doc |
| 21 | 23 | ||
| 22 | do_configure_prepend () { | 24 | do_configure_prepend () { |
| 23 | echo "EXTRA_DIST = " > ${S}/gtk-doc.make | 25 | echo "EXTRA_DIST = " > ${S}/gtk-doc.make |
| 24 | } | 26 | } |
| 25 | 27 | ||
| 26 | EXTRA_OECONF = "\ | 28 | EXTRA_OECONF = "--disable-tests" |
| 27 | --disable-gtk-doc \ | ||
| 28 | --disable-gtk-doc-html \ | ||
| 29 | --disable-gtk-doc-pdf \ | ||
| 30 | --disable-tests \ | ||
| 31 | " | ||
diff --git a/meta/recipes-gnome/gnome/gobject-introspection_git.bb b/meta/recipes-gnome/gnome/gobject-introspection_git.bb index 83523845d8..1e0dd61cce 100644 --- a/meta/recipes-gnome/gnome/gobject-introspection_git.bb +++ b/meta/recipes-gnome/gnome/gobject-introspection_git.bb | |||
| @@ -13,21 +13,16 @@ LIC_FILES_CHKSUM = "file://COPYING.tools;md5=94d55d512a9ba36caa9b7df079bae19f \ | |||
| 13 | 13 | ||
| 14 | SRCREV = "8d64bc23d2b837421ecf9c7b0e4b8d5d95ca0d21" | 14 | SRCREV = "8d64bc23d2b837421ecf9c7b0e4b8d5d95ca0d21" |
| 15 | PV = "1.29.0+gitr${SRCPV}" | 15 | PV = "1.29.0+gitr${SRCPV}" |
| 16 | PR = "r1" | ||
| 17 | |||
| 16 | DEFAULT_PREFERENCE = "-1" | 18 | DEFAULT_PREFERENCE = "-1" |
| 17 | 19 | ||
| 18 | S = "${WORKDIR}/git" | 20 | S = "${WORKDIR}/git" |
| 19 | 21 | ||
| 20 | inherit autotools | 22 | inherit autotools gtk-doc |
| 21 | 23 | ||
| 22 | BBCLASSEXTEND = "native" | 24 | BBCLASSEXTEND = "native" |
| 23 | 25 | ||
| 24 | do_configure_prepend () { | ||
| 25 | echo "EXTRA_DIST = " > ${S}/gtk-doc.make | ||
| 26 | } | ||
| 27 | |||
| 28 | EXTRA_OECONF = "\ | 26 | EXTRA_OECONF = "\ |
| 29 | --disable-gtk-doc \ | ||
| 30 | --disable-gtk-doc-html \ | ||
| 31 | --disable-gtk-doc-pdf \ | ||
| 32 | --disable-tests \ | 27 | --disable-tests \ |
| 33 | " | 28 | " |
