crqt-ng. a fork of coolreader.

This commit is contained in:
4fury-c3440d8
2022-12-25 01:53:00 +03:00
parent 95f1e60075
commit a8bd73d34d
4 changed files with 205 additions and 0 deletions
+27
View File
@@ -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")
+96
View File
@@ -0,0 +1,96 @@
<?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="e586cc632fdf8dd7f0efe1b29b820448cbd969de" type="tarbz2">
https://gitlab.com/coolreader-ng/crengine-ng/-/archive/0.9.2/crengine-ng-0.9.2.tar.bz2
</Archive>
<BuildDependencies>
<Dependency>cmake</Dependency>
<Dependency>ninja</Dependency>
<Dependency>zlib-devel</Dependency>
<Dependency>zstd-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>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>2022-12-24</Date>
<Version>0.9.2</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="096c02e861cbc10a7fa8c615203952f584412b65" type="tarbz2">
https://gitlab.com/coolreader-ng/crqt-ng/-/archive/1.0.2/crqt-ng-1.0.2.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>2022-12-24</Date>
<Version>1.0.2</Version>
<Comment>First build.</Comment>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Update>
</History>
</PISI>