Daniel Bermond pushed to branch main at Arch Linux / Packaging / Packages / 
libtorrent-rasterbar


Commits:
a6cd564f by Daniel Bermond at 2026-07-11T08:12:58-03:00
Update dependencies

- - - - -
3264645b by Daniel Bermond at 2026-07-11T08:18:29-03:00
Fix installation of undesired files

See:
https://github.com/arvidn/libtorrent/issues/8571
https://github.com/arvidn/libtorrent/pull/8573

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = libtorrent-rasterbar
        pkgdesc = An efficient and feature complete C++ BitTorrent library 
implementation
        pkgver = 2.1.0
-       pkgrel = 1
+       pkgrel = 2
        epoch = 1
        url = https://www.rasterbar.com/products/libtorrent/
        arch = x86_64
@@ -14,7 +14,6 @@ pkgbase = libtorrent-rasterbar
        depends = boost-libs
        depends = glibc
        depends = libgcc
-       depends = libstdc++
        depends = openssl
        source = 
libtorrent-rasterbar::git+https://github.com/arvidn/libtorrent.git#tag=v2.1.0
        source = git+https://github.com/arvidn/libsimulator.git


=====================================
PKGBUILD
=====================================
@@ -5,7 +5,7 @@
 
 pkgname=libtorrent-rasterbar
 pkgver=2.1.0
-pkgrel=1
+pkgrel=2
 epoch=1
 pkgdesc='An efficient and feature complete C++ BitTorrent library 
implementation'
 url='https://www.rasterbar.com/products/libtorrent/'
@@ -15,7 +15,6 @@ depends=(
     'boost-libs'
     'glibc'
     'libgcc'
-    'libstdc++'
     'openssl')
 makedepends=(
     'boost'
@@ -67,6 +66,13 @@ prepare() {
     # https://github.com/arvidn/libtorrent/issues/7519
     # remove usage of malloc_usable_size() for _FORTIFY_SOURCE=3 compatibility
     patch -d libtorrent-rasterbar -Np1 -i 
"${srcdir}/010-libtorrent-rasterbar-fix-for-fortify-source-3.patch"
+    
+    # https://github.com/arvidn/libtorrent/issues/8571
+    # https://github.com/arvidn/libtorrent/pull/8573
+    # fix installation of undesired files
+    git -C libtorrent-rasterbar cherry-pick --no-commit 
e090fe5cfdc3a111cd8e4267f5911405bc26fdd1
+    git -C libtorrent-rasterbar cherry-pick --no-commit 
6144c049b0d81d2d5e5645aecf3d4a7b5bde43e6
+    git -C libtorrent-rasterbar cherry-pick --no-commit 
92ab8491d87e453402248f9bb04722f277732c2d
 }
 
 build() {
@@ -87,6 +93,4 @@ build() {
 package() {
     DESTDIR="$pkgdir" cmake --install build
     install -D -m644 libtorrent-rasterbar/COPYING 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-    rm -r "${pkgdir}/usr/include"/{plog,rtc}
-    rm "${pkgdir}/usr/lib"/lib{datachannel-static,juice-static,usrsctp}.a
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/libtorrent-rasterbar/-/compare/7a24c33d106aab299bb27430b148c4f75d90c557...3264645b1bb1782ce4ac5ff2f17459e247843358

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/libtorrent-rasterbar/-/compare/7a24c33d106aab299bb27430b148c4f75d90c557...3264645b1bb1782ce4ac5ff2f17459e247843358
You're receiving this email because of your account on gitlab.archlinux.org. 
Manage all notifications: https://gitlab.archlinux.org/-/profile/notifications 
| Help: https://gitlab.archlinux.org/help


Reply via email to