37375312b9
In issue https://github.com/termux/termux-packages/issues/6160 I have found that community repo "its-pointless.github.io" specifies us as maintainer for its packages. This is NOT TRUE and potentially misleads people using these packages. Now TERMUX_PKG_MAINTAINER will contain a default value which is neutral and not specify maintainer. So all packages now have to override it to the correct value. [skip ci] %ci:no-build
28 lines
953 B
Bash
28 lines
953 B
Bash
TERMUX_PKG_HOMEPAGE=https://newsboat.org/
|
|
TERMUX_PKG_DESCRIPTION="RSS/Atom feed reader for the text console"
|
|
TERMUX_PKG_LICENSE="MIT"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION=2.21
|
|
TERMUX_PKG_SRCURL=https://newsboat.org/releases/${TERMUX_PKG_VERSION}/newsboat-${TERMUX_PKG_VERSION}.tar.xz
|
|
TERMUX_PKG_SHA256=0c46b3dd46bb578dd6dd4915db4cfdffb4352ab258f251080ad14655c75a9c31
|
|
TERMUX_PKG_DEPENDS="libc++, libiconv, libandroid-support, libandroid-glob, json-c, libsqlite, libcurl, libxml2, stfl, ncurses, openssl"
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
TERMUX_PKG_RM_AFTER_INSTALL="share/locale"
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="ac_cv_lib_bsd_main=no"
|
|
TERMUX_PKG_CONFLICTS=newsbeuter
|
|
TERMUX_PKG_REPLACES=newsbeuter
|
|
|
|
termux_step_pre_configure() {
|
|
termux_setup_rust
|
|
|
|
export CXX_FOR_BUILD=g++
|
|
export CXXFLAGS_FOR_BUILD="-O2"
|
|
|
|
# Used by newsboat Makefile:
|
|
export CARGO_BUILD_TARGET=$CARGO_TARGET_NAME
|
|
|
|
LDFLAGS+=" -liconv"
|
|
|
|
export PKG_CONFIG_ALLOW_CROSS=1
|
|
}
|