mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-14 17:59:59 +00:00
8931598cc0
From https://github.com/rakshasa/rtorrent/issues/156 all atomics (__sync_fetch_and_and_8) are not avaliable on mips/ppc, this patch helps workaround the build error Fixes ld: libtorrent.so: undefined reference to `__sync_add_and_fetch_8' Signed-off-by: Khem Raj <raj.khem@gmail.com>
32 lines
902 B
BlitzBasic
32 lines
902 B
BlitzBasic
DESCRIPTION = "libTorrent is a BitTorrent library written in C++ for *nix, \
|
|
with a focus on high performance and good code."
|
|
HOMEPAGE = "http://libtorrent.rakshasa.no/"
|
|
LICENSE = "GPL-2.0"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833"
|
|
|
|
DEPENDS = "zlib libsigc++-2.0 openssl cppunit"
|
|
|
|
SRC_URI = "git://github.com/rakshasa/libtorrent \
|
|
file://don-t-run-code-while-configuring-package.patch \
|
|
"
|
|
SRCREV = "756f70010779927dc0691e1e722ed433d5d295e1"
|
|
|
|
PV = "0.13.8"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
PACKAGECONFIG ??= "instrumentation"
|
|
|
|
PACKAGECONFIG_remove_mipsarch = "instrumentation"
|
|
PACKAGECONFIG_remove_powerpc = "instrumentation"
|
|
|
|
PACKAGECONFIG[instrumentation] = "--enable-instrumentation,--disable-instrumentation,"
|
|
|
|
inherit autotools pkgconfig
|
|
|
|
EXTRA_OECONF = "--with-zlib=${STAGING_EXECPREFIXDIR}"
|
|
|
|
do_configure_prepend() {
|
|
(cd ${S}; ./autogen.sh; cd -)
|
|
}
|