Merge pull request #11382 from 4fury-c3440d8/crqt-ng

coolreader replaced with crqt-ng.
This commit is contained in:
Rmys
2023-01-21 10:27:50 +03:00
committed by GitHub
6 changed files with 209 additions and 100 deletions
-23
View File
@@ -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())
-77
View File
@@ -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>
+29
View File
@@ -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")
+98
View File
@@ -0,0 +1,98 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>crengine-ng</Name>
<Homepage>https://gitlab.com/coolreader-ng/crengine-ng</Homepage>
<Packager>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Packager>
<License>GPL-2</License>
<IsA>library</IsA>
<PartOf>office.misc</PartOf>
<Summary>crengine-ng is cross-platform library designed to implement text viewers and e-book readers.</Summary>
<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="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>
<Dependency>ninja</Dependency>
<Dependency>zlib-devel</Dependency>
<Dependency>zstd-devel</Dependency>
<Dependency>cmark-devel</Dependency>
<Dependency>libpng-devel</Dependency>
<Dependency>libX11-devel</Dependency>
<Dependency>fribidi-devel</Dependency>
<Dependency>utf8proc-devel</Dependency>
<Dependency>freetype-devel</Dependency>
<Dependency>harfbuzz-devel</Dependency>
<Dependency>fontconfig-devel</Dependency>
<Dependency>libunibreak-devel</Dependency>
<Dependency>libjpeg-turbo-devel</Dependency>
</BuildDependencies>
<Patches>
<!-- <Patch level='1'></Patch> -->
</Patches>
</Source>
<Package>
<Name>crengine-ng</Name>
<RuntimeDependencies>
<Dependency>zlib</Dependency>
<Dependency>zstd</Dependency>
<!-- <Dependency>cmark</Dependency> -->
<Dependency>libgcc</Dependency>
<Dependency>libpng</Dependency>
<Dependency>libX11</Dependency>
<Dependency>fribidi</Dependency>
<Dependency>utf8proc</Dependency>
<Dependency>freetype</Dependency>
<Dependency>harfbuzz</Dependency>
<Dependency>fontconfig</Dependency>
<Dependency>libunibreak</Dependency>
<Dependency>libjpeg-turbo</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/libcrengine-ng.so</Path>
<Path fileType="data">/usr/share/crengine-ng</Path>
<Path fileType="data">/usr/share/crengine-ng/hyph</Path>
<Path fileType="data">/usr/share/doc/crengine-ng</Path>
</Files>
</Package>
<Package>
<Name>crengine-ng-devel</Name>
<RuntimeDependencies>
<Dependency>zlib-devel</Dependency>
<Dependency>zstd-devel</Dependency>
<Dependency>libpng-devel</Dependency>
<Dependency>fribidi-devel</Dependency>
<Dependency>utf8proc-devel</Dependency>
<Dependency>freetype-devel</Dependency>
<Dependency>harfbuzz-devel</Dependency>
<Dependency>fontconfig-devel</Dependency>
<Dependency>libunibreak-devel</Dependency>
<Dependency>libjpeg-turbo-devel</Dependency>
<Dependency release="current">crengine-ng</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include/crengine-ng</Path>
<Path fileType="data">/usr/lib/cmake/crengine-ng</Path>
<Path fileType="data">/usr/lib/pkgconfig/crengine-ng.pc</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2023-01-21</Date>
<Version>0.9.5</Version>
<Comment>First build.</Comment>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Update>
</History>
</PISI>
+23
View File
@@ -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")
+59
View File
@@ -0,0 +1,59 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>crqt</Name>
<Homepage>https://gitlab.com/coolreader-ng/crqt-ng</Homepage>
<Packager>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Packager>
<License>GPL-2</License>
<IsA>app:gui</IsA>
<PartOf>office.misc</PartOf>
<Summary>crqt-ng - cross-platform open source e-book reader using crengine-ng.</Summary>
<Description>
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.
</Description>
<Archive sha1sum="853657fb49623d87d02470209c863ea3cafc6bb7" type="tarbz2">
https://gitlab.com/coolreader-ng/crqt-ng/-/archive/1.0.4/crqt-ng-1.0.4.tar.bz2
</Archive>
<BuildDependencies>
<Dependency>cmake</Dependency>
<Dependency>ninja</Dependency>
<Dependency>libX11-devel</Dependency>
<Dependency>qt5-linguist</Dependency>
<Dependency>qt5-base-devel</Dependency>
<Dependency>crengine-ng-devel</Dependency>
</BuildDependencies>
<Patches>
<!-- <Patch level='1'></Patch> -->
</Patches>
</Source>
<Package>
<Name>crqt</Name>
<RuntimeDependencies>
<Dependency>libgcc</Dependency>
<Dependency>qt5-base</Dependency>
<Dependency>crengine-ng</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="data">/usr/share</Path>
<Path fileType="data">/usr/share/crqt</Path>
<Path fileType="data">/usr/share/crqt/i18n</Path>
<Path fileType="data">/usr/share/doc/crqt</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2023-01-21</Date>
<Version>1.0.4</Version>
<Comment>First build.</Comment>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Update>
</History>
</PISI>