transmission: update to 2.94.
This commit is contained in:
parent
9cdc8bdf86
commit
78b9f06ab1
2 changed files with 12 additions and 19 deletions
|
@ -1,12 +0,0 @@
|
|||
--- libtransmission/crypto-utils-openssl.c 2018-02-10 11:23:12.597680584 +0100
|
||||
+++ libtransmission/crypto-utils-openssl.c 2018-02-10 11:27:01.843383653 +0100
|
||||
@@ -230,7 +230,8 @@
|
||||
****
|
||||
***/
|
||||
|
||||
-#if OPENSSL_VERSION_NUMBER < 0x10100000
|
||||
+#if OPENSSL_VERSION_NUMBER < 0x10100000 || \
|
||||
+ (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000fL)
|
||||
static inline int
|
||||
DH_set0_pqg (DH * dh,
|
||||
BIGNUM * p,
|
|
@ -1,17 +1,19 @@
|
|||
# Template file for 'transmission'
|
||||
pkgname=transmission
|
||||
version=2.93
|
||||
revision=2
|
||||
version=2.94
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
configure_args="--enable-nls --enable-cli --enable-daemon --enable-utp --without-systemd-daemon"
|
||||
hostmakedepends="pkg-config intltool"
|
||||
makedepends="zlib-devel libressl-devel dbus-glib-devel libcurl-devel libevent-devel gtk+3-devel"
|
||||
configure_args="--enable-nls --enable-cli --enable-daemon --enable-utp
|
||||
--without-systemd-daemon"
|
||||
hostmakedepends="intltool pkg-config"
|
||||
makedepends="dbus-glib-devel gtk+3-devel libcurl-devel libevent-devel
|
||||
qt5-tools-devel"
|
||||
short_desc="A fast, easy, and free BitTorrent client"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
license="MIT, GPL-2.0-or-later"
|
||||
homepage="https://www.transmissionbt.com"
|
||||
license="MIT, GPL-2"
|
||||
distfiles="https://github.com/transmission/transmission-releases/raw/master/${pkgname}-${version}.tar.xz"
|
||||
checksum=8815920e0a4499bcdadbbe89a4115092dab42ce5199f71ff9a926cfd12b9b90b
|
||||
checksum=35442cc849f91f8df982c3d0d479d650c6ca19310a994eccdaa79a4af3916b7d
|
||||
|
||||
# Create transmission system user/group
|
||||
system_accounts="transmission"
|
||||
|
@ -30,6 +32,7 @@ post_configure() {
|
|||
-e "/#include <inttypes.h>.*/i #include <sys/types.h> /* ssize_t */" \
|
||||
-e "/#include <inttypes.h>.*/i #include <stdio.h> /* off_t */"
|
||||
}
|
||||
|
||||
do_build() {
|
||||
make CXXFLAGS="${CXXFLAGS} -std=c++11" LDFLAGS="${LDFLAGS}" ${makejobs}
|
||||
if [ -z "$CROSS_BUILD" ]; then
|
||||
|
@ -40,6 +43,7 @@ do_build() {
|
|||
make ${makejobs} CXXFLAGS="${CXXFLAGS} -fPIC -std=c++11" LDFLAGS="${LDFLAGS}"
|
||||
fi
|
||||
}
|
||||
|
||||
do_install() {
|
||||
# Install CLI tools, daemon and web client
|
||||
for dir in cli daemon utils web; do
|
||||
|
@ -76,6 +80,7 @@ transmission-qt_package() {
|
|||
vinstall ${wrksrc}/qt/transmission-qt.desktop 644 usr/share/applications
|
||||
}
|
||||
}
|
||||
|
||||
transmission-gtk_package() {
|
||||
depends="${sourcepkg}>=${version}_${revision} hicolor-icon-theme desktop-file-utils"
|
||||
short_desc+=" - GTK+ frontend"
|
||||
|
|
Loading…
Reference in a new issue