mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-04-02 02:49:12 +00:00
Changelog: https://github.com/arvidn/libtorrent/releases/tag/v2.0.11 Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
33 lines
1.2 KiB
BlitzBasic
33 lines
1.2 KiB
BlitzBasic
DESCRIPTION = "libtorrent is a feature complete C++ bittorrent implementation \
|
|
focusing on efficiency and scalability."
|
|
HOMEPAGE = "https://libtorrent.org/"
|
|
LICENSE = "BSD-3-Clause"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=d8b6cb42d66e6b3c47a909c3ce678a7b"
|
|
|
|
DEPENDS = "boost openssl"
|
|
|
|
SRC_URI = "git://github.com/arvidn/libtorrent.git;branch=master;protocol=https;tag=v${PV} \
|
|
git://github.com/arvidn/try_signal.git;branch=master;protocol=https;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/deps/try_signal;name=try_signal"
|
|
|
|
SRCREV = "9d7443f467147d1784fb7516d2a882db1abb5a8b"
|
|
SRCREV_try_signal = "105cce59972f925a33aa6b1c3109e4cd3caf583d"
|
|
SRCREV_FORMAT .= "_try_signal"
|
|
|
|
|
|
inherit cmake pkgconfig python3targetconfig
|
|
|
|
CVE_PRODUCT = "libtorrent"
|
|
|
|
EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=Release"
|
|
|
|
PACKAGECONFIG ??= "python3"
|
|
PACKAGECONFIG[python3] = "-Dpython-bindings=ON,-Dpython-bindings=OFF,python3-distutils-extra-native"
|
|
|
|
# Strip host paths from autogenerated files
|
|
do_install:append() {
|
|
sed -i 's+${STAGING_LIBDIR}+${libdir}+g' ${D}${libdir}/pkgconfig/${BPN}.pc
|
|
}
|
|
|
|
PACKAGES += "${@bb.utils.contains('PACKAGECONFIG', 'python3', 'python3-${BPN}', '', d)}"
|
|
FILES:python3-${BPN} = "${PYTHON_SITEPACKAGES_DIR}/*"
|