mirror of
https://git.yoctoproject.org/poky
synced 2026-09-14 03:49:32 +02:00
classes/autotools_stage.bbclass: Add autotools_stage class to simplify recipes using standard autotools
This commit is contained in:
@@ -4,9 +4,4 @@ LICENSE = "GPL"
|
||||
|
||||
DEPENDS = "clutter-0.6 libxml2 gtk+ neon"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
|
||||
do_stage () {
|
||||
autotools_stage_all
|
||||
}
|
||||
|
||||
inherit autotools_stage pkgconfig
|
||||
|
||||
@@ -7,11 +7,7 @@ DEPENDS = "clutter-0.8"
|
||||
# The main clutter lib is machine specific so we need to be too
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
inherit autotools pkgconfig gtk-doc
|
||||
|
||||
do_stage () {
|
||||
autotools_stage_all
|
||||
}
|
||||
inherit autotools_stage pkgconfig gtk-doc
|
||||
|
||||
do_install_append () {
|
||||
install -d ${D}${bindir}
|
||||
|
||||
@@ -9,9 +9,5 @@ FILESPATH = "${FILE_DIRNAME}/clutter-cairo"
|
||||
PACKAGES =+ "${PN}-examples"
|
||||
FILES_${PN}-examples = "${bindir}/flowers ${bindir}/clock"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
|
||||
do_stage () {
|
||||
autotools_stage_all
|
||||
}
|
||||
inherit autotools_stage pkgconfig
|
||||
|
||||
|
||||
@@ -9,9 +9,5 @@ FILESPATH = "${FILE_DIRNAME}/clutter-gst"
|
||||
PACKAGES =+ "${PN}-examples"
|
||||
FILES_${PN}-examples = "${bindir}/video-player ${bindir}/video-sink ${bindir}/audio"
|
||||
|
||||
inherit autotools pkgconfig gtk-doc
|
||||
|
||||
do_stage () {
|
||||
autotools_stage_all
|
||||
}
|
||||
inherit autotools_stage pkgconfig gtk-doc
|
||||
|
||||
|
||||
@@ -9,9 +9,5 @@ FILESPATH = "${FILE_DIRNAME}/clutter-gtk"
|
||||
PACKAGES =+ "${PN}-examples"
|
||||
FILES_${PN}-examples = "${bindir}/gtk-clutter-test ${bindir}/gtk-clutter-events ${bindir}/gtk-clutter-multistage"
|
||||
|
||||
inherit autotools pkgconfig gtk-doc
|
||||
|
||||
do_stage () {
|
||||
autotools_stage_all
|
||||
}
|
||||
inherit autotools_stage pkgconfig gtk-doc
|
||||
|
||||
|
||||
@@ -9,9 +9,5 @@ FILESPATH = "${FILE_DIRNAME}/clutter-helix"
|
||||
PACKAGES =+ "${PN}-examples"
|
||||
FILES_${PN}-examples = "${bindir}/video-player ${bindir}/audio-player"
|
||||
|
||||
inherit autotools pkgconfig gtk-doc
|
||||
|
||||
do_stage () {
|
||||
autotools_stage_all
|
||||
}
|
||||
inherit autotools_stage pkgconfig gtk-doc
|
||||
|
||||
|
||||
@@ -45,7 +45,7 @@ PACKAGE_ARCH_menlow = "${MACHINE_ARCH}"
|
||||
|
||||
FILESPATH = "${FILE_DIRNAME}/clutter"
|
||||
|
||||
inherit autotools pkgconfig gtk-doc
|
||||
inherit autotools_stage pkgconfig gtk-doc
|
||||
|
||||
PACKAGES =+ "clutter-examples"
|
||||
FILES_clutter-examples = "${bindir}/test-* ${pkgdatadir}/redhand.png"
|
||||
@@ -58,7 +58,3 @@ do_configure_prepend() {
|
||||
sed -i s:doc/reference/Makefile::g ${S}/configure.ac
|
||||
sed -i s:doc::g ${S}/Makefile.am
|
||||
}
|
||||
|
||||
do_stage () {
|
||||
autotools_stage_all
|
||||
}
|
||||
|
||||
@@ -4,14 +4,10 @@ LICENSE = "LGPL"
|
||||
|
||||
DEPENDS = "clutter-gst-0.6 gnome-vfs"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
inherit autotools_stage pkgconfig
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${bindir}
|
||||
install -m 0755 ${S}/table ${D}${bindir}/table
|
||||
}
|
||||
|
||||
#do_stage () {
|
||||
# autotools_stage_all
|
||||
#}
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ BASE_CONF = "--disable-gtk-doc"
|
||||
DEPENDS = "${STDDEPENDS}"
|
||||
EXTRA_OECONF = "${BASE_CONF}"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
inherit autotools_stage pkgconfig
|
||||
|
||||
PACKAGES =+ "tidy-examples"
|
||||
FILES_tidy-examples = "${bindir}/test-*"
|
||||
@@ -18,7 +18,3 @@ do_configure_prepend() {
|
||||
sed -i s:docs/reference/Makefile::g ${S}/configure.ac
|
||||
sed -i s:docs::g ${S}/Makefile.am
|
||||
}
|
||||
|
||||
do_stage () {
|
||||
autotools_stage_all
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user