mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-30 14:35:49 +00:00
Up to now, an openobex specific over-ride for ASNEEDED has been provided by oe-core (from as-needed.inc). If ASNEEDED does need to be over-ridden in order to build openobex it's not ideal that the over-ride comes from a different layer so define it directly in the meta-oe recipe. Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> (cherry picked from commit e59a9738c24ccaeac91740d1f67c607d4ee2a217) Signed-off-by: Armin Kuster <akuster808@gmail.com>
41 lines
1.1 KiB
BlitzBasic
41 lines
1.1 KiB
BlitzBasic
DESCRIPTION = "The Openobex project is an open source implementation of the \
|
|
Object Exchange (OBEX) protocol."
|
|
HOMEPAGE = "http://openobex.triq.net"
|
|
SECTION = "libs"
|
|
DEPENDS = "virtual/libusb0"
|
|
DEPENDS_append_class-target = " ${@bb.utils.contains('DISTRO_FEATURES','bluez5','bluez5','bluez4',d)}"
|
|
|
|
LICENSE = "GPLv2 & LGPLv2.1"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a \
|
|
file://COPYING.LIB;md5=a6f89e2100d9b6cdffcea4f398e37343 \
|
|
"
|
|
|
|
SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}/${PV}/${BP}-Source.tar.gz \
|
|
"
|
|
|
|
SRC_URI[md5sum] = "f6e0b6cb7dcfd731460a7e9a91429a3a"
|
|
SRC_URI[sha256sum] = "158860aaea52f0fce0c8e4b64550daaae06df2689e05834697b7e8c7d73dd4fc"
|
|
|
|
inherit cmake pkgconfig
|
|
|
|
S = "${WORKDIR}/${BP}-Source"
|
|
|
|
EXTRA_OECONF = " -DCMAKE_SKIP_RPATH=ON "
|
|
EXTRA_OECMAKE += "-DBUILD_DOCUMENTATION=OFF"
|
|
|
|
#--enable-apps --enable-syslog
|
|
|
|
ASNEEDED = ""
|
|
|
|
do_install_append () {
|
|
rmdir ${D}${bindir}
|
|
}
|
|
|
|
PACKAGES =+ "openobex-apps"
|
|
FILES_${PN}-apps = "${bindir}/*"
|
|
FILES_${PN} += "${libdir}/lib*.so.*"
|
|
FILES_${PN}-dev += "${bindir}/openobex-config ${libdir}/cmake"
|
|
DEBIAN_NOAUTONAME_${PN}-apps = "1"
|
|
|
|
BBCLASSEXTEND = "native"
|