New commits:
commit 24530f968a45d1f2a80592c394c36c97563bca89
Author: Xenanthropy <connerclere AT gmail.com>
Commit: Pavel Vinogradov <public AT sourcemage.org>
qbittorrent: => 4.5.0
commit 28391680693ebac2bccd05d870b1c05c76837af8
Author: Xenanthropy <connerclere AT gmail.com>
Commit: Pavel Vinogradov <public AT sourcemage.org>
rb-libtorrent: => 2.0.8, convert to cmake
diff --git a/ftp-libs/rb-libtorrent/CONFIGURE
b/ftp-libs/rb-libtorrent/CONFIGURE
index 7234692..a81e780 100755
--- a/ftp-libs/rb-libtorrent/CONFIGURE
+++ b/ftp-libs/rb-libtorrent/CONFIGURE
@@ -1,2 +1,8 @@
+. ${GRIMOIRE}/CMAKE_CONFIGURE &&
+
+# Old flag -> new flag
+RB_LIBTORRENT_OPTS="${RB_LIBTORRENT_OPTS/--enable-python-binding/-Dpython-bindings=ON}"
&&
+RB_LIBTORRENT_OPTS="${RB_LIBTORRENT_OPTS/--disable-python-binding/-Dpython-bindings=OFF}"
&&
+
config_query_option RB_LIBTORRENT_OPTS "Build python bindings?" n \
- "--enable-python-binding" "--disable-python-binding"
+ "-Dpython-bindings=ON" "-Dpython-bindings=OFF"
diff --git a/ftp-libs/rb-libtorrent/DEPENDS b/ftp-libs/rb-libtorrent/DEPENDS
index 050c910..cb3483c 100755
--- a/ftp-libs/rb-libtorrent/DEPENDS
+++ b/ftp-libs/rb-libtorrent/DEPENDS
@@ -1,7 +1,8 @@
-depends -sub CXX gcc &&
+. ${GRIMOIRE}/CMAKE_DEPENDS &&
+depends -sub CXX gcc &&
BOOST_LIBS="THREAD FILESYSTEM DATE_TIME RANDOM REGEX PROGRAM_OPTIONS" &&
-if list_find "$RB_LIBTORRENT_OPTS" "--enable-python-binding"; then
+if list_find "$RB_LIBTORRENT_OPTS" "-Dpython-bindings=ON"; then
list_add BOOST_LIBS "PYTHON"
fi &&
@@ -10,8 +11,4 @@ depends -sub "${BOOST_LIBS}" boost &&
optional_depends SSL \
"" \
"" \
- "for SSL support" &&
-
-optional_depends geoip \
- "--with-libgeoip" "" \
- "enable linking against system libgeoip"
+ "for SSL support"
diff --git a/ftp-libs/rb-libtorrent/DETAILS b/ftp-libs/rb-libtorrent/DETAILS
index f56c24f..a4e4e8c 100755
--- a/ftp-libs/rb-libtorrent/DETAILS
+++ b/ftp-libs/rb-libtorrent/DETAILS
@@ -1,9 +1,9 @@
+. ${GRIMOIRE}/CMAKE_FUNCTIONS
SPELL=rb-libtorrent
- VERSION=1.1.0
- BRANCH=$(echo ${VERSION:0:3} | tr "." "_")
+ VERSION=2.0.8
SOURCE=libtorrent-rasterbar-$VERSION.tar.gz
-
SOURCE_URL[0]=https://github.com/arvidn/libtorrent/releases/download/libtorrent-${BRANCH}/$SOURCE
-
SOURCE_HASH=sha512:5770e3b243605aabe94951f0d3774a1a928b87690c0ba9f8a093ecf90852cf1c76d29a477ab0efc4a352802ca9b405d5c00a5dcdc8d03c6c1644aabe6ad020df
+
SOURCE_URL[0]=https://github.com/arvidn/libtorrent/releases/download/v${VERSION}/$SOURCE
+
SOURCE_HASH=sha512:697988feae149876745097bedfbfb4cceae00ffe1cd4ba2063dcb93a8eee9e99344f772b8364e3df1986a50105e386e56b75fe362707d58ba3272139d9beb98f
SOURCE_DIRECTORY="$BUILD_DIRECTORY/libtorrent-rasterbar-$VERSION"
WEB_SITE=http://www.libtorrent.org
LICENSE=BSD
diff --git a/ftp-libs/rb-libtorrent/HISTORY b/ftp-libs/rb-libtorrent/HISTORY
index 5761680..909baf6 100644
--- a/ftp-libs/rb-libtorrent/HISTORY
+++ b/ftp-libs/rb-libtorrent/HISTORY
@@ -1,3 +1,7 @@
+2022-12-24 Conner Clere <connerclere AT gmail.com>
+ * DETAILS, CONFIGURE, DEPENDS: version 2.0.8, convert
+ to cmake build system
+
2016-07-01 Pavel Vinogradov <public AT sourcemage.org>
* DETAILS: version 1.1.0, fixed SOURCE_URL[0] and branch computation
* DEPENDS: reorganized boost's subdependencies, added RANDOM there too
@@ -7,9 +11,8 @@
GitHub, new WEB_SITE