diff options
Diffstat (limited to 'community/libtorrent-rasterbar/APKBUILD')
-rw-r--r-- | community/libtorrent-rasterbar/APKBUILD | 29 |
1 files changed, 13 insertions, 16 deletions
diff --git a/community/libtorrent-rasterbar/APKBUILD b/community/libtorrent-rasterbar/APKBUILD index 1e8a82c32f2..255ff87eb6d 100644 --- a/community/libtorrent-rasterbar/APKBUILD +++ b/community/libtorrent-rasterbar/APKBUILD @@ -1,13 +1,13 @@ # Contributor: August Klein <amatcoder@gmail.com> -# Maintainer: psykose <alice@ayaya.dev> +# Maintainer: Patrycja Rosa <alpine@ptrcnull.me> pkgname=libtorrent-rasterbar -pkgver=2.0.6 -pkgrel=1 +pkgver=2.0.10 +pkgrel=2 pkgdesc="Feature complete C++ bittorrent implementation" url="https://www.rasterbar.com/products/libtorrent" arch="all" license="BSD-3-Clause" -depends_dev="boost-dev openssl-dev" +depends_dev="boost-dev openssl-dev>3" makedepends="$depends_dev cmake linux-headers python3-dev py3-setuptools samurai" subpackages="py3-$pkgname:_py3 $pkgname-dev" source="https://github.com/arvidn/libtorrent/releases/download/v$pkgver/libtorrent-rasterbar-$pkgver.tar.gz" @@ -22,10 +22,10 @@ arm*|x86) esac build() { + CXXFLAGS="$CXXFLAGS -O2 -DNDEBUG -flto=auto" \ cmake -B build -G Ninja \ - -DCMAKE_BUILD_TYPE=MinSizeRel \ + -DCMAKE_BUILD_TYPE=None \ -DCMAKE_CXX_STANDARD=17 \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ -DCMAKE_INSTALL_PREFIX=/usr \ -Dbuild_tests="$(want_check && echo ON || echo OFF)" \ -Dpython-bindings=ON \ @@ -43,16 +43,13 @@ check() { # broken tests_to_skip="$tests_to_skip|test_create_torrent" - case "$CARCH" in - x86) - # url_seed: unknown failures - # session_params: fails on builders only for x86 - tests_to_skip="$tests_to_skip|test_url_seed|test_session_params" - ;; - esac + # fails on btrfs? + tests_to_skip="$tests_to_skip|test_copy_file" - export CTEST_PARALLEL_LEVEL=$JOBS # TODO: abuild !122 - ctest --output-on-failure --test-dir build --exclude-regex "$tests_to_skip" + # flaky + tests_to_skip="$tests_to_skip|test_web_seed|test_url_seed|test_transfer|test_ssl" + + ctest -j4 --output-on-failure --test-dir build --exclude-regex "$tests_to_skip" } package() { @@ -72,5 +69,5 @@ _py3() { } sha512sums=" -4a5d710706040ef6193967dbb13998cb0ddebe7e95c3bf8aec0812876027c68c32b001fd3f07cd4ff1b819660a8d46ae8c7077e72caf92572288a51cdec7daea libtorrent-rasterbar-2.0.6.tar.gz +a6406ccdd1d0c8d42543419a3b9edca880ab85e0849bfba29e3b1bd98f9630244aa3e88110cdf95e476792c9ea87a141fcb16a8c3b3e0c44c0076ebf6f9adbee libtorrent-rasterbar-2.0.10.tar.gz " |