diff --git a/meta-oe/recipes-connectivity/libtorrent-rasterbar/files/0001-Fix-Python3-site-packages-path-to-fix-package-QA-Iss.patch b/meta-oe/recipes-connectivity/libtorrent-rasterbar/files/0001-Fix-Python3-site-packages-path-to-fix-package-QA-Iss.patch new file mode 100644 index 0000000000..2ed6ab8500 --- /dev/null +++ b/meta-oe/recipes-connectivity/libtorrent-rasterbar/files/0001-Fix-Python3-site-packages-path-to-fix-package-QA-Iss.patch @@ -0,0 +1,27 @@ +Subject: [PATCH] Fix Python3 site packages path to fix package QA Issue + +libtorrent-rasterbar-2.0.12-r0 do_package: QA Issue: libtorrent-rasterbar: Files/directories were installed but not shipped in any package: + /lib/python3.14/site-packages/libtorrent.so + +Upstream-Status: Inappropriate [ OE specific ] +Signed-off-by: Liu Yiding +--- + bindings/python/CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/bindings/python/CMakeLists.txt b/bindings/python/CMakeLists.txt +index 4e8ee816b..ee9566afc 100644 +--- a/bindings/python/CMakeLists.txt ++++ b/bindings/python/CMakeLists.txt +@@ -96,7 +96,7 @@ else() + execute_process( + COMMAND "${Python3_EXECUTABLE}" -c [=[ + import sysconfig +-print(sysconfig.get_path('platlib', vars={'platbase': '', 'base': ''})) ++print(sysconfig.get_path('platlib', vars={'platbase': '/usr', 'base': ''})) + ]=] + OUTPUT_VARIABLE _PYTHON3_SITE_ARCH + OUTPUT_STRIP_TRAILING_WHITESPACE +-- +2.43.0 + diff --git a/meta-oe/recipes-connectivity/libtorrent-rasterbar/libtorrent-rasterbar_2.0.11.bb b/meta-oe/recipes-connectivity/libtorrent-rasterbar/libtorrent-rasterbar_2.0.12.bb similarity index 88% rename from meta-oe/recipes-connectivity/libtorrent-rasterbar/libtorrent-rasterbar_2.0.11.bb rename to meta-oe/recipes-connectivity/libtorrent-rasterbar/libtorrent-rasterbar_2.0.12.bb index ca3fe2c8ee..6a61286f7a 100644 --- a/meta-oe/recipes-connectivity/libtorrent-rasterbar/libtorrent-rasterbar_2.0.11.bb +++ b/meta-oe/recipes-connectivity/libtorrent-rasterbar/libtorrent-rasterbar_2.0.12.bb @@ -7,9 +7,10 @@ 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" + git://github.com/arvidn/try_signal.git;branch=master;protocol=https;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/deps/try_signal;name=try_signal \ + file://0001-Fix-Python3-site-packages-path-to-fix-package-QA-Iss.patch" -SRCREV = "9d7443f467147d1784fb7516d2a882db1abb5a8b" +SRCREV = "740a0b9aeabe00e762cc0efe4a0f27593db2550b" SRCREV_try_signal = "105cce59972f925a33aa6b1c3109e4cd3caf583d" SRCREV_FORMAT .= "_try_signal"