diff --git a/office/misc/coolreader-qt/actions.py b/office/misc/coolreader-qt/actions.py new file mode 100644 index 0000000000..34bdb72b2c --- /dev/null +++ b/office/misc/coolreader-qt/actions.py @@ -0,0 +1,26 @@ +#!/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 +from pisi.actionsapi import cmaketools +from pisi.actionsapi import pisitools +from pisi.actionsapi import get + +j = '-DCMAKE_BUILD_TYPE=Release -DGUI=QT5 -L ' + +def setup(): + shelltools.makedirs("_build") + shelltools.cd("_build") + cmaketools.configure(j, sourceDir = '..') + +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 new file mode 100644 index 0000000000..7d374848c6 --- /dev/null +++ b/office/misc/coolreader-qt/pspec.xml @@ -0,0 +1,70 @@ + + + + + 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 + + + + + + 2021-11-22 + 3.2.59 + First build. + fury + uglyside@yandex.ru + + + +