diff options
Diffstat (limited to 'community/libtorrent-rasterbar/APKBUILD')
-rw-r--r-- | community/libtorrent-rasterbar/APKBUILD | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/community/libtorrent-rasterbar/APKBUILD b/community/libtorrent-rasterbar/APKBUILD index a3d8cdf8ba8..255ff87eb6d 100644 --- a/community/libtorrent-rasterbar/APKBUILD +++ b/community/libtorrent-rasterbar/APKBUILD @@ -1,8 +1,8 @@ # Contributor: August Klein <amatcoder@gmail.com> -# Maintainer: psykose <alice@ayaya.dev> +# Maintainer: Patrycja Rosa <alpine@ptrcnull.me> pkgname=libtorrent-rasterbar -pkgver=2.0.7 -pkgrel=1 +pkgver=2.0.10 +pkgrel=2 pkgdesc="Feature complete C++ bittorrent implementation" url="https://www.rasterbar.com/products/libtorrent" arch="all" @@ -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,11 +43,13 @@ check() { # broken tests_to_skip="$tests_to_skip|test_create_torrent" + # fails on btrfs? + tests_to_skip="$tests_to_skip|test_copy_file" + # flaky - tests_to_skip="$tests_to_skip|test_web_seed|test_url_seed" + tests_to_skip="$tests_to_skip|test_web_seed|test_url_seed|test_transfer|test_ssl" - export CTEST_PARALLEL_LEVEL=3 - ctest --output-on-failure --test-dir build --exclude-regex "$tests_to_skip" + ctest -j4 --output-on-failure --test-dir build --exclude-regex "$tests_to_skip" } package() { @@ -67,5 +69,5 @@ _py3() { } sha512sums=" -30e558245a261ccf3f23815a037477ae6da1a02da0b7b3aa40383058c5782a341a11ae684f959efc1c9b39e31475ec31451b9ff4b2db3c0bfccc4d42bd6d69c1 libtorrent-rasterbar-2.0.7.tar.gz +a6406ccdd1d0c8d42543419a3b9edca880ab85e0849bfba29e3b1bd98f9630244aa3e88110cdf95e476792c9ea87a141fcb16a8c3b3e0c44c0076ebf6f9adbee libtorrent-rasterbar-2.0.10.tar.gz " |