2018-10-06 00:51:18 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://transmissionbt.com/
|
|
|
|
TERMUX_PKG_DESCRIPTION="Easy, lean and powerful BitTorrent client (gtk3)"
|
2019-01-21 17:50:21 +01:00
|
|
|
TERMUX_PKG_LICENSE="MIT"
|
2019-05-17 00:18:48 +02:00
|
|
|
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com>"
|
2018-10-06 00:51:18 +02:00
|
|
|
TERMUX_PKG_VERSION=2.94
|
2019-07-29 23:00:42 +02:00
|
|
|
TERMUX_PKG_REVISION=4
|
2018-10-06 00:51:18 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/transmission/transmission/archive/${TERMUX_PKG_VERSION}.tar.gz
|
|
|
|
TERMUX_PKG_SHA256=440c2fd0f89b1ab59d8a4b79ecd7bffd61bc000e36fb5b6c8e88142a4fadbb1f
|
|
|
|
|
2019-04-20 19:10:50 +02:00
|
|
|
TERMUX_PKG_DEPENDS="atk, gdk-pixbuf, glib, gtk3, libcairo-x, libcurl, libevent, openssl, pango-x, zlib"
|
2018-10-06 00:51:18 +02:00
|
|
|
TERMUX_PKG_CONFLICTS="transmission"
|
|
|
|
TERMUX_PKG_REPLACES="transmission"
|
|
|
|
|
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
|
|
--enable-nls
|
|
|
|
--enable-cli
|
|
|
|
--enable-gtk
|
|
|
|
--enable-lightweight
|
|
|
|
--cache-file=termux_configure.cache
|
|
|
|
"
|
|
|
|
|
2018-10-06 16:00:04 +02:00
|
|
|
TERMUX_PKG_RM_AFTER_INSTALL="share/icons/hicolor/icon-theme.cache"
|
|
|
|
|
2018-10-06 00:51:18 +02:00
|
|
|
termux_step_pre_configure() {
|
2019-01-21 17:50:21 +01:00
|
|
|
./autogen.sh
|
|
|
|
# liblog for android logging in syslog hack:
|
|
|
|
LDFLAGS+=" -landroid-shmem -llog"
|
2018-10-06 00:51:18 +02:00
|
|
|
|
2019-01-21 17:50:21 +01:00
|
|
|
echo "ac_cv_func_getmntent=no" >> termux_configure.cache
|
|
|
|
echo "ac_cv_search_getmntent=false" >> termux_configure.cache
|
|
|
|
chmod a-w termux_configure.cache
|
2018-10-06 00:51:18 +02:00
|
|
|
}
|