recipes: use allarch.bbclass instead just PACKAGE_ARCH = all

* otherwise such recipes are rebuilt or reused from sstate after every
  MACHINE change, because of different checksums see [YOCTO #1075]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Martin Jansa
2011-05-19 08:32:24 +02:00
committed by Koen Kooi
parent c80829768e
commit ea8d7d2d14
21 changed files with 31 additions and 29 deletions

View File

@@ -8,7 +8,7 @@ S = "${WORKDIR}/git"
SRCREV = "4064489f359a1addf572089b582f317dff5f50e1" SRCREV = "4064489f359a1addf572089b582f317dff5f50e1"
PV = "0.0+gitr${SRCPV}" PV = "0.0+gitr${SRCPV}"
PE = "1" PE = "1"
PR = "r4" PR = "r5"
LICENSE = "MIT BSD" LICENSE = "MIT BSD"
LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=f523ab5986cc79b52a90d2ac3d5454a2" LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=f523ab5986cc79b52a90d2ac3d5454a2"
@@ -30,7 +30,7 @@ illume-keyboard-russian-terminal \
illume-keyboard-persian \ illume-keyboard-persian \
" "
PACKAGE_ARCH = "all" inherit allarch
KEYBOARDS_DIR="${libdir}/enlightenment/modules/illume-keyboard/keyboards" KEYBOARDS_DIR="${libdir}/enlightenment/modules/illume-keyboard/keyboards"
AUTHOR_illume-keyboard-alpha = "Jesus McCloud" AUTHOR_illume-keyboard-alpha = "Jesus McCloud"

View File

@@ -3,7 +3,7 @@ SECTION = "base"
PRIORITY = "optional" PRIORITY = "optional"
DEPENDS = "tzcode-native" DEPENDS = "tzcode-native"
INC_PR = "r9" INC_PR = "r10"
DEFAULT_TIMEZONE ?= "Europe/London" DEFAULT_TIMEZONE ?= "Europe/London"
@@ -48,7 +48,7 @@ do_install () {
cp -pPR ${S}/build${datadir}/zoneinfo/${DEFAULT_TIMEZONE} ${D}${sysconfdir}/localtime cp -pPR ${S}/build${datadir}/zoneinfo/${DEFAULT_TIMEZONE} ${D}${sysconfdir}/localtime
} }
PACKAGE_ARCH = "all" inherit allarch
# Packages primarily organized by directory with a major city # Packages primarily organized by directory with a major city
# in most time zones in the base package # in most time zones in the base package

View File

@@ -2,6 +2,8 @@ DESCRIPTION = "Scripts to be called when fonts are installed or removed \
to make them known to the WM, whether X11 or Opie" to make them known to the WM, whether X11 or Opie"
AUTHOR = "Rolf Leggewie <oe-devel@rolf.leggewie.biz" AUTHOR = "Rolf Leggewie <oe-devel@rolf.leggewie.biz"
PR = "r1"
LICENSE = "MIT" LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
@@ -13,4 +15,4 @@ do_install() {
install -m 0755 ${WORKDIR}/update-fonts ${D}${bindir} install -m 0755 ${WORKDIR}/update-fonts ${D}${bindir}
} }
PACKAGE_ARCH = "all" inherit allarch

View File

@@ -3,9 +3,9 @@ SECTION = "fonts"
LICENSE = "MIT" LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
PV = "1.0" PV = "1.0"
PR = "r0" PR = "r1"
inherit task inherit task allarch
PACKAGES += "\ PACKAGES += "\
${PN}-core \ ${PN}-core \

View File

@@ -4,7 +4,7 @@ LICENSE = "Arphic Public License"
LIC_FILES_CHKSUM = "file://README;md5=62be011094b7865ddc4d1a648444d31a" LIC_FILES_CHKSUM = "file://README;md5=62be011094b7865ddc4d1a648444d31a"
SRC_DISTRIBUTE_LICENSES += "${PN}" SRC_DISTRIBUTE_LICENSES += "${PN}"
RPROVIDES_${PN} = "virtual-chinese-font" RPROVIDES_${PN} = "virtual-chinese-font"
PR = "r2" PR = "r3"
SRC_URI = \ SRC_URI = \
"http://archive.ubuntu.com/ubuntu/pool/main/t/ttf-arphic-uming/ttf-arphic-uming_0.2.${PV}.1.orig.tar.gz" "http://archive.ubuntu.com/ubuntu/pool/main/t/ttf-arphic-uming/ttf-arphic-uming_0.2.${PV}.1.orig.tar.gz"

