This commit is contained in:
crdpa 2025-04-10 16:01:04 -07:00 committed by GitHub
commit 97ad6f164f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 9 additions and 60 deletions

View file

@ -843,7 +843,7 @@ libosp.so.5 opensp-1.5.2_1
libogrove.so.0 openjade-1.3.2_1
libospgrove.so.0 openjade-1.3.2_1
libostyle.so.0 openjade-1.3.2_1
libtorrent.so.21 libtorrent-0.13.8_4
libtorrent.so.24 libtorrent-0.15.2_1
libgiblib.so.1 giblib-1.2.4_1
libgc.so.1 gc-7.6.4_1
libcord.so.1 gc-7.4_1

View file

@ -1,14 +0,0 @@
--sysroot should be enough.
--- a/scripts/common.m4 2014-02-02 11:58:17.361448885 +0100
+++ b/scripts/common.m4 2014-02-02 11:59:13.048185911 +0100
@@ -63,8 +63,7 @@ AC_DEFUN([TORRENT_WITH_SYSROOT], [
else
AC_MSG_RESULT($withval)
- CXXFLAGS="$CXXFLAGS -isysroot $withval"
- LDFLAGS="$LDFLAGS -Wl,-syslibroot,$withval"
+ CXXFLAGS="$CXXFLAGS --sysroot=$withval"
fi
])
])

View file

@ -1,7 +1,7 @@
# Template file for 'libtorrent'
pkgname=libtorrent
version=0.13.8
revision=5
version=0.15.2
revision=1
build_style=gnu-configure
configure_args="--enable-static --disable-debug --without-kqueue
--enable-aligned --with-posix-fallocate"
@ -10,11 +10,11 @@ makedepends="openssl-devel zlib-devel"
# XXX: if built with XBPS_CHECK_PKGS, final binary will be dyn linked against libcppunit
checkdepends="libcppunit-devel"
short_desc="BitTorrent library written in C++"
maintainer="Orphaned <orphan@voidlinux.org>"
maintainer="crdpa <cris@crdpa.com>"
license="GPL-2.0-or-later"
homepage="https://github.com/rakshasa/libtorrent"
distfiles="https://github.com/rakshasa/libtorrent/archive/v${version}.tar.gz"
checksum=0f6c2e7ffd3a1723ab47fdac785ec40f85c0a5b5a42c1d002272205b988be722
checksum=045cfc796579dd08445745c3cd38427004202eaa7529d349e482c2b67f3b52b0
# https://github.com/rakshasa/rtorrent/issues/156
case "$XBPS_TARGET_MACHINE" in

View file

@ -1,14 +0,0 @@
--sysroot should be enough.
--- a/scripts/common.m4 2014-02-02 11:58:17.361448885 +0100
+++ b/scripts/common.m4 2014-02-02 11:59:13.048185911 +0100
@@ -63,8 +63,7 @@ AC_DEFUN([TORRENT_WITH_SYSROOT], [
else
AC_MSG_RESULT($withval)
- CXXFLAGS="$CXXFLAGS -isysroot $withval"
- LDFLAGS="$LDFLAGS -Wl,-syslibroot,$withval"
+ CXXFLAGS="$CXXFLAGS --sysroot=$withval"
fi
])
])

View file

@ -1,23 +0,0 @@
--- a/scripts/checks.m4 2015-07-02 00:32:45.000000000 +0200
+++ b/scripts/checks.m4 2015-07-14 15:39:07.334398349 +0200
@@ -463,19 +463,9 @@
fi
if eval $xmlrpc_cc_prg --version 2>/dev/null >/dev/null; then
+ AC_MSG_RESULT(ok)
CXXFLAGS="$CXXFLAGS `$xmlrpc_cc_prg --cflags server-util`"
LIBS="$LIBS `$xmlrpc_cc_prg server-util --libs`"
-
- AC_TRY_LINK(
- [ #include <xmlrpc-c/server.h>
- ],[ xmlrpc_registry_new(NULL); ],
- [
- AC_MSG_RESULT(ok)
- ], [
- AC_MSG_RESULT(failed)
- AC_MSG_ERROR(Could not compile XMLRPC-C test.)
- ])
-
AC_DEFINE(HAVE_XMLRPC_C, 1, Support for XMLRPC-C.)
else

View file

@ -1,18 +1,18 @@
# Template file for 'rtorrent'
pkgname=rtorrent
version=0.9.8
revision=3
version=0.15.2
revision=1
build_style=gnu-configure
configure_args="--with-xmlrpc-c"
hostmakedepends="automake libtool pkg-config"
makedepends="libcppunit-devel libsigc++-devel libtorrent-devel ncurses-devel
xmlrpc-c-devel"
short_desc="Ncurses BitTorrent client based on libTorrent"
maintainer="Orphaned <orphan@voidlinux.org>"
maintainer="crdpa <cris@crdpa.com>"
license="GPL-2.0-or-later"
homepage="https://github.com/rakshasa/rtorrent"
distfiles="https://github.com/rakshasa/${pkgname}/archive/v${version}.tar.gz"
checksum=bc889ce1dde475ec56aa72ae996912ff58723226a4f4256fef4f1f8636d991d4
checksum=17458249803042fdc21f9792ab670c49080466e3f0e045e1bca46c9f1def7701
pre_configure() {
autoreconf -fi