SRC_URI, S: use BPN instead of PN for multilib case

in multilibcase, PN has multilib prefix, so it is not
correct to use PN in SRC_URI and S. instead,  we've
dedicately pruned multilib prefix in BPN, so BPN is
the right alternative for PN.

(From OE-Core rev: d6dca85028640034b1a5356920aad3268bd4f1c2)

Signed-off-by: Yu Ke <ke.y@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Yu Ke 2011-07-28 21:28:20 +08:00 committed by Richard Purdie
parent 8a1114d175
commit a242da91a2
48 changed files with 50 additions and 50 deletions

View File

@ -1,6 +1,6 @@
DESCRIPTION = "FarSight is an audio/video conferencing framework specifically designed for Instant Messengers."
HOMEPAGE = "http://farsight.sf.net"
SRC_URI = "http://farsight.freedesktop.org/releases/farsight2/${P}.tar.gz"
SRC_URI = "http://farsight.freedesktop.org/releases/farsight2/${BPN}-${PV}.tar.gz"
LICENSE = "GPLv2.1"
DEPENDS = "libnice glib-2.0 libxml2 zlib dbus gstreamer gst-plugins-base"

View File

@ -5,6 +5,6 @@ LICENSE = "LGPL"
DEPENDS = "glib-2.0 gnutls libcheck"
PR = "r2"
SRC_URI = "http://ftp.imendio.com/pub/imendio/${PN}/src/${PN}-${PV}.tar.bz2"
SRC_URI = "http://ftp.imendio.com/pub/imendio/${BPN}/src/${BPN}-${PV}.tar.bz2"
inherit autotools pkgconfig

View File

@ -2,7 +2,7 @@ DEPENDS = "libopensync (>= 0.36)"
DESCRIPTION ?= "OpenSync plugin"
SRC_URI = "http://opensync.org/download/releases/${PV}/${P}.tar.bz2"
SRC_URI = "http://opensync.org/download/releases/${PV}/${BPN}-${PV}.tar.bz2"
inherit cmake

View File

@ -5,7 +5,7 @@ HOMEPAGE = "http://telepathy.freedesktop.org/wiki/"
DEPENDS = "glib-2.0 dbus telepathy-glib farsight2"
LICENSE = "LGPLv2"
SRC_URI = "http://telepathy.freedesktop.org/releases/telepathy-farsight/${P}.tar.gz \
SRC_URI = "http://telepathy.freedesktop.org/releases/telepathy-farsight/${BPN}-${PV}.tar.gz \
"
inherit autotools

View File

@ -5,7 +5,7 @@ DEPENDS = "glib-2.0 dbus loudmouth telepathy-glib dbus-glib"
LICENSE = "LGPL"
# gabble.manager needs to get regenerated every release, so please don't copy it over blindly
SRC_URI = "http://telepathy.freedesktop.org/releases/telepathy-gabble/${P}.tar.gz \
SRC_URI = "http://telepathy.freedesktop.org/releases/telepathy-gabble/${BPN}-${PV}.tar.gz \
file://gabble.manager"
inherit autotools pkgconfig

View File

@ -7,7 +7,7 @@ LICENSE = "GPLv2"
DEPENDS = "libxml2 sed-native expat"
SRC_URI = "${SOURCEFORGE_MIRROR}/wbxmllib/${P}.tar.gz \
SRC_URI = "${SOURCEFORGE_MIRROR}/wbxmllib/${BPN}-${PV}.tar.gz \
file://no-doc-install.patch;patch=1"
inherit autotools pkgconfig

View File

@ -4,7 +4,7 @@ DEPENDS = "gtk+"
DESCRIPTION = "gcalctool is a powerful calculator"
PR = "r2"
SRC_URI = "http://download.gnome.org/sources/${PN}/5.7/${PN}-${PV}.tar.gz \
SRC_URI = "http://download.gnome.org/sources/${BPN}/5.7/${BPN}-${PV}.tar.gz \
file://makefile-fix.diff;patch=1\
file://fix-includedir.patch;patch=1"

View File

@ -4,7 +4,7 @@ DEPENDS = "gtk+ gnome-doc-utils"
DESCRIPTION = "gcalctool is a powerful calculator"
PR = "r0"
SRC_URI = "http://download.gnome.org/sources/${PN}/5.8/${PN}-${PV}.tar.gz \
SRC_URI = "http://download.gnome.org/sources/${BPN}/5.8/${BPN}-${PV}.tar.gz \
file://fix-includedir.patch;patch=1"
inherit autotools pkgconfig

View File