View File

@@ -12,7 +12,7 @@ RDEPENDS_${PN}-sans-condensed = "${PN}-common"
RDEPENDS_${PN}-serif = "${PN}-common" RDEPENDS_${PN}-serif = "${PN}-common"
RDEPENDS_${PN}-serif-condensed = "${PN}-common" RDEPENDS_${PN}-serif-condensed = "${PN}-common"
RDEPENDS_${PN}-common = "" RDEPENDS_${PN}-common = ""
PR = "r3" PR = "r4"
SRC_URI = "${SOURCEFORGE_MIRROR}/dejavu/dejavu-fonts-ttf-${PV}.tar.bz2 \ SRC_URI = "${SOURCEFORGE_MIRROR}/dejavu/dejavu-fonts-ttf-${PV}.tar.bz2 \
file://30-dejavu-aliases.conf" file://30-dejavu-aliases.conf"

View File

@@ -3,7 +3,7 @@ require ttf.inc
DESCRIPTION = "Droid fonts - TTF Edition" DESCRIPTION = "Droid fonts - TTF Edition"
HOMEPAGE = "http://www.droidfonts.com/" HOMEPAGE = "http://www.droidfonts.com/"
LICENSE = "Apache-2.0" LICENSE = "Apache-2.0"
PR = "r0" PR = "r1"
# git magic below - SRCREV is an ID of /data/fonts subtree # git magic below - SRCREV is an ID of /data/fonts subtree
# (so we don't need to fetch full platform/frameworks/base.git) # (so we don't need to fetch full platform/frameworks/base.git)
SRCREV = "31f255e44e618ff3b923f332e8fcb83403fd39f5" SRCREV = "31f255e44e618ff3b923f332e8fcb83403fd39f5"

View File

@@ -4,7 +4,7 @@ DESCRIPTION = "Gentium fonts - TTF Version"
HOMEPAGE = "http://scripts.sil.org/gentium" HOMEPAGE = "http://scripts.sil.org/gentium"
LICENSE = "SIL Open Font License" LICENSE = "SIL Open Font License"
LICENSE_URL = "http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&item_id=OFL" LICENSE_URL = "http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&item_id=OFL"
PR = "r3" PR = "r4"
SRC_URI = "${DEBIAN_MIRROR}/main/t/ttf-gentium/ttf-gentium_${PV}.orig.tar.gz \ SRC_URI = "${DEBIAN_MIRROR}/main/t/ttf-gentium/ttf-gentium_${PV}.orig.tar.gz \
file://OFL.gz" file://OFL.gz"

View File

@@ -3,7 +3,7 @@ require ttf.inc
DESCRIPTION = "Hunky fonts - TTF Version" DESCRIPTION = "Hunky fonts - TTF Version"
HOMEPAGE = "http://sourceforge.net/projects/hunkyfonts" HOMEPAGE = "http://sourceforge.net/projects/hunkyfonts"
LICENSE = "LGPL" LICENSE = "LGPL"
PR = "r3" PR = "r4"
SRC_URI = "${SOURCEFORGE_MIRROR}/hunkyfonts/hunkyfonts-${PV}.tar.bz2" SRC_URI = "${SOURCEFORGE_MIRROR}/hunkyfonts/hunkyfonts-${PV}.tar.bz2"

View File

@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
file://License.txt;md5=5b171c5100029d884fcea21d9a2b7543 \ file://License.txt;md5=5b171c5100029d884fcea21d9a2b7543 \
" "
PR = "r3" PR = "r4"
SRC_URI = "http://fedorahosted.org/liberation-fonts/export/807b6dfd069b998cd9b4d3158da98817ef23c79d/F-9/liberation-fonts-ttf-3.tar.gz" SRC_URI = "http://fedorahosted.org/liberation-fonts/export/807b6dfd069b998cd9b4d3158da98817ef23c79d/F-9/liberation-fonts-ttf-3.tar.gz"
S = "${WORKDIR}/liberation-fonts-${PV}" S = "${WORKDIR}/liberation-fonts-${PV}"

