diff --git a/office/misc/crengine-ng/actions.py b/office/misc/crengine-ng/actions.py new file mode 100644 index 0000000000..9fd8a35b7f --- /dev/null +++ b/office/misc/crengine-ng/actions.py @@ -0,0 +1,27 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file https://www.gnu.org/licenses/gpl-3.0.txt + +from pisi.actionsapi import cmaketools, mesontools, pisitools + +i = ''.join([ + ' -DBUILD_TOOLS=ON', + ' -DENABLE_LTO=ON', + ' -DCMAKE_BUILD_TYPE=Release', + ' -DCRE_BUILD_STATIC=OFF', + ' -DADD_DEBUG_EXTRA_OPTS=OFF', + ' -B_build -G Ninja -L ' + ]) + +def setup(): + cmaketools.configure(i) + +def build(): + mesontools.build("-C _build") + +def install(): + mesontools.install("-C _build") + + pisitools.dodoc("AUTHORS", "ChangeLog") diff --git a/office/misc/crengine-ng/pspec.xml b/office/misc/crengine-ng/pspec.xml new file mode 100644 index 0000000000..c9dc313f51 --- /dev/null +++ b/office/misc/crengine-ng/pspec.xml @@ -0,0 +1,96 @@ + + + + + crengine-ng + https://gitlab.com/coolreader-ng/crengine-ng + + fury + uglyside@yandex.ru + + GPL-2 + library + office.misc + crengine-ng is cross-platform library designed to implement text viewers and e-book readers. + + Supported document formats: fb2, fb3, epub (without DRM), rtf, doc, docx, odt, htm, chm, pdb, mobi (without DRM), txt, trc, prc. In fact, this is a fork of the CoolReader project. + + + https://gitlab.com/coolreader-ng/crengine-ng/-/archive/0.9.2/crengine-ng-0.9.2.tar.bz2 + + + cmake + ninja + zlib-devel + zstd-devel + libpng-devel + libX11-devel + fribidi-devel + utf8proc-devel + freetype-devel + harfbuzz-devel + fontconfig-devel + libunibreak-devel + libjpeg-turbo-devel + + + + + + + + crengine-ng + + zlib + zstd + libgcc + libpng + libX11 + fribidi + utf8proc + freetype + harfbuzz + fontconfig + libunibreak + libjpeg-turbo + + + /usr/lib/libcrengine-ng.so + /usr/share/crengine-ng + /usr/share/crengine-ng/hyph + /usr/share/doc/crengine-ng + + + + + crengine-ng-devel + + zlib-devel + zstd-devel + libpng-devel + fribidi-devel + utf8proc-devel + freetype-devel + harfbuzz-devel + fontconfig-devel + libunibreak-devel + libjpeg-turbo-devel + crengine-ng + + + /usr/include/crengine-ng + /usr/lib/cmake/crengine-ng + /usr/lib/pkgconfig/crengine-ng.pc + + + + + + 2022-12-24 + 0.9.2 + First build. + fury + uglyside@yandex.ru + + + diff --git a/office/misc/crqt/actions.py b/office/misc/crqt/actions.py new file mode 100644 index 0000000000..89dfa71780 --- /dev/null +++ b/office/misc/crqt/actions.py @@ -0,0 +1,23 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file https://www.gnu.org/licenses/gpl-3.0.txt + +from pisi.actionsapi import cmaketools, mesontools, pisitools + +i = ''.join([ + ' -DCMAKE_BUILD_TYPE=Release', + ' -B_build -G Ninja -L ' + ]) + +def setup(): + cmaketools.configure(i) + +def build(): + mesontools.build("-C _build") + +def install(): + mesontools.install("-C _build") + + pisitools.dodoc("AUTHORS", "ChangeLog") diff --git a/office/misc/crqt/pspec.xml b/office/misc/crqt/pspec.xml new file mode 100644 index 0000000000..9732019548 --- /dev/null +++ b/office/misc/crqt/pspec.xml @@ -0,0 +1,59 @@ + + + + + crqt + https://gitlab.com/coolreader-ng/crqt-ng + + fury + uglyside@yandex.ru + + GPL-2 + app:gui + office.misc + crqt-ng - cross-platform open source e-book reader using crengine-ng. + + It is a fork of the CoolReader project. Supported e-book formats: fb2, fb3 (incomplete), epub (non-DRM), doc, docx, odt, rtf, pdb, mobi (non-DRM), txt, html, chm, tcr. + + + https://gitlab.com/coolreader-ng/crqt-ng/-/archive/1.0.2/crqt-ng-1.0.2.tar.bz2 + + + cmake + ninja + libX11-devel + qt5-linguist + qt5-base-devel + crengine-ng-devel + + + + + + + + crqt + + libgcc + qt5-base + crengine-ng + + + /usr/bin + /usr/share + /usr/share/crqt + /usr/share/crqt/i18n + /usr/share/doc/crqt + + + + + + 2022-12-24 + 1.0.2 + First build. + fury + uglyside@yandex.ru + + +