summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--deskutils/Makefile1
-rw-r--r--deskutils/crengine-ng/Makefile34
-rw-r--r--deskutils/crengine-ng/distinfo3
-rw-r--r--deskutils/crengine-ng/pkg-descr1
-rw-r--r--deskutils/crengine-ng/pkg-plist131
5 files changed, 170 insertions, 0 deletions
diff --git a/deskutils/Makefile b/deskutils/Makefile
index 02755c196585..dcb3ddc3064c 100644
--- a/deskutils/Makefile
+++ b/deskutils/Makefile
@@ -41,6 +41,7 @@
SUBDIR += copyq
SUBDIR += coregarage
SUBDIR += countdown
+ SUBDIR += crengine-ng
SUBDIR += dailystrips
SUBDIR += deforaos-notes
SUBDIR += deforaos-todo
diff --git a/deskutils/crengine-ng/Makefile b/deskutils/crengine-ng/Makefile
new file mode 100644
index 000000000000..6e68cbcf0cdc
--- /dev/null
+++ b/deskutils/crengine-ng/Makefile
@@ -0,0 +1,34 @@
+PORTNAME= crengine-ng
+DISTVERSION= 0.9.12
+CATEGORIES= deskutils
+
+MAINTAINER= kenrap@kennethraplee.com
+COMMENT= Cross-platform library for text viewers and e-book readers
+WWW= https://gitlab.com/coolreader-ng/crengine-ng
+
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
+ libfreetype.so:print/freetype2 \
+ libfribidi.so:converters/fribidi \
+ libgif.so:graphics/giflib \
+ libharfbuzz.so:print/harfbuzz \
+ libpng.so:graphics/png \
+ libunibreak.so:textproc/libunibreak \
+ libutf8proc.so:textproc/utf8proc \
+ libzstd.so:archivers/zstd
+
+USES= cmake pkgconfig desktop-file-utils jpeg
+
+USE_GITLAB= yes
+GL_ACCOUNT= coolreader-ng
+
+CMAKE_ARGS= -D CRE_BUILD_STATIC=OFF \
+ -D DOC_DATA_COMPRESSION_LEVEL=3
+
+.if defined(WITH_LTO)
+CMAKE_ARGS+= -D ENABLE_LTO=ON
+.endif
+
+.include <bsd.port.mk>
diff --git a/deskutils/crengine-ng/distinfo b/deskutils/crengine-ng/distinfo
new file mode 100644
index 000000000000..6eb7ce29e84b
--- /dev/null
+++ b/deskutils/crengine-ng/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1754181107
+SHA256 (crengine-ng-0.9.12.tar.bz2) = d098a0b1e5c0e9d5e2202b225d34cf35bd371ff109fd239fb84e1c84816cf47b
+SIZE (crengine-ng-0.9.12.tar.bz2) = 4378495
diff --git a/deskutils/crengine-ng/pkg-descr b/deskutils/crengine-ng/pkg-descr
new file mode 100644
index 000000000000..49469b88b122
--- /dev/null
+++ b/deskutils/crengine-ng/pkg-descr
@@ -0,0 +1 @@
+A cross-platform library designed to implement text viewers and e-book readers.
diff --git a/deskutils/crengine-ng/pkg-plist b/deskutils/crengine-ng/pkg-plist
new file mode 100644
index 000000000000..ffb523820b01
--- /dev/null
+++ b/deskutils/crengine-ng/pkg-plist
@@ -0,0 +1,131 @@
+include/crengine-ng/crbookformats.h
+include/crengine-ng/crconcurrent.h
+include/crengine-ng/crengine-ng-config.h
+include/crengine-ng/crengine.h
+include/crengine-ng/crgui.h
+include/crengine-ng/crhist.h
+include/crengine-ng/crhyphman.h
+include/crengine-ng/cri18n.h
+include/crengine-ng/crlocaledata.h
+include/crengine-ng/crlocks.h
+include/crengine-ng/crlog.h
+include/crengine-ng/crprops.h
+include/crengine-ng/crsetup.h
+include/crengine-ng/crskin.h
+include/crengine-ng/crtimerutil.h
+include/crengine-ng/crtrace.h
+include/crengine-ng/crtxtenc.h
+include/crengine-ng/cssdef.h
+include/crengine-ng/dtddef.h
+include/crengine-ng/fb2def.h
+include/crengine-ng/ldomdoccache.h
+include/crengine-ng/ldomdocument.h
+include/crengine-ng/ldommarkedrange.h
+include/crengine-ng/ldomnode.h
+include/crengine-ng/ldomnodecallback.h
+include/crengine-ng/ldomword.h
+include/crengine-ng/ldomwordex.h
+include/crengine-ng/ldomwordexlist.h
+include/crengine-ng/ldomxpointer.h
+include/crengine-ng/ldomxpointerex.h
+include/crengine-ng/ldomxrange.h
+include/crengine-ng/ldomxrangelist.h
+include/crengine-ng/lvarray.h
+include/crengine-ng/lvassetcontainerfactory.h
+include/crengine-ng/lvautoptr.h
+include/crengine-ng/lvbasedrawbuf.h
+include/crengine-ng/lvbyteorder.h
+include/crengine-ng/lvcacheableobject.h
+include/crengine-ng/lvcacheloadingcallback.h
+include/crengine-ng/lvcolordrawbuf.h
+include/crengine-ng/lvcontainer.h
+include/crengine-ng/lvcontaineriteminfo.h
+include/crengine-ng/lvdocprops.h
+include/crengine-ng/lvdocview.h
+include/crengine-ng/lvdocviewcallback.h
+include/crengine-ng/lvdocviewcmd.h
+include/crengine-ng/lvdocviewprops.h
+include/crengine-ng/lvdrawbuf.h
+include/crengine-ng/lvembeddedfont.h
+include/crengine-ng/lvfnt.h
+include/crengine-ng/lvfntman.h
+include/crengine-ng/lvfont.h
+include/crengine-ng/lvgraydrawbuf.h
+include/crengine-ng/lvhashtable.h
+include/crengine-ng/lvimagesource.h
+include/crengine-ng/lvimg.h
+include/crengine-ng/lvmemman.h
+include/crengine-ng/lvpagemap.h
+include/crengine-ng/lvpagesplitter.h
+include/crengine-ng/lvptrvec.h
+include/crengine-ng/lvqueue.h
+include/crengine-ng/lvref.h
+include/crengine-ng/lvrefcache.h
+include/crengine-ng/lvrend.h
+include/crengine-ng/lvserialbuf.h
+include/crengine-ng/lvstorageobject.h
+include/crengine-ng/lvstream.h
+include/crengine-ng/lvstreamutils.h
+include/crengine-ng/lvstring.h
+include/crengine-ng/lvstring32collection.h
+include/crengine-ng/lvstring32hashedcollection.h
+include/crengine-ng/lvstring8collection.h
+include/crengine-ng/lvstsheet.h
+include/crengine-ng/lvstyles.h
+include/crengine-ng/lvtextfm.h
+include/crengine-ng/lvthread.h
+include/crengine-ng/lvtinydom_common.h
+include/crengine-ng/lvtinydomutils.h
+include/crengine-ng/lvtinynodecollection.h
+include/crengine-ng/lvtocitem.h
+include/crengine-ng/lvtypes.h
+include/crengine-ng/lvxmlparsercallback.h
+include/crengine-ng/lxmldocbase.h
+lib/cmake/crengine-ng/crengine-ng-config-version.cmake
+lib/cmake/crengine-ng/crengine-ng-config.cmake
+lib/cmake/crengine-ng/crengine-ng-targets-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/crengine-ng/crengine-ng-targets.cmake
+lib/libcrengine-ng.so
+lib/libcrengine-ng.so.0.9.12
+lib/libcrengine-ng.so.7
+libdata/pkgconfig/crengine-ng.pc
+%%DATADIR%%/chm.css
+%%DATADIR%%/dict.css
+%%DATADIR%%/doc.css
+%%DATADIR%%/docx.css
+%%DATADIR%%/epub.css
+%%DATADIR%%/fb2.css
+%%DATADIR%%/fb3.css
+%%DATADIR%%/htm.css
+%%DATADIR%%/html5.css
+%%DATADIR%%/hyph/hyph-ar.pattern
+%%DATADIR%%/hyph/hyph-bg.pattern
+%%DATADIR%%/hyph/hyph-bn.pattern
+%%DATADIR%%/hyph/hyph-cs.pattern
+%%DATADIR%%/hyph/hyph-da.pattern
+%%DATADIR%%/hyph/hyph-de-1996.pattern
+%%DATADIR%%/hyph/hyph-el-monoton.pattern
+%%DATADIR%%/hyph/hyph-en-gb.pattern
+%%DATADIR%%/hyph/hyph-en-us.pattern
+%%DATADIR%%/hyph/hyph-es.pattern
+%%DATADIR%%/hyph/hyph-fa.pattern
+%%DATADIR%%/hyph/hyph-fi.pattern
+%%DATADIR%%/hyph/hyph-fr.pattern
+%%DATADIR%%/hyph/hyph-grc.pattern
+%%DATADIR%%/hyph/hyph-gu.pattern
+%%DATADIR%%/hyph/hyph-hu.pattern
+%%DATADIR%%/hyph/hyph-it.pattern
+%%DATADIR%%/hyph/hyph-mr.pattern
+%%DATADIR%%/hyph/hyph-nl.pattern
+%%DATADIR%%/hyph/hyph-pa.pattern
+%%DATADIR%%/hyph/hyph-pl.pattern
+%%DATADIR%%/hyph/hyph-pt.pattern
+%%DATADIR%%/hyph/hyph-ru-ru,en-us.pattern
+%%DATADIR%%/hyph/hyph-ru-ru.pattern
+%%DATADIR%%/hyph/hyph-ta.pattern
+%%DATADIR%%/hyph/hyph-te.pattern
+%%DATADIR%%/hyph/hyph-uk.pattern
+%%DATADIR%%/hyph/hyph-zh-latn-pinyin.pattern
+%%DATADIR%%/markdown.css
+%%DATADIR%%/rtf.css
+%%DATADIR%%/txt.css