View File

@@ -3,7 +3,7 @@ require ttf.inc
DESCRIPTION = "MPlus font - TTF Edition" DESCRIPTION = "MPlus font - TTF Edition"
HOMEPAGE = "http://dejavu.sourceforge.net/wiki/" HOMEPAGE = "http://dejavu.sourceforge.net/wiki/"
LICENSE = "${PN}" LICENSE = "${PN}"
PR = "r0" PR = "r1"
SRC_URI = "http://osdn.dl.sourceforge.jp/mplus-fonts/6650/mplus-TESTFLIGHT-${PV}.tar.gz" SRC_URI = "http://osdn.dl.sourceforge.jp/mplus-fonts/6650/mplus-TESTFLIGHT-${PV}.tar.gz"
S = "${WORKDIR}/mplus-TESTFLIGHT-${PV}" S = "${WORKDIR}/mplus-TESTFLIGHT-${PV}"

View File

@@ -9,7 +9,7 @@ LICENSE = "Public domain"
LIC_FILES_CHKSUM = "file://README;md5=97d739900be6e852830f55aa3c07d4a0" LIC_FILES_CHKSUM = "file://README;md5=97d739900be6e852830f55aa3c07d4a0"
SRC_DISTRIBUTE_LICENSES += "${PN}" SRC_DISTRIBUTE_LICENSES += "${PN}"
RPROVIDES_${PN} = "virtual-japanese-font" RPROVIDES_${PN} = "virtual-japanese-font"
PR = "r5" PR = "r6"
SRC_URI = "http://osdn.dl.sourceforge.jp/efont/10087/sazanami-20040629.tar.bz2" SRC_URI = "http://osdn.dl.sourceforge.jp/efont/10087/sazanami-20040629.tar.bz2"
S = "${WORKDIR}/sazanami-20040629" S = "${WORKDIR}/sazanami-20040629"

View File

@@ -3,7 +3,7 @@ require ttf.inc
DESCRIPTION = "Ubuntu Font Family - TTF Version" DESCRIPTION = "Ubuntu Font Family - TTF Version"
HOMEPAGE = "http://font.ubuntu.com" HOMEPAGE = "http://font.ubuntu.com"
LICENSE = "UFL" LICENSE = "UFL"
PR = "r0" PR = "r1"
SRC_URI = "http://font.ubuntu.com/download/ubuntu-font-family-${PV}+ufl.zip" SRC_URI = "http://font.ubuntu.com/download/ubuntu-font-family-${PV}+ufl.zip"
SRC_URI[md5sum] = "2c3287ea72f81ce025095f7a6d68af28" SRC_URI[md5sum] = "2c3287ea72f81ce025095f7a6d68af28"

View File

@@ -4,6 +4,7 @@ DESCRIPTION = "WenQuanYi Zen Hei - A Hei-Ti Style Chinese font"
AUTHOR = "Qianqian Fang and The WenQuanYi Project Contributors" AUTHOR = "Qianqian Fang and The WenQuanYi Project Contributors"
HOMEPAGE = "http://wqy.sourceforge.net/en/" HOMEPAGE = "http://wqy.sourceforge.net/en/"
LICENSE = "GPLv2" LICENSE = "GPLv2"
PR = "r1"
SRC_URI = "${SOURCEFORGE_MIRROR}/wqy/wqy-zenhei-${PV}-0.tar.gz" SRC_URI = "${SOURCEFORGE_MIRROR}/wqy/wqy-zenhei-${PV}-0.tar.gz"
S = "${WORKDIR}/wqy-zenhei" S = "${WORKDIR}/wqy-zenhei"

View File

@@ -20,4 +20,4 @@ pkg_postrm_append() {
update-fonts update-fonts
} }
PACKAGE_ARCH = "all" inherit allarch

View File

@@ -2,7 +2,7 @@ DESCRIPTION = "Common X11 scripts and support files"
LICENSE = "GPLv2" LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
PR = "r2" PR = "r3"
# we are using a gpe-style Makefile # we are using a gpe-style Makefile
inherit gpe inherit gpe
@@ -29,7 +29,7 @@ do_install_append() {
sed -i 's:^BINDIR=.*$:BINDIR=${bindir}:' ${D}/etc/X11/xserver-common sed -i 's:^BINDIR=.*$:BINDIR=${bindir}:' ${D}/etc/X11/xserver-common
} }
PACKAGE_ARCH = "all" inherit allarch
RDEPENDS_${PN} = "xmodmap xrandr xdpyinfo fbset xinput-calibrator" RDEPENDS_${PN} = "xmodmap xrandr xdpyinfo fbset xinput-calibrator"

