Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 1 | DESCRIPTION = "libTorrent is a BitTorrent library written in C++ for *nix, \ |
| 2 | with a focus on high performance and good code." |
| 3 | HOMEPAGE = "http://libtorrent.rakshasa.no/" |
Andrew Geissler | c5535c9 | 2023-01-27 16:10:19 -0600 | [diff] [blame^] | 4 | LICENSE = "GPL-2.0-or-later" |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833" |
| 6 | |
| 7 | DEPENDS = "zlib libsigc++-2.0 openssl cppunit" |
| 8 | |
Andrew Geissler | c5535c9 | 2023-01-27 16:10:19 -0600 | [diff] [blame^] | 9 | SRC_URI = "git://github.com/rakshasa/libtorrent;branch=master;protocol=https" |
| 10 | SRCREV = "e60f222241319aaae482789517ad00ae9344bd13" |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 11 | |
Patrick Williams | db4c27e | 2022-08-05 08:10:29 -0500 | [diff] [blame] | 12 | CVE_CHECK_IGNORE += "\ |
| 13 | CVE-2009-1760 \ |
| 14 | " |
| 15 | |
Andrew Geissler | c5535c9 | 2023-01-27 16:10:19 -0600 | [diff] [blame^] | 16 | PV = "0.13.8+git${SRCPV}" |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 17 | |
| 18 | S = "${WORKDIR}/git" |
| 19 | |
Andrew Geissler | c5535c9 | 2023-01-27 16:10:19 -0600 | [diff] [blame^] | 20 | |
| 21 | PACKAGECONFIG ??= "instrumentation aligned" |
Brad Bishop | 23eaf03 | 2019-11-20 05:15:02 -0500 | [diff] [blame] | 22 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 23 | PACKAGECONFIG:remove:mipsarch = "instrumentation" |
| 24 | PACKAGECONFIG:remove:powerpc = "instrumentation" |
| 25 | PACKAGECONFIG:remove:riscv32 = "instrumentation" |
Brad Bishop | 23eaf03 | 2019-11-20 05:15:02 -0500 | [diff] [blame] | 26 | |
| 27 | PACKAGECONFIG[instrumentation] = "--enable-instrumentation,--disable-instrumentation," |
Andrew Geissler | c5535c9 | 2023-01-27 16:10:19 -0600 | [diff] [blame^] | 28 | PACKAGECONFIG[aligned] = "--enable-aligned,--disable-aligned," |
Brad Bishop | 23eaf03 | 2019-11-20 05:15:02 -0500 | [diff] [blame] | 29 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 30 | inherit autotools pkgconfig |
| 31 | |
| 32 | EXTRA_OECONF = "--with-zlib=${STAGING_EXECPREFIXDIR}" |