add crqt-ng: a fork of coolreader.
This commit is contained in:
@@ -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())
|
||||
|
||||
@@ -1,77 +0,0 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>coolreader-qt</Name>
|
||||
<Homepage>https://github.com/buggins/coolreader</Homepage>
|
||||
<Packager>
|
||||
<Name>Pisi Linux Community</Name>
|
||||
<Email>admin@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPL-2</License>
|
||||
<IsA>app:gui</IsA>
|
||||
<PartOf>office.misc</PartOf>
|
||||
<Summary>CoolReader 3 - cross platform open source e-book reader.</Summary>
|
||||
<Description>CoolReader 3 - cross platform open source e-book reader.</Description>
|
||||
<Archive sha1sum="72e57c86458d38c3d638e39fb40630d205f92bbc" type="targz">
|
||||
https://github.com/buggins/coolreader/archive/refs/tags/cr3.2.59.tar.gz
|
||||
</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>cmake</Dependency>
|
||||
<Dependency>zlib-devel</Dependency>
|
||||
<Dependency>zstd-devel</Dependency>
|
||||
<Dependency>libxcb-devel</Dependency>
|
||||
<Dependency>libpng-devel</Dependency>
|
||||
<Dependency>qt5-linguist</Dependency>
|
||||
<Dependency>fribidi-devel</Dependency>
|
||||
<Dependency>qt5-base-devel</Dependency>
|
||||
<Dependency>freetype-devel</Dependency>
|
||||
<Dependency>harfbuzz-devel</Dependency>
|
||||
<Dependency>utf8proc-devel</Dependency>
|
||||
<Dependency>fontconfig-devel</Dependency>
|
||||
<Dependency>libunibreak-devel</Dependency>
|
||||
<Dependency>libjpeg-turbo-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>coolreader-qt</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>zlib</Dependency>
|
||||
<Dependency>zstd</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
<Dependency>libpng</Dependency>
|
||||
<Dependency>fribidi</Dependency>
|
||||
<Dependency>freetype</Dependency>
|
||||
<Dependency>harfbuzz</Dependency>
|
||||
<Dependency>utf8proc</Dependency>
|
||||
<Dependency>qt5-base</Dependency>
|
||||
<Dependency>fontconfig</Dependency>
|
||||
<Dependency>libunibreak</Dependency>
|
||||
<Dependency>libjpeg-turbo</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="data">/usr/share</Path>
|
||||
<Path fileType="data">/usr/share/cr3</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="2">
|
||||
<Date>2022-07-30</Date>
|
||||
<Version>3.2.59</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>fury</Name>
|
||||
<Email>uglyside@yandex.ru</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2021-12-21</Date>
|
||||
<Version>3.2.59</Version>
|
||||
<Comment>First build</Comment>
|
||||
<Name>fury</Name>
|
||||
<Email>uglyside@yandex.ru</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
|
||||
@@ -9,8 +9,8 @@ from pisi.actionsapi import cmaketools, mesontools, pisitools
|
||||
i = ''.join([
|
||||
' -DBUILD_TOOLS=ON',
|
||||
' -DENABLE_LTO=ON',
|
||||
' -DUSE_CMARK_GFM=OFF',
|
||||
' -DUSE_CMARK=ON',
|
||||
' -DUSE_CMARK_GFM=ON',
|
||||
' -DUSE_CMARK=OFF',
|
||||
' -DCMAKE_BUILD_TYPE=Release',
|
||||
' -DCRE_BUILD_STATIC=OFF',
|
||||
' -DADD_DEBUG_EXTRA_OPTS=OFF',
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
<Description>
|
||||
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.
|
||||
</Description>
|
||||
<Archive sha1sum="5c543706fa8a5670e83b81d7e9abfab7ef2af753" type="tarbz2">
|
||||
https://gitlab.com/coolreader-ng/crengine-ng/-/archive/0.9.4/crengine-ng-0.9.4.tar.bz2
|
||||
<Archive sha1sum="9bd8964049ae73478faa91fe8a2df4dc0891277a" type="tarbz2">
|
||||
https://gitlab.com/coolreader-ng/crengine-ng/-/archive/0.9.5/crengine-ng-0.9.5.tar.bz2
|
||||
</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>cmake</Dependency>
|
||||
@@ -44,7 +44,7 @@
|
||||
<RuntimeDependencies>
|
||||
<Dependency>zlib</Dependency>
|
||||
<Dependency>zstd</Dependency>
|
||||
<Dependency>cmark</Dependency>
|
||||
<!-- <Dependency>cmark</Dependency> -->
|
||||
<Dependency>libgcc</Dependency>
|
||||
<Dependency>libpng</Dependency>
|
||||
<Dependency>libX11</Dependency>
|
||||
@@ -88,8 +88,8 @@
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2023-01-02</Date>
|
||||
<Version>0.9.4</Version>
|
||||
<Date>2023-01-21</Date>
|
||||
<Version>0.9.5</Version>
|
||||
<Comment>First build.</Comment>
|
||||
<Name>fury</Name>
|
||||
<Email>uglyside@yandex.ru</Email>
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2023-01-02</Date>
|
||||
<Date>2023-01-21</Date>
|
||||
<Version>1.0.4</Version>
|
||||
<Comment>First build.</Comment>
|
||||
<Name>fury</Name>
|
||||
|
||||
Reference in New Issue
Block a user