View File

@@ -5,14 +5,14 @@ SECTION = "x11"
PRIORITY = "optional" PRIORITY = "optional"
RDEPENDS_${PN} = "xserver-common (>= 1.30) xinit" RDEPENDS_${PN} = "xserver-common (>= 1.30) xinit"
DEFAULT_PREFERENCE = "-1" DEFAULT_PREFERENCE = "-1"
PR = "r4" PR = "r5"
SRC_URI = "file://xserver-nodm \ SRC_URI = "file://xserver-nodm \
file://gplv2-license.patch \ file://gplv2-license.patch \
" "
S = ${WORKDIR} S = ${WORKDIR}
PACKAGE_ARCH = "all" inherit allarch
do_install() { do_install() {
install -d ${D}/etc install -d ${D}/etc

View File

@@ -30,7 +30,7 @@ do_install_append() {
done done
} }
PACKAGE_ARCH = "all" inherit allarch
PACKAGES = "${PN}" PACKAGES = "${PN}"
pkg_postinst_${PN} () { pkg_postinst_${PN} () {

View File

@@ -3,7 +3,7 @@ LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
PV = "0.1.0" PV = "0.1.0"
PR = "r5" PR = "r6"
SRC_URI = "file://fb.modes" SRC_URI = "file://fb.modes"
@@ -12,6 +12,6 @@ do_install() {
install -m 0644 ${WORKDIR}/fb.modes ${D}${sysconfdir} install -m 0644 ${WORKDIR}/fb.modes ${D}${sysconfdir}
} }
PACKAGE_ARCH = "all" inherit allarch
CONFFILES_${PN} = "${sysconfdir}/fb.modes" CONFFILES_${PN} = "${sysconfdir}/fb.modes"

View File

@@ -5,13 +5,13 @@ LIC_FILES_CHKSUM = "file://debian/README;md5=36bbe2ace0a05c3fb684b73208fbf30b"
DEPENDS = "file" DEPENDS = "file"
RRECOMMENDS_${PN} = "file" RRECOMMENDS_${PN} = "file"
PR = "r1" PR = "r2"
SRC_URI = "${DEBIAN_MIRROR}/main/m/mime-support/mime-support_${PV}-1.tar.gz" SRC_URI = "${DEBIAN_MIRROR}/main/m/mime-support/mime-support_${PV}-1.tar.gz"
S = "${WORKDIR}/${PN}" S = "${WORKDIR}/${PN}"
FILES_${PN} += " ${libdir}/mime" FILES_${PN} += " ${libdir}/mime"
PACKAGE_ARCH = "all" inherit allarch
docdir_append = "/${PN}" docdir_append = "/${PN}"

View File

@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4870b98343f0bbb25fa43b9d2ba59448 \
file://COPYING.gpl2;md5=751419260aa954499f7abaabaa882bbe \ file://COPYING.gpl2;md5=751419260aa954499f7abaabaa882bbe \
" "
PR = "r1" PR = "r2"
SRC_URI = "http://poppler.freedesktop.org/${PN}-${PV}.tar.gz" SRC_URI = "http://poppler.freedesktop.org/${PN}-${PV}.tar.gz"
@@ -17,8 +17,7 @@ do_install() {
} }
FILES_${PN} += "${datadir}" FILES_${PN} += "${datadir}"
PACKAGE_ARCH = "all" inherit allarch
SRC_URI[md5sum] = "6975bf8e9ea2cfb42b9ecdbcc257cf57" SRC_URI[md5sum] = "6975bf8e9ea2cfb42b9ecdbcc257cf57"
SRC_URI[sha256sum] = "5caf7e10b7b0c6a4e1e753af09be52224e88bb8fbcb47794ad72b99b9e24b109" SRC_URI[sha256sum] = "5caf7e10b7b0c6a4e1e753af09be52224e88bb8fbcb47794ad72b99b9e24b109"