libtorrent-rasterbar: Update to 2.0.9
authorTianling Shen <cnsztl@immortalwrt.org>
Fri, 3 Nov 2023 11:18:04 +0000 (19:18 +0800)
committerHannu Nyman <hannu.nyman@iki.fi>
Mon, 18 Dec 2023 16:59:08 +0000 (18:59 +0200)
Switch to use release tarball to avoid try_signal hack.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
libs/libtorrent-rasterbar/Makefile

index 1e5b3e00cf27c9bf1692b270a8b8176c6145f2e8..f0071dd2dc287701258cf8ab395c924523dc78cc 100644 (file)
@@ -1,12 +1,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=libtorrent-rasterbar
-PKG_VERSION:=2.0.8
+PKG_VERSION:=2.0.9
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=https://codeload.github.com/arvidn/libtorrent/tar.gz/v$(PKG_VERSION)?
-PKG_HASH:=29e5c5395de8126ed1b24d0540a9477fbb158b536021cd65aaf9de34d0aadb46
+PKG_SOURCE_URL:=https://github.com/arvidn/libtorrent/releases/download/v$(PKG_VERSION)/
+PKG_HASH:=90cd92b6061c5b664840c3d5e151d43fedb24f5b2b24e14425ffbb884ef1798e
 
 PKG_MAINTAINER:=David Yang <mmyangfl@gmail.com>
 PKG_LICENSE:=BSD-3-Clause
@@ -46,24 +46,6 @@ endef
 #      This package contains Python 3 bindings for the libtorrent-rasterbar library.
 #endef
 
-define Download/try_signal
-       VERSION:=105cce59972f925a33aa6b1c3109e4cd3caf583d
-       SUBDIR:=deps/try_signal
-       FILE:=$(PKG_NAME)-try_signal-$$(VERSION).tar.xz
-       URL:=https://github.com/arvidn/try_signal.git
-       MIRROR_HASH:=da81da67d52b7a731c21148573b68bf8dc7863616d6ae1f81845b7afb29e8f00
-       PROTO:=git
-endef
-$(eval $(call Download,try_signal))
-
-PKG_UNPACK:=$(HOST_TAR) -C $(PKG_BUILD_DIR) --strip-components=1 -xzf $(DL_DIR)/$(PKG_SOURCE)
-
-define Build/Prepare
-       $(Build/Prepare/Default)
-       $(eval $(Download/try_signal))
-       xzcat $(DL_DIR)/$(FILE) | tar -C $(PKG_BUILD_DIR) $(TAR_OPTIONS)
-endef
-
 #CMAKE_OPTIONS += \
 #      -Dpython-bindings=ON \
 #      -Dpython-egg-info=ON