PORTNAME= coolreader DISTVERSIONPREFIX= cr DISTVERSION= 3.2.55 CATEGORIES= deskutils MAINTAINER= mistresssilvara@hotmail.com COMMENT= E-book reader LICENSE= GPLv2 LGPL21+ BSD2CLAUSE LICENSE_COMB= multi LICENSE_FILE_GPLv2= ${WRKSRC}/LICENSE LIB_DEPENDS= libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libpng.so:graphics/png \ libfribidi.so:converters/fribidi \ libunibreak.so:textproc/libunibreak \ libfontconfig.so:x11-fonts/fontconfig USES= qt:5 cmake:noninja pkgconfig desktop-file-utils jpeg USE_GITHUB= yes GH_ACCOUNT= buggins USE_QT= core buildtools_build gui qmake_build widgets linguisttools_build CMAKE_ARGS= -D GUI=QT5 -D MAX_IMAGE_SCALE_MUL=2 \ -D DOC_DATA_COMPRESSION_LEVEL=3 -D DOC_BUFFER_SIZE=0x1400000 CXXFLAGS+= -D CR_EMULATE_GETTEXT=1 \ -I${WRKSRC}/thirdparty_unman/nanosvg/src OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes .include