Files
termux-packages/packages/openbabel/build.sh
termux-pacman-bot f7401e986b fix(main/openbabel): Fix build by using rapidjson package
The build of openbabel currently fails due to using an internal copy of
rapidjson, which is not compatible with NDK r29.

Fix that by using that rapidjson package (which is already patched to be
NDK r29 compatible) instead of using an embedded copy of rapidjson.
2026-01-08 23:37:16 +00:00

17 lines
886 B
Bash

TERMUX_PKG_HOMEPAGE=http://openbabel.org/wiki/Main_Page
TERMUX_PKG_DESCRIPTION="Open Babel is a chemical toolbox designed to speak the many languages of chemical data"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="3.1.1"
TERMUX_PKG_REVISION=14
TERMUX_PKG_SRCURL="https://github.com/openbabel/openbabel/archive/refs/tags/openbabel-${TERMUX_PKG_VERSION//./-}.tar.gz"
TERMUX_PKG_SHA256=c97023ac6300d26176c97d4ef39957f06e68848d64f1a04b0b284ccff2744f02
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_DEPENDS="libc++, libcairo, libxml2, rapidjson, zlib"
TERMUX_PKG_BUILD_DEPENDS="boost, boost-headers, eigen"
TERMUX_PKG_BREAKS="openbabel-dev"
TERMUX_PKG_REPLACES="openbabel-dev"
TERMUX_PKG_GROUPS="science"
# MAEPARSER gives an error related to boost's unit_test_framework during configure
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="-DWITH_MAEPARSER=off -DWITH_COORDGEN=off"