2017-10-15 00:36:54 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://newsboat.org/
|
|
|
|
TERMUX_PKG_DESCRIPTION="RSS/Atom feed reader for the text console"
|
2019-01-21 13:53:58 +01:00
|
|
|
TERMUX_PKG_LICENSE="MIT"
|
2020-12-20 14:16:34 +01:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2021-07-17 21:05:12 +02:00
|
|
|
TERMUX_PKG_VERSION=2.24
|
2022-03-01 04:52:15 +01:00
|
|
|
TERMUX_PKG_REVISION=5
|
2017-10-15 00:36:54 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://newsboat.org/releases/${TERMUX_PKG_VERSION}/newsboat-${TERMUX_PKG_VERSION}.tar.xz
|
2021-07-17 21:05:12 +02:00
|
|
|
TERMUX_PKG_SHA256=62420688cca25618859548d10ff6df9ac75b9cf766699f37edd3e324d67c6ffb
|
2019-06-19 23:38:12 +02:00
|
|
|
TERMUX_PKG_DEPENDS="libc++, libiconv, libandroid-support, libandroid-glob, json-c, libsqlite, libcurl, libxml2, stfl, ncurses, openssl"
|
2019-08-12 17:28:41 +02:00
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
2017-10-15 00:36:54 +02:00
|
|
|
TERMUX_PKG_RM_AFTER_INSTALL="share/locale"
|
2019-01-03 00:46:19 +01:00
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="ac_cv_lib_bsd_main=no"
|
2017-10-15 00:36:54 +02:00
|
|
|
TERMUX_PKG_CONFLICTS=newsbeuter
|
|
|
|
TERMUX_PKG_REPLACES=newsbeuter
|
2019-01-03 00:46:19 +01:00
|
|
|
|
|
|
|
termux_step_pre_configure() {
|
|
|
|
termux_setup_rust
|
|
|
|
|
2019-03-30 00:30:10 +01:00
|
|
|
export CXX_FOR_BUILD=g++
|
|
|
|
export CXXFLAGS_FOR_BUILD="-O2"
|
|
|
|
|
2019-01-03 00:46:19 +01:00
|
|
|
# Used by newsboat Makefile:
|
2019-02-16 00:34:09 +01:00
|
|
|
export CARGO_BUILD_TARGET=$CARGO_TARGET_NAME
|
2019-05-06 00:23:35 +02:00
|
|
|
|
|
|
|
LDFLAGS+=" -liconv"
|
2019-08-06 23:05:33 +02:00
|
|
|
|
|
|
|
export PKG_CONFIG_ALLOW_CROSS=1
|
2019-01-03 00:46:19 +01:00
|
|
|
}
|