Files
termux-packages/packages/pdf2djvu/build.sh
termux-pacman-bot c12b8a5a2b fix(main/pdf2djvu): Fix compiling with poppler 24.05.0
This fixes the following compiler error
/usr/include/poppler/goo/GooString.h:244:24: error: no member named 'ends_with' in 'std::string'
2024-05-09 17:37:11 +00:00

18 lines
618 B
Bash

TERMUX_PKG_HOMEPAGE=https://github.com/jwilk/pdf2djvu
TERMUX_PKG_DESCRIPTION="PDF to DjVu converter"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=0.9.19
TERMUX_PKG_REVISION=5
TERMUX_PKG_SRCURL=https://github.com/jwilk/pdf2djvu/releases/download/${TERMUX_PKG_VERSION}/pdf2djvu-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=eb45a480131594079f7fe84df30e4a5d0686f7a8049dc7084eebe22acc37aa9a
TERMUX_PKG_DEPENDS="djvulibre, libc++, libiconv, poppler"
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--disable-xmp
"
termux_step_pre_configure() {
CXXFLAGS+=" -std=c++20"
}