@ -6,7 +6,7 @@ PR = "r2"
inherit autotools
SRC_URI = "http://burtonini.com/temp/${PN}-${PV}.tar.gz \
SRC_URI = "http://burtonini.com/temp/${BPN}-${PV}.tar.gz \
file://gtkstylus.sh"
do_install_append() {

View File

@ -9,6 +9,6 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/wvware/wv-${PV}.tar.gz \
inherit autotools pkgconfig
S = "${WORKDIR}/${PN}-${PV}"
S = "${WORKDIR}/${BPN}-${PV}"
EXTRA_OECONF = ""

View File

@ -3,7 +3,7 @@ LICENSE = "GPL"
DEPENDS = "libxml2 glib-2.0 gtk+ loudmouth libglade"
PR = "r4"
SRC_URI = "http://jabberstudio.2nw.net/${PN}/${PN}-${PV}.tar.gz \
SRC_URI = "http://jabberstudio.2nw.net/${BPN}/${BPN}-${PV}.tar.gz \
file://fix-configure.patch;patch=1 \
file://fix-desktop-file.patch;patch=0 \
file://gcc4.patch;patch=1"

View File

@ -7,7 +7,7 @@ PV = "0.3+git${SRCPV}"
LIC_FILES_CHKSUM = "file://configure.ac;endline=7;md5=3c4e087662e37f10e469425f3a0ad225"
SRC_URI = "git://git.yoctoproject.org/${PN};protocol=git"
SRC_URI = "git://git.yoctoproject.org/${BPN};protocol=git"
S = "${WORKDIR}/git"
inherit autotools pkgconfig

View File

@ -2,7 +2,7 @@ DESCRIPTION = "Poppler is a PDF rendering library based on the xpdf-3.0 code bas
LICENSE = "Adobe"
PR = "r0"
SRC_URI = "http://poppler.freedesktop.org/${PN}-${PV}.tar.gz"
SRC_URI = "http://poppler.freedesktop.org/${BPN}-${PV}.tar.gz"
do_compile() {
}

View File

@ -3,7 +3,7 @@ DEPENDS = "fontconfig jpeg zlib gtk+ cairo"
LICENSE = "GPL"
PR = "r1"
SRC_URI = "http://poppler.freedesktop.org/${PN}-${PV}.tar.gz"
SRC_URI = "http://poppler.freedesktop.org/${BPN}-${PV}.tar.gz"
inherit autotools pkgconfig

View File

@ -5,7 +5,7 @@ inherit module
SRC_URI = "http://dominion.thruhere.net/koen/OE/omap3-sgx-modules-1.3.13.1397.tar.bz2"
S = ${WORKDIR}/${PN}-${PV}/eurasiacon/build/linux/omap3430_linux/kbuild/
S = ${WORKDIR}/${BPN}-${PV}/eurasiacon/build/linux/omap3430_linux/kbuild/
MAKE_TARGETS = "BUILD=debug"
@ -13,5 +13,5 @@ COMPATIBLE_MACHINE = "(omap-3430ldp|omap-3430sdp|beagleboard|overo)"
do_install() {
mkdir -p ${D}/lib/modules/${KERNEL_VERSION}/drivers/gpu
cp ${WORKDIR}/${PN}-${PV}/eurasiacon/binary_omap3430_linux_debug/*.ko ${D}/lib/modules/${KERNEL_VERSION}/drivers/gpu
cp ${WORKDIR}/${BPN}-${PV}/eurasiacon/binary_omap3430_linux_debug/*.ko ${D}/lib/modules/${KERNEL_VERSION}/drivers/gpu
}

View File

@ -11,7 +11,7 @@ PR = "r3"
SRC_URI = "svn://svn.o-hand.com/repos/misc/trunk;module=zaurusd;proto=http \
file://fix_makefile.patch"
S = "${WORKDIR}/${PN}"
S = "${WORKDIR}/${BPN}"
PACKAGE_ARCH = "${MACHINE_ARCH}"

View File

@ -5,7 +5,7 @@ LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
DEPENDS = "libgalago dbus glib-2.0"
SRC_URI = "http://www.galago-project.org/files/releases/source/${BPN}/${P}.tar.gz "
SRC_URI = "http://www.galago-project.org/files/releases/source/${BPN}/${BPN}-${PV}.tar.gz "
SRC_URI[md5sum] = "fdb81f938f86f380b127158ebb542279"
SRC_URI[sha256sum] = "db42a0d1d0f8b069ea5ac1203207f9178f25ac1367f4910bd48547f5be1db4c2"

View File

@ -2,7 +2,7 @@ require iproute2.inc
PR = "r0"
SRC_URI = "http://developer.osdl.org/dev/iproute2/download/${P}.tar.bz2 \
SRC_URI = "http://developer.osdl.org/dev/iproute2/download/${BPN}-${PV}.tar.bz2 \
file://configure-cross.patch"
SRC_URI[md5sum] = "a243bfea837e71824b7ca26c3bb45fa8"

View File

@ -2,7 +2,7 @@ require ofono.inc
PR = "r1"
SRC_URI = "${KERNELORG_MIRROR}/linux/network/ofono/${P}.tar.bz2 \
SRC_URI = "${KERNELORG_MIRROR}/linux/network/ofono/${BPN}-${PV}.tar.bz2 \
file://ofono"
EXTRA_OECONF += "\

View File

@ -5,7 +5,7 @@ DEPENDS = "glib-2.0 dbus python-native-runtime dbus-native dbus-glib"
LICENSE = "LGPLv2.1+"
PR = "r0"
SRC_URI = "http://telepathy.freedesktop.org/releases/telepathy-glib/${P}.tar.gz"
SRC_URI = "http://telepathy.freedesktop.org/releases/telepathy-glib/${BPN}-${PV}.tar.gz"
SRC_URI[md5sum] = "fe9a4f781651593fd4afddb343ff50bf"
SRC_URI[sha256sum] = "62e759084355ac0fce61feb561a7535a6707b223f0d1e4305fd47c83fa5494d0"

View File

@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1 \
file://src/idle.c;beginline=1;endline=19;md5=b06b1e2594423111a1a7910b0eefc7f9"
PR = "r0"
SRC_URI = "http://telepathy.freedesktop.org/releases/${BPN}/${P}.tar.gz"
SRC_URI = "http://telepathy.freedesktop.org/releases/${BPN}/${BPN}-${PV}.tar.gz"
SRC_URI[md5sum] = "82f5eafa07df5e1abc785061143bbfd2"
SRC_URI[sha256sum] = "384119cc64022626b6f51aaaef605abf248602d8fae25baff82762a097f20fe9"

View File

@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1 \
RDEPENDS_${PN} += "python-dbus"
SRC_URI = "http://telepathy.freedesktop.org/releases/${BPN}/${P}.tar.gz \
SRC_URI = "http://telepathy.freedesktop.org/releases/${BPN}/${BPN}-${PV}.tar.gz \
file://parallel_make.patch"
PR = "r2"

View File

@ -11,6 +11,6 @@ PR = "r2"
SRC_URI = "svn://svn.o-hand.com/repos/misc/trunk;module=dbus-wait;proto=http"
S = "${WORKDIR}/${PN}"
S = "${WORKDIR}/${BPN}"
inherit autotools

View File

@ -10,7 +10,7 @@ DEPENDS = "glib-2.0 gnutls"
PR = "r0"
SRC_URI = "${GNOME_MIRROR}/${PN}/2.28/${PN}-${PV}.tar.bz2"
SRC_URI = "${GNOME_MIRROR}/${BPN}/2.28/${BPN}-${PV}.tar.bz2"
SRC_URI[md5sum] = "c10e51571d03c10111a37bcd21fbf777"
SRC_URI[sha256sum] = "98bedfbd530c4b1b53c91025fe82290bafd289d249e4eb549c3b90d23a76021c"

View File

@ -14,7 +14,7 @@ RRECOMMENDS_${PN} = "avahi-daemon"
# Upstream change this patch periodically so store locally
# http://0pointer.de/public/distcc-avahi.patch
SRC_URI = "http://distcc.googlecode.com/files/${PN}-${PV}.tar.bz2 \
SRC_URI = "http://distcc.googlecode.com/files/${BPN}-${PV}.tar.bz2 \
file://distcc-avahi.patch \
file://makefile-param-order.patch \
file://default \

View File

@ -7,7 +7,7 @@ HOMEPAGE = "http://subversion.tigris.org"
PR = "r0"
SRC_URI = "http://subversion.tigris.org/downloads/${P}.tar.bz2 \
SRC_URI = "http://subversion.tigris.org/downloads/${BPN}-${PV}.tar.bz2 \
file://disable-revision-install.patch;patch=1 \
file://neon-detection.patch;patch=1 \
file://libtool2.patch;patch=1"

View File

@ -19,6 +19,6 @@ SRC_URI[tarball.sha256sum] = "b1e6d5912546d2a4b704ec65c2b9664aa3b4663e7d800e0680
SRC_URI[patch.md5sum] = "2d1bc2f2c38b65d47e27da7c7508d17f"
SRC_URI[patch.sha256sum] = "999f2062203e389327d997724621be37bea9c98fa226238f9f4eb4a6ea25bd4b"
S = "${WORKDIR}/${PN}-4.orig"
S = "${WORKDIR}/${BPN}-4.orig"
inherit autotools

View File

@ -14,7 +14,7 @@ DEPENDS = "libnewt popt"
PR = "r0"
SRC_URI = "http://fedorahosted.org/releases/c/h/chkconfig/${P}.tar.bz2"
SRC_URI = "http://fedorahosted.org/releases/c/h/chkconfig/${BPN}-${PV}.tar.bz2"
SRC_URI[md5sum] = "a576808a6d66763606d750ec451bab6d"
SRC_URI[sha256sum] = "aa36bf7fd3f7c6e3371eddd8a7846b83435c48f132cc5919d83a830504b797d6"

View File

@ -11,7 +11,7 @@ PR = "r0"
inherit pkgconfig autotools gettext
SRC_URI = "http://alpha.gnu.org/gnu/libidn/${P}.tar.gz"
SRC_URI = "http://alpha.gnu.org/gnu/libidn/${BPN}-${PV}.tar.gz"
EXTRA_OECONF = " --disable-tld"

View File

@ -11,7 +11,7 @@ PR = "r0"
inherit pkgconfig autotools gettext
SRC_URI = "${GNU_MIRROR}/libidn/${P}.tar.gz"
SRC_URI = "${GNU_MIRROR}/libidn/${BPN}-${PV}.tar.gz"
# command tool is under GPLv3+, while libidn itself is under LGPLv2.1+
# so package command into a separate package

View File

@ -11,8 +11,8 @@ PR = "r0"
DEPENDS += "xz-native"
PROVIDES = "virtual/librpc"
SRC_URI = "${SOURCEFORGE_MIRROR}/${PN}/${P}.tar.bz2;name=libtirpc \
${GENTOO_MIRROR}/${PN}-glibc-nfs.tar.xz;name=glibc-nfs \
SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2;name=libtirpc \
${GENTOO_MIRROR}/${BPN}-glibc-nfs.tar.xz;name=glibc-nfs \
file://libtirpc-0.2.1-fortify.patch \
file://libtirpc-0.2.2-rpc-des-prot.patch \
file://remove-des-crypt.patch \

View File

@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=430680f6322a1eb87199b5e01a82c0d4"
PR = "r0"
SRC_URI = "ftp://ftp.mktemp.org/pub/mktemp/${P}.tar.gz \
SRC_URI = "ftp://ftp.mktemp.org/pub/mktemp/${BPN}-${PV}.tar.gz \
file://disable-strip.patch \
"

View File

@ -18,7 +18,7 @@ PR="r0"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=a5367a90934098d6b05af3b746405014"
SRC_URI = "http://portland.freedesktop.org/download/${PN}-${PV}.tgz"
SRC_URI = "http://portland.freedesktop.org/download/${BPN}-${PV}.tgz"
inherit autotools

View File

@ -17,7 +17,7 @@ FONTREV = "0.20100721"
SRC_URI = "https://fedorahosted.org/releases/l/i/${BPN}/${BPN}-${PV}.${FONTREV}.tar.gz \
file://30-liberation-aliases.conf"
S = ${WORKDIR}/${PN}-${PV}.${FONTREV}
S = ${WORKDIR}/${BPN}-${PV}.${FONTREV}
do_install () {
install -d ${D}${datadir}/fonts/ttf/

View File

@ -9,7 +9,7 @@ PR = "r1"
DEPENDS = "virtual/xserver-xf86 xproto randrproto util-macros"
XORG_PN = "${PN}"
XORG_PN = "${BPN}"
SRC_URI = "${XORG_MIRROR}/individual/driver/${XORG_PN}-${PV}.tar.bz2"
S = "${WORKDIR}/${XORG_PN}-${PV}"

View File

@ -7,7 +7,7 @@ DEPENDS = "libvorbis libogg alsa-lib libmad"
SRC_URI = "${SOURCEFORGE_MIRROR}/omxil/libomxil-B-${PV}.tar.gz"
S = "${WORKDIR}/${PN}-B-${PV}"
S = "${WORKDIR}/${BPN}-B-${PV}"
inherit autotools

View File

@ -13,6 +13,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
inherit autotools pkgconfig
S = "${WORKDIR}/${PN}"
S = "${WORKDIR}/${BPN}"
FILES_${PN} += "${libdir}/evolution-data-server-1.2/extensions/*.so"

View File

@ -22,6 +22,6 @@ PR = "r4"
SRC_URI = "svn://svn.o-hand.com/repos/misc/trunk;module=${BPN};proto=http"
S = "${WORKDIR}/${PN}"
S = "${WORKDIR}/${BPN}"
inherit autotools pkgconfig

View File

@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=35da21efce2b9f0ca07524c9f844e6ed \
SECTION = "libs"
PR = "r0"
SRC_URI = "${SOURCEFORGE_MIRROR}/freeassociation/${P}.tar.gz"
SRC_URI = "${SOURCEFORGE_MIRROR}/freeassociation/${BPN}-${PV}.tar.gz"
SRC_URI[md5sum] = "9c08f88945bfd5d0791d102e4aa4125c"
SRC_URI[sha256sum] = "000762efb81501421d94ec56343648a62b3bd2884e7cdf6f638e2c207dd8f6a1"

View File

@ -16,6 +16,6 @@ PR = "r6"
SRC_URI = "svn://svn.o-hand.com/repos/misc/trunk;module=${BPN};proto=http"
S = "${WORKDIR}/${PN}"
S = "${WORKDIR}/${BPN}"
inherit autotools pkgconfig

View File

@ -16,7 +16,7 @@ SRCREV = "416"
PV = "0.0+svnr${SRCPV}"
PR = "r6"
S = "${WORKDIR}/${PN}"
S = "${WORKDIR}/${BPN}"
SRC_URI = "svn://svn.o-hand.com/repos/misc/trunk;module=${BPN};proto=http \
file://gst_change_state.patch \

View File

@ -22,7 +22,7 @@ inherit autotools pkgconfig
SRC_URI = "svn://svn.o-hand.com/repos/;module=oh-puzzles;proto=http"
SRC_URI_append_poky = " file://oh-puzzles-owl-menu.patch;patch=1;pnum=0 "
S = "${WORKDIR}/${PN}"
S = "${WORKDIR}/${BPN}"
EXTRA_OEMAKE += "GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1"

View File

@ -15,7 +15,7 @@ SRC_URI = "http://www.chiark.greenend.org.uk/~sgtatham/puzzles/puzzles-${PV}.tar
#SRC_URI[sha256sum] = "69f37e497e63b2f7ab44e7bbd50aee078269c16dbc2d78ec1b00257678f2cbd2"
#SRC_URI = "svn://ixion.tartarus.org/main;module=puzzles;rev=${MOD_PV}"
S = "${WORKDIR}/${PN}-${PV}"
S = "${WORKDIR}/${BPN}-${PV}"
do_configure () {
./mkfiles.pl

View File

@ -15,7 +15,7 @@ PR = "r2"
SRC_URI = "svn://svn.o-hand.com/repos/misc/trunk;module=${BPN};proto=http \
file://fix_ldadd_order.patch"
S = ${WORKDIR}/${PN}
S = ${WORKDIR}/${BPN}
inherit autotools pkgconfig

View File

@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=519e0a18e03f7c023070568c14b077bb \
PR = "r0"
SRC_URI = "${APACHE_MIRROR}/apr/${P}.tar.gz \
SRC_URI = "${APACHE_MIRROR}/apr/${BPN}-${PV}.tar.gz \
file://configfix.patch;patch=1 \
file://configure_fixes.patch;patch=1"

View File

@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=0c35ff3c4c83b89d2f076e315caac28b \
PR = "r1"
SRC_URI = "${APACHE_MIRROR}/apr/${P}.tar.bz2 \
SRC_URI = "${APACHE_MIRROR}/apr/${BPN}-${PV}.tar.bz2 \
file://configure_fixes.patch;patch=1 \
file://cleanup.patch;patch=1 \
file://configfix.patch;patch=1 \

View File

@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=ad80780d9c5205d63481a0184e199a15 \
DEPENDS = "glib-2.0"
PR = "r3"
SRC_URI = "http://liboil.freedesktop.org/download/${P}.tar.gz \
SRC_URI = "http://liboil.freedesktop.org/download/${BPN}-${PV}.tar.gz \
file://no-tests.patch \
file://fix-unaligned-whitelist.patch \
"

View File

@ -8,7 +8,7 @@ DEPENDS = "zlib libxml2 expat time gnutls"
PR = "r0"
SRC_URI = "http://www.webdav.org/${BPN}/${P}.tar.gz \
SRC_URI = "http://www.webdav.org/${BPN}/${BPN}-${PV}.tar.gz \
file://pkgconfig.patch;patch=1"
SRC_URI[md5sum] = "ff369e69ef0f0143beb5626164e87ae2"