Skip to content
Snippets Groups Projects
Commit 8a3d3001 authored by Jakub Jirutka's avatar Jakub Jirutka :flag_ua:
Browse files

community/rtorrent: upgrade to 0.10.0

parent 0f50acf7
No related branches found
No related tags found
1 merge request!75287Upgrade some of my aports
......@@ -3,27 +3,32 @@
# Contributor: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=rtorrent
pkgver=0.9.8
pkgrel=3
pkgver=0.10.0
pkgrel=0
pkgdesc="Ncurses BitTorrent client based on libTorrent"
url="https://rakshasa.github.io/rtorrent/"
license="GPL-2.0-or-later"
# riscv64 blocked by libtorrent
arch="all !riscv64"
makedepends="
autoconf
automake
curl-dev
libsigc++3-dev
libtool
libtorrent-dev
ncurses-dev
xmlrpc-c-dev
"
checkdepends="cppunit-dev"
subpackages="$pkgname-doc"
source="https://github.com/rakshasa/rtorrent-archive/raw/master/rtorrent-$pkgver.tar.gz"
source="https://github.com/rakshasa/rtorrent/archive/v$pkgver/rtorrent-$pkgver.tar.gz
add-ax_require_defined-m4.patch
"
prepare(){
prepare() {
default_prepare
update_config_sub
autoreconf -iv
}
build() {
......@@ -50,5 +55,6 @@ package() {
}
sha512sums="
016685948d0290694ab9635ae218c7acd876e6d45bea1bdba3a29c545e64f5d824c5e2f6693a4c2e9200196177881d54f312d72e0a19742bd74a03bd19ca05c7 rtorrent-0.9.8.tar.gz
261943c29ff8b0bc2f11f54436990b35ebf4ea04272fca41fc6bfad502ff76b6e006c65e55e6e04eadf44c50869e15062c57d29888129a2f73f77dbac7f33b98 rtorrent-0.10.0.tar.gz
1133aea489ac13b5fabee774f940a6a0cf18a969a937fd24c8126978511dd1b521c2264ada9b46c6fbd63d648b97d8d34199ddc2763df487f607d3af87b619d6 add-ax_require_defined-m4.patch
"
Patch-Source: https://github.com/rakshasa/rtorrent/commit/38b39bdafc9edd7e7e72672e6fcbd397b6c2cab8
--
From 38b39bdafc9edd7e7e72672e6fcbd397b6c2cab8 Mon Sep 17 00:00:00 2001
From: Adam Sampson <ats@offog.org>
Date: Sun, 29 Sep 2024 22:14:16 +0100
Subject: [PATCH] Add ax_require_defined.m4 to scripts.
This is required now by ax_with_curses.m4, but wasn't added when the
script was updated.
---
scripts/ax_require_defined.m4 | 37 +++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
create mode 100644 scripts/ax_require_defined.m4
diff --git a/scripts/ax_require_defined.m4 b/scripts/ax_require_defined.m4
new file mode 100644
index 000000000..17c3eab7d
--- /dev/null
+++ b/scripts/ax_require_defined.m4
@@ -0,0 +1,37 @@
+# ===========================================================================
+# https://www.gnu.org/software/autoconf-archive/ax_require_defined.html
+# ===========================================================================
+#
+# SYNOPSIS
+#
+# AX_REQUIRE_DEFINED(MACRO)
+#
+# DESCRIPTION
+#
+# AX_REQUIRE_DEFINED is a simple helper for making sure other macros have
+# been defined and thus are available for use. This avoids random issues
+# where a macro isn't expanded. Instead the configure script emits a
+# non-fatal:
+#
+# ./configure: line 1673: AX_CFLAGS_WARN_ALL: command not found
+#
+# It's like AC_REQUIRE except it doesn't expand the required macro.
+#
+# Here's an example:
+#
+# AX_REQUIRE_DEFINED([AX_CHECK_LINK_FLAG])
+#
+# LICENSE
+#
+# Copyright (c) 2014 Mike Frysinger <vapier@gentoo.org>
+#
+# Copying and distribution of this file, with or without modification, are
+# permitted in any medium without royalty provided the copyright notice
+# and this notice are preserved. This file is offered as-is, without any
+# warranty.
+
+#serial 2
+
+AC_DEFUN([AX_REQUIRE_DEFINED], [dnl
+ m4_ifndef([$1], [m4_fatal([macro ]$1[ is not defined; is a m4 file missing?])])
+])dnl AX_REQUIRE_DEFINED
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment