diff --git a/office/misc/coolreader-qt/actions.py b/office/misc/coolreader-qt/actions.py deleted file mode 100644 index 41d7997718..0000000000 --- a/office/misc/coolreader-qt/actions.py +++ /dev/null @@ -1,23 +0,0 @@ -#!/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 shelltools, cmaketools, pisitools, get - -j = '-DCMAKE_BUILD_TYPE=Release -DGUI=QT5 -L ' - -def setup(): - pisitools.dosed("crengine/include/cr3version.h", "58", "59") - pisitools.dosed("crengine/include/cr3version.h", "06-13", "08-31") - cmaketools.configure("-B_build %s" % j) - -def build(): - shelltools.cd("_build") - cmaketools.make() - -def install(): - shelltools.cd("_build") - cmaketools.rawInstall("DESTDIR=%s" % get.installDIR()) - diff --git a/office/misc/coolreader-qt/pspec.xml b/office/misc/coolreader-qt/pspec.xml deleted file mode 100644 index 8ef7120501..0000000000 --- a/office/misc/coolreader-qt/pspec.xml +++ /dev/null @@ -1,77 +0,0 @@ - - - - - coolreader-qt - https://github.com/buggins/coolreader - - Pisi Linux Community - admin@pisilinux.org - - GPL-2 - app:gui - office.misc - CoolReader 3 - cross platform open source e-book reader. - CoolReader 3 - cross platform open source e-book reader. - - https://github.com/buggins/coolreader/archive/refs/tags/cr3.2.59.tar.gz - - - cmake - zlib-devel - zstd-devel - libxcb-devel - libpng-devel - qt5-linguist - fribidi-devel - qt5-base-devel - freetype-devel - harfbuzz-devel - utf8proc-devel - fontconfig-devel - libunibreak-devel - libjpeg-turbo-devel - - - - - coolreader-qt - - zlib - zstd - libgcc - libpng - fribidi - freetype - harfbuzz - utf8proc - qt5-base - fontconfig - libunibreak - libjpeg-turbo - - - /usr/bin - /usr/share - /usr/share/cr3 - - - - - - 2022-07-30 - 3.2.59 - Rebuild - fury - uglyside@yandex.ru - - - 2021-12-21 - 3.2.59 - First build - fury - uglyside@yandex.ru - - - - diff --git a/office/misc/crengine-ng/actions.py b/office/misc/crengine-ng/actions.py new file mode 100644 index 0000000000..63f8a0cc6f --- /dev/null +++ b/office/misc/crengine-ng/actions.py @@ -0,0 +1,29 @@ +#!/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', + ' -DUSE_CMARK_GFM=ON', + ' -DUSE_CMARK=OFF', + ' -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..20759e17ff --- /dev/null +++ b/office/misc/crengine-ng/pspec.xml @@ -0,0 +1,98 @@ + + + + + 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.5/crengine-ng-0.9.5.tar.bz2 + + + cmake + ninja + zlib-devel + zstd-devel + cmark-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 + + + + + + 2023-01-21 + 0.9.5 + 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..e780aae856 --- /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.4/crqt-ng-1.0.4.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 + + + + + + 2023-01-21 + 1.0.4 + First build. + fury + uglyside@yandex.ru + + +