classes/autotools_stage.bbclass: Add autotools_stage class to simplify recipes using standard autotools
This commit is contained in:
parent
f9f549d06f
commit
e380b48602
|
@ -0,0 +1,5 @@
|
|||
inherit autotools
|
||||
|
||||
do_stage () {
|
||||
autotools_stage_all
|
||||
}
|
|
@ -5,10 +5,6 @@ LICENSE = "LGPL"
|
|||
|
||||
DEPENDS = "glib-2.0 gtk-doc-native"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
inherit autotools_stage pkgconfig
|
||||
|
||||
EXTRA_OECONF = "--disable-glibtest"
|
||||
|
||||
do_stage () {
|
||||
autotools_stage_all
|
||||
}
|
||||
|
|
|
@ -13,7 +13,7 @@ SRC_URI = "http://avahi.org/download/avahi-${PV}.tar.gz \
|
|||
file://99avahi-autoipd \
|
||||
file://initscript.patch;patch=1"
|
||||
|
||||
inherit autotools pkgconfig update-rc.d
|
||||
inherit autotools_stage pkgconfig update-rc.d
|
||||
|
||||
EXTRA_OECONF = "--with-distro=debian \
|
||||
--with-avahi-priv-access-group=adm \
|
||||
|
|
|
@ -6,7 +6,3 @@ PR = "r8"
|
|||
FILES_avahi-autoipd = "${sbindir}/avahi-autoipd \
|
||||
${sysconfdir}/avahi/avahi-autoipd.action \
|
||||
${sysconfdir}/dhcp3/*/avahi-autoipd"
|
||||
|
||||
do_stage() {
|
||||
autotools_stage_all
|
||||
}
|
||||
|
|
|
@ -7,11 +7,7 @@ HOMEPAGE="http://sourceforge.net/projects/beecrypt"
|
|||
SRC_URI="${SOURCEFORGE_MIRROR}/beecrypt/beecrypt-${PV}.tar.gz \
|
||||
file://x64fix.patch;patch=1"
|
||||
|
||||
inherit autotools
|
||||
inherit autotools_stage
|
||||
acpaths=""
|
||||
|
||||
EXTRA_OECONF="--with-arch=${TARGET_ARCH} --enable-shared --enable-static"
|
||||
|
||||
do_stage () {
|
||||
autotools_stage_all
|
||||
}
|
||||
|
|
|
@ -8,7 +8,7 @@ LICENSE = "MPL LGPL"
|
|||
require cairo-fpu.inc
|
||||
EXTRA_OECONF += "${@get_cairo_fpu_setting(bb, d)}"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
inherit autotools_stage pkgconfig
|
||||
|
||||
do_stage () {
|
||||
autotools_stage_all
|
||||
|
|
|
@ -39,7 +39,7 @@ EXTRA_OECONF = "--disable-aspell-test \
|
|||
|
||||
CFLAGS += "-D_GNU_SOURCE"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
inherit autotools_stage pkgconfig
|
||||
|
||||
do_install_append() {
|
||||
install -d ${D}${datadir}/applications
|
||||
|
@ -48,10 +48,6 @@ do_install_append() {
|
|||
install -m 0644 claws-mail.png ${D}${datadir}/pixmaps/
|
||||
}
|
||||
|
||||
do_stage () {
|
||||
autotools_stage_all
|
||||
}
|
||||
|
||||
#python populate_packages_prepend () {
|
||||
# abiword_libdir = bb.data.expand('${libdir}/claws-mail/plugins', d)
|
||||
#
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
|
@ -18,7 +18,7 @@ SRC_URI = "git://moblin.org/repos/projects/connman.git;protocol=http \
|
|||
INITSCRIPT_NAME = "connman"
|
||||
INITSCRIPT_PARAMS = "defaults 22"
|
||||
|
||||
inherit autotools pkgconfig update-rc.d
|
||||
inherit autotools_stage pkgconfig update-rc.d
|
||||
|
||||
do_install_append() {
|
||||
install -m 0755 ${WORKDIR}/connman ${D}${sysconfdir}/init.d/connman
|
||||
|
@ -42,7 +42,3 @@ python populate_packages_prepend() {
|
|||
plugin_name = bb.data.expand('${PN}-plugin-%s', d)
|
||||
do_split_packages(d, plugin_dir, '^lib(.*).so$', plugin_name, '${PN} plugin for %s', extra_depends='' )
|
||||
}
|
||||
|
||||
do_stage() {
|
||||
autotools_stage_all
|
||||
}
|
||||
|
|
|
@ -4,8 +4,4 @@ SRC_URI = "http://dri.freedesktop.org/libdrm/libdrm-${PV}.tar.bz2"
|
|||
PROVIDES = "drm"
|
||||
DEPENDS = "libpthread-stubs"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
|
||||
do_stage() {
|
||||
autotools_stage_all
|
||||
}
|
||||
inherit autotools_stage pkgconfig
|
||||
|
|
|
@ -12,8 +12,4 @@ PV = "2.4.0+git${SRCREV}"
|
|||
|
||||
LEAD_SONAME = "libdrm.so"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
|
||||
do_stage() {
|
||||
autotools_stage_all
|
||||
}
|
||||
inherit autotools_stage pkgconfig
|
||||
|
|
|
@ -11,7 +11,7 @@ SRC_URI = "http://ftp.gnome.org/pub/GNOME/mobile/2.23/2.23.92/sources/evolution-
|
|||
|
||||
S = "${WORKDIR}/evolution-data-server-dbus-${PV}"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
inherit autotools_stage pkgconfig
|
||||
|
||||
# -ldb needs this on some platforms
|
||||
LDFLAGS += "-lpthread"
|
||||
|
@ -20,10 +20,6 @@ do_configure_append () {
|
|||
cp ${WORKDIR}/iconv-detect.h ${S}
|
||||
}
|
||||
|
||||
do_stage () {
|
||||
autotools_stage_all
|
||||
}
|
||||
|
||||
EXTRA_OECONF = "--without-openldap --with-dbus --without-bug-buddy \
|
||||
--with-soup --with-libdb=${STAGING_DIR_HOST}${layout_prefix} \
|
||||
--disable-smime --disable-nss --disable-nntp --disable-gtk-doc"
|
||||
|
|
|
@ -13,7 +13,7 @@ SRC_URI = "svn://svn.o-hand.com/repos/${PN};module=trunk;proto=http \
|
|||
|
||||
S = "${WORKDIR}/trunk"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
inherit autotools_stage pkgconfig
|
||||
|
||||
# -ldb needs this on some platforms
|
||||
LDFLAGS += "-lpthread"
|
||||
|
@ -22,10 +22,6 @@ do_configure_append () {
|
|||
cp ${WORKDIR}/iconv-detect.h ${S}
|
||||
}
|
||||
|
||||
do_stage () {
|
||||
autotools_stage_all
|
||||
}
|
||||
|
||||
EXTRA_OECONF = "--without-openldap --with-dbus --without-bug-buddy \
|
||||
--with-soup --with-libdb=${STAGING_DIR_HOST}${layout_prefix} \
|
||||
--disable-smime --disable-nss --disable-nntp --disable-gtk-doc"
|
||||
|
|
|
@ -9,14 +9,10 @@ SRC_URI = "ftp://ftp.astron.com/pub/file/file-${PV}.tar.gz \
|
|||
file://filesystems"
|
||||
S = "${WORKDIR}/file-${PV}"
|
||||
|
||||
inherit autotools
|
||||
inherit autotools_stage
|
||||
|
||||
do_configure_prepend() {
|
||||
sed -i -e 's,$(top_builddir)/src/file,file,' ${S}/magic/Makefile.am
|
||||
cp ${WORKDIR}/dump ${S}/magic/Magdir/
|
||||
cp ${WORKDIR}/filesystems ${S}/magic/Magdir/
|
||||
}
|
||||
|
||||
do_stage() {
|
||||
autotools_stage_all
|
||||
}
|
||||
|
|
|
@ -7,10 +7,6 @@ SRC_URI = "http://www.galago-project.org/files/releases/source/${PN}/${P}.tar.gz
|
|||
file://pkgconfig.patch;patch=1 "
|
||||
PR = "r1"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
inherit autotools_stage pkgconfig
|
||||
|
||||
EXTRA_OECONF = "--disable-tests --disable-check"
|
||||
|
||||
do_stage() {
|
||||
autotools_stage_all
|
||||
}
|
||||
|
|
|
@ -7,12 +7,8 @@ SRC_URI = "ftp://ftp.gnu.org/gnu/gmp/gmp-${PV}.tar.bz2 \
|
|||
file://configure.patch;patch=1 \
|
||||
file://amd64.patch;patch=1"
|
||||
|
||||
inherit autotools
|
||||
inherit autotools_stage
|
||||
|
||||
ARM_INSTRUCTION_SET = "arm"
|
||||
|
||||
acpaths = ""
|
||||
|
||||
do_stage () {
|
||||
autotools_stage_all
|
||||
}
|
||||
|
|
|
@ -3,7 +3,7 @@ SECTION = "x11/gnome"
|
|||
|
||||
PR = "r1"
|
||||
|
||||
inherit autotools gnome pkgconfig
|
||||
inherit autotools_stage gnome pkgconfig
|
||||
|
||||
DEPENDS = "gtk+ libgcrypt"
|
||||
|
||||
|
@ -17,7 +17,3 @@ do_install_append () {
|
|||
}
|
||||
|
||||
FILES_${PN} += "${datadir}/dbus-1/services"
|
||||
|
||||
do_stage() {
|
||||
autotools_stage_all
|
||||
}
|
||||
|
|
|
@ -13,7 +13,7 @@ SRC_URI = "svn://svn.openmoko.org/trunk/src/target;module=gsm;proto=http \
|
|||
file://default"
|
||||
S = "${WORKDIR}/gsm"
|
||||
|
||||
inherit autotools pkgconfig update-rc.d
|
||||
inherit autotools_stage pkgconfig update-rc.d
|
||||
# handle update-rc.d RDEPENDS manually, we don't need it on
|
||||
# anything but gsmd
|
||||
RDEPENDS_append = ""
|
||||
|
@ -21,10 +21,6 @@ RDEPENDS_append = ""
|
|||
INITSCRIPT_NAME = "gsmd"
|
||||
INITSCRIPT_PARAMS = "defaults 35"
|
||||
|
||||
do_stage() {
|
||||
autotools_stage_all
|
||||
}
|
||||
|
||||
do_install_append() {
|
||||
install -d ${D}/${sysconfdir}/init.d
|
||||
install -m 0755 ${WORKDIR}/gsmd ${D}/${sysconfdir}/init.d/
|
||||
|
|
|
@ -3,7 +3,7 @@ SECTION = "multimedia"
|
|||
PRIORITY = "optional"
|
||||
DEPENDS = "gstreamer"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
inherit autotools_stage pkgconfig
|
||||
|
||||
SRC_URI = "http://gstreamer.freedesktop.org/src/${PN}/${PN}-${PV}.tar.bz2"
|
||||
|
||||
|
@ -27,8 +27,4 @@ python populate_packages_prepend () {
|
|||
do_split_packages(d, gst_libdir, 'libgst(.*)\.l?a$', 'gst-plugin-%s-dev', 'GStreamer plugin for %s (development files)', extra_depends=bb.data.expand('${PN}-dev',d))
|
||||
}
|
||||
|
||||
do_stage() {
|
||||
autotools_stage_all
|
||||
}
|
||||
|
||||
ALLOW_EMPTY = "1"
|
||||
|
|
|
@ -7,7 +7,7 @@ HOMEPAGE = "http://www.gstreamer.net/"
|
|||
DEPENDS = "glib-2.0 gettext-native libxml2 bison-native flex-native"
|
||||
PR = "r1"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
inherit autotools_stage pkgconfig
|
||||
|
||||
SRC_URI = "http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-${PV}.tar.bz2 \
|
||||
file://gst-inspect-check-error.patch;patch=1 \
|
||||
|
@ -26,10 +26,6 @@ do_configure_prepend() {
|
|||
|
||||
PARALLEL_MAKE = ""
|
||||
|
||||
do_stage() {
|
||||
autotools_stage_all
|
||||
}
|
||||
|
||||
FILES_${PN} += " ${libdir}/gstreamer-0.10/*.so"
|
||||
FILES_${PN}-dev += " ${libdir}/gstreamer-0.10/*.la ${libdir}/gstreamer-0.10/*.a"
|
||||
FILES_${PN}-dbg += " ${libdir}/gstreamer-0.10/.debug/"
|
||||
|
|
|
@ -3,12 +3,8 @@ DEPENDS = "glib-2.0 libsoup-2.4 libglade"
|
|||
|
||||
SRC_URI = "http://gupnp.org/sources/${PN}/${PN}-${PV}.tar.gz"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
inherit autotools_stage pkgconfig
|
||||
|
||||
PACKAGES =+ "gssdp-tools"
|
||||
|
||||
FILES_gssdp-tools = "${bindir}/gssdp* ${datadir}/gssdp/*.glade"
|
||||
|
||||
do_stage() {
|
||||
autotools_stage_all
|
||||
}
|
||||
|
|
|
@ -3,12 +3,7 @@ DEPENDS = "e2fsprogs gssdp libsoup-2.4 libxml2"
|
|||
|
||||
SRC_URI = "http://gupnp.org/sources/${PN}/${PN}-${PV}.tar.gz"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
|
||||
do_stage() {
|
||||
autotools_stage_all
|
||||
}
|
||||
|
||||
inherit autotools_stage pkgconfig
|
||||
|
||||
FILES_${PN} = "${libdir}/*.so.*"
|
||||
FILES_${PN}-dev += "${bindir}/gupnp-binding-tool"
|
||||
|
|
|
@ -3,7 +3,7 @@ LICENSE = "GPL"
|
|||
SECTION = "x11"
|
||||
DEPENDS = "glib-2.0 dbus bluez-libs dbus-glib"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
inherit autotools_stage pkgconfig
|
||||
|
||||
EXTRA_OECONF += "--with-distro=debian"
|
||||
|
||||
|
|
|
@ -5,6 +5,6 @@ DEPENDS = "glib-2.0 dbus bluez-libs dbus-glib libxslt"
|
|||
|
||||
SRC_URI = "http://gypsy.freedesktop.org/gypsy-releases/gypsy-${PV}.tar.gz"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
inherit autotools_stage pkgconfig
|
||||
|
||||
FILES_${PN} += "/usr/share/dbus-1/services/"
|
||||
|
|
|
@ -7,7 +7,7 @@ S = "${WORKDIR}/icu/source"
|
|||
|
||||
PARALLEL_MAKE = ""
|
||||
|
||||
inherit autotools pkgconfig binconfig
|
||||
inherit autotools_stage pkgconfig binconfig
|
||||
|
||||
do_configure() {
|
||||
libtoolize --force
|
||||
|
|
|
@ -34,8 +34,4 @@ FILES_libiculx = "${libdir}/libiculx.so.*"
|
|||
FILES_libicutu = "${libdir}/libicutu.so.*"
|
||||
FILES_libicuio = "${libdir}/libicuio.so.*"
|
||||
|
||||
do_stage() {
|
||||
autotools_stage_all
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -7,13 +7,8 @@ PACKAGE_ARCH = "all"
|
|||
|
||||
SRC_URI = "ftp://pkg-isocodes.alioth.debian.org/pub/pkg-isocodes/iso-codes-${PV}.tar.gz"
|
||||
|
||||
inherit autotools
|
||||
inherit autotools_stage
|
||||
|
||||
FILES_${PN}-dev="${datadir}/pkgconfig/iso-codes.pc"
|
||||
FILES_${PN}="${datadir}/xml/iso-codes/ \
|
||||
${datadir}/iso-codes/"
|
||||
|
||||
do_stage() {
|
||||
autotools_stage_all
|
||||
}
|
||||
|
||||
|
|
|
@ -9,15 +9,11 @@ PR = "r1"
|
|||
SRC_URI = "${SOURCEFORGE_MIRROR}/libetpan/libetpan-${PV}.tar.gz \
|
||||
file://cxx-is-here.patch;patch=1"
|
||||
|
||||
inherit autotools pkgconfig gettext binconfig
|
||||
inherit autotools_stage pkgconfig gettext binconfig
|
||||
|
||||
EXTRA_OECONF = "--without-openssl --with-gnutls --disable-db"
|
||||
|
||||
PARALLEL_MAKE = ""
|
||||
|
||||
do_stage() {
|
||||
autotools_stage_all
|
||||
}
|
||||
|
||||
FILES_${PN} = "${libdir}/lib*.so.*"
|
||||
FILES_${PN}-dev = "${bindir} ${includedir} ${libdir}/lib*.so ${libdir}/*.la ${libdir}/*.a ${libdir}/pkgconfig"
|
||||
|
|
|
@ -5,14 +5,10 @@ LICENSE = "LGPL"
|
|||
|
||||
SRC_URI = "${SOURCEFORGE_MIRROR}/libexif/libexif-${PV}.tar.bz2"
|
||||
|
||||
inherit autotools
|
||||
inherit autotools_stage
|
||||
|
||||
do_configure_append() {
|
||||
sed -i s:doc\ binary:binary:g Makefile
|
||||
}
|
||||
|
||||
AUTOTOOLS_STAGE_PKGCONFIG = "1"
|
||||
|
||||
do_stage() {
|
||||
autotools_stage_all
|
||||
}
|
||||
|
|
|
@ -7,16 +7,12 @@ DEPENDS = "libgpg-error"
|
|||
SRC_URI = "ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-${PV}.tar.gz \
|
||||
file://add-pkgconfig-support.patch;patch=1"
|
||||
|
||||
inherit autotools binconfig pkgconfig
|
||||
inherit autotools_stage binconfig pkgconfig
|
||||
|
||||
EXTRA_OECONF = "--without-pth --disable-asm --with-capabilities"
|
||||
|
||||
ARM_INSTRUCTION_SET = "arm"
|
||||
|
||||
do_stage() {
|
||||
autotools_stage_all
|
||||
}
|
||||
|
||||
# move libgcrypt-config into -dev package
|
||||
FILES_${PN} = "${libdir}/lib*.so.*"
|
||||
FILES_${PN}-dev += "${bindir} ${libdir}/pkgconfig/*.pc"
|
||||
|
|
|
@ -7,8 +7,4 @@ S = "${WORKDIR}/git"
|
|||
|
||||
SRC_URI = "git://moblin.org/repos/projects/libgdbus.git;protocol=http"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
|
||||
do_stage() {
|
||||
autotools_stage_all
|
||||
}
|
||||
inherit autotools_stage pkgconfig
|
||||
|
|
|
@ -6,17 +6,13 @@ DEPENDS = "libxml2 sed-native expat"
|
|||
SRC_URI = "${SOURCEFORGE_MIRROR}/wbxmllib/${P}.tar.gz \
|
||||
file://no-doc-install.patch;patch=1"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
inherit autotools_stage pkgconfig
|
||||
|
||||
do_configure_append() {
|
||||
sed -i s:-I/usr/include::g Makefile
|
||||
sed -i s:-I/usr/include::g */Makefile
|
||||
}
|
||||
|
||||
do_stage() {
|
||||
autotools_stage_all
|
||||
}
|
||||
|
||||
PACKAGES += "${PN}-tools"
|
||||
|
||||
FILES_${PN}-tools = "${bindir}"
|
||||
|
|
|
@ -23,7 +23,7 @@ SRC_URI = "\
|
|||
|
||||
S = "${WORKDIR}/"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
inherit autotools_stage pkgconfig
|
||||
|
||||
EXTRA_OECONF = "\
|
||||
--enable-debug=no \
|
||||
|
@ -48,10 +48,6 @@ do_compile_prepend() {
|
|||
cd ${S}
|
||||
}
|
||||
|
||||
do_stage() {
|
||||
autotools_stage_all
|
||||
}
|
||||
|
||||
PACKAGES =+ "${PN}launcher-dbg ${PN}launcher libjavascriptcore"
|
||||
FILES_${PN}launcher = "${bindir}/GtkLauncher"
|
||||
FILES_${PN}launcher-dbg = "${bindir}/.debug/GtkLauncher"
|
||||
|
|
|
@ -7,12 +7,8 @@ PR = "r3"
|
|||
SRC_URI = "${SOURCEFORGE_MIRROR}/wvware/wv-${PV}.tar.gz \
|
||||
file://pkgconfig.patch;patch=1"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
inherit autotools_stage pkgconfig
|
||||
|
||||
S = "${WORKDIR}/${PN}-${PV}"
|
||||
|
||||
EXTRA_OECONF = ""
|
||||
|
||||
do_stage () {
|
||||
autotools_stage_all
|
||||
}
|
||||
|
|
|
@ -11,11 +11,7 @@ PARALLEL_MAKE = ""
|
|||
|
||||
SRC_URI = "http://xcb.freedesktop.org/dist/libpthread-stubs-${PV}.tar.bz2"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
|
||||
do_stage() {
|
||||
autotools_stage_all
|
||||
}
|
||||
inherit autotools_stage pkgconfig
|
||||
|
||||
RDEPENDS_${PN}-dev = ""
|
||||
RRECOMMENDS_${PN}-dbg = "${PN}-dev (= ${DEBPV})"
|
||||
|
|
|
@ -40,7 +40,7 @@ FILES_libxcb-xtest = "${libdir}/libxcb-xtest.so.*"
|
|||
FILES_libxcb-xv = "${libdir}/libxcb-xv.so.*"
|
||||
FILES_libxcb-xvmc = "${libdir}/libxcb-xvmc.so.*"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
inherit autotools_stage pkgconfig
|
||||
|
||||
# XCBPROTO_XCBINCLUDEDIR is setup based on `pkg-config --variable=xcbincludedir xcb-proto`
|
||||
# but the xcbincludedir variable doesn't point into the staging area, so it needs some
|
||||
|
@ -49,7 +49,3 @@ do_configure_prepend () {
|
|||
sed -i "s|XCBPROTO_XCBINCLUDEDIR=|XCBPROTO_XCBINCLUDEDIR=${STAGING_DIR_HOST}/|" \
|
||||
${S}/configure.ac
|
||||
}
|
||||
|
||||
do_stage() {
|
||||
autotools_stage_all
|
||||
}
|
||||
|
|
|
@ -6,11 +6,7 @@ PR = "r2"
|
|||
|
||||
SRC_URI = "http://xlibs.freedesktop.org/xkbdesc/xkeyboard-config-${PV}.tar.bz2"
|
||||
|
||||
inherit autotools
|
||||
|
||||
do_stage() {
|
||||
autotools_stage_all
|
||||
}
|
||||
inherit autotools_stage
|
||||
|
||||
do_install_append () {
|
||||
install -d ${D}/usr/share/X11/xkb/compiled
|
||||
|
|
|
@ -10,10 +10,6 @@ SRC_URI = "${XORG_MIRROR}/individual/app/${XORG_PN}-${PV}.tar.bz2"
|
|||
|
||||
S = "${WORKDIR}/${XORG_PN}-${PV}"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
|
||||
do_stage() {
|
||||
autotools_stage_all
|
||||
}
|
||||
inherit autotools_stage pkgconfig
|
||||
|
||||
FILES_${PN} += " /usr/lib/X11/${XORG_PN}"
|
||||
|
|
|
@ -16,11 +16,7 @@ S = "${WORKDIR}/${XORG_PN}-${PV}"
|
|||
FILES_${PN} += " ${libdir}/xorg/modules/drivers/*.so"
|
||||
FILES_${PN}-dbg += " ${libdir}/xorg/modules/drivers/.debug"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
|
||||
do_stage() {
|
||||
autotools_stage_all
|
||||
}
|
||||
inherit autotools_stage pkgconfig
|
||||
|
||||
# AC_CHECK_FILE doesn't work when cross compiling, so we create a replacement
|
||||
# macro that simply assumes the test succeeds.
|
||||
|
|
|
@ -9,10 +9,6 @@ SRC_URI = "${XORG_MIRROR}/individual/lib/${XORG_PN}-${PV}.tar.bz2"
|
|||
|
||||
S = "${WORKDIR}/${XORG_PN}-${PV}"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
inherit autotools_stage pkgconfig
|
||||
|
||||
EXTRA_OECONF = "--enable-malloc0returnsnull"
|
||||
|
||||
do_stage() {
|
||||
autotools_stage_all
|
||||
}
|
||||
|
|
|
@ -9,12 +9,8 @@ SRC_URI = "${XORG_MIRROR}/individual/proto/${XORG_PN}-${PV}.tar.bz2"
|
|||
|
||||
S = "${WORKDIR}/${XORG_PN}-${PV}"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
inherit autotools_stage pkgconfig
|
||||
|
||||
# ${PN} is empty so we need to tweak -dev and -dbg package dependencies
|
||||
RDEPENDS_${PN}-dev = ""
|
||||
RRECOMMENDS_${PN}-dbg = "${PN}-dev (= ${DEBPV})"
|
||||
|
||||
do_stage() {
|
||||
autotools_stage_all
|
||||
}
|
||||
|
|
|
@ -8,8 +8,4 @@ SRC_URI = "${XORG_MIRROR}/individual/util/${XORG_PN}-${PV}.tar.gz"
|
|||
|
||||
S = "${WORKDIR}/${XORG_PN}-${PV}"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
|
||||
do_stage() {
|
||||
autotools_stage_all
|
||||
}
|
||||
inherit autotools_stage pkgconfig
|
||||
|
|
|
@ -16,7 +16,7 @@ SRC_URI = "${XORG_MIRROR}/individual/xserver/${XORG_PN}-${PV}.tar.bz2 \
|
|||
|
||||
S = "${WORKDIR}/${XORG_PN}-${PV}"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
inherit autotools_stage pkgconfig
|
||||
|
||||
PACKAGES =+ "${PN}-utils"
|
||||
|
||||
|
@ -33,10 +33,6 @@ CONFFILES_${PN} += "${sysconfdir}/X11/xorg.conf"
|
|||
|
||||
SRC_URI += "file://macro_tweak.patch;patch=1"
|
||||
|
||||
do_stage() {
|
||||
autotools_stage_all
|
||||
}
|
||||
|
||||
do_install_append () {
|
||||
install -d ${D}/${sysconfdir}/X11
|
||||
install -m 0644 ${WORKDIR}/xorg.conf ${D}/${sysconfdir}/X11/
|
||||
|
|
Loading…
Reference in New Issue