diff options
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/Manifest.gz | bin | 48917 -> 49075 bytes | |||
-rw-r--r-- | app-text/crengine-ng/Manifest | 4 | ||||
-rw-r--r-- | app-text/crengine-ng/crengine-ng-0.9.3.ebuild | 58 | ||||
-rw-r--r-- | app-text/crengine-ng/metadata.xml | 4 | ||||
-rw-r--r-- | app-text/crqt-ng/Manifest | 4 | ||||
-rw-r--r-- | app-text/crqt-ng/crqt-ng-1.0.3.ebuild | 41 | ||||
-rw-r--r-- | app-text/crqt-ng/metadata.xml | 4 | ||||
-rw-r--r-- | app-text/crwx-ng/Manifest | 3 | ||||
-rw-r--r-- | app-text/crwx-ng/crwx-ng-0.2.0.ebuild | 21 | ||||
-rw-r--r-- | app-text/crwx-ng/metadata.xml | 27 |
10 files changed, 160 insertions, 6 deletions
diff --git a/app-text/Manifest.gz b/app-text/Manifest.gz Binary files differindex 7008cce68831..91c13505d7da 100644 --- a/app-text/Manifest.gz +++ b/app-text/Manifest.gz diff --git a/app-text/crengine-ng/Manifest b/app-text/crengine-ng/Manifest index 8919bdfbb7bd..b275e342430c 100644 --- a/app-text/crengine-ng/Manifest +++ b/app-text/crengine-ng/Manifest @@ -1,3 +1,5 @@ DIST crengine-ng-0.9.2.tar.bz2 3123671 BLAKE2B 7ecafc398e81fa9771f5728d0fa60fbc6c3fb883a56d09fc4857d92c3d2f997cbbc0d4ac9818bff82d38ffb110463b88663f3298380a15e83df7292dff461cc2 SHA512 09b6f8f9bb747d71258802741d0d8962808279122ed6f2791b2c3813b684bb515206bc8656128e129fc7bcc76bcbb2c485360adb3b60f51377b87f26a1874e05 +DIST crengine-ng-0.9.3.tar.bz2 3125528 BLAKE2B 49f3c99dda63987fefff55184522f635af4c792e96efdc337e5c42c97d5975658a52308d33e314337d20ba9b8c70d0c590c567db567a01cc46d060d059ee20df SHA512 4a393c3ebb5ccc2a94fc06fae34b037c0e5d725d1b58a30d7f19476f94dbeb86e7138a444a84b80f536afb2fbed06a8899c87e322303322066a1d35a5bcd70a9 EBUILD crengine-ng-0.9.2.ebuild 1634 BLAKE2B 66e9342e3fa43ffc227a022fb82539a755b23fd078989c0851211f0ef798094fd9cc818f67011c9f8010d4efe6457a59eb6e1a4db64c3099e4afef09459ac05f SHA512 c283ac39b48919622238c443af5192440c10ad456d06f049b1f641984e1f1f2597a45c66d52fb8c11a63cf28797e082c6e7a33f9a28462f4b977142883097f5f -MISC metadata.xml 1225 BLAKE2B f4d77011c511148302e8ca82ca9505a282245a35aafece3a160361734ddd1d8a4c9e2ee62f6200ba32e01138d58a13f1e60ec4ce82625b7b31978b7fb38fc807 SHA512 1d27b4ecd665cb667996c15c1912a9120c3a1a70e44f8394d0f366fa4b5a81682a5f75a43e75570731e4a26f1f8a5570948d09709d1c16604a2ba2d105af9f3c +EBUILD crengine-ng-0.9.3.ebuild 1604 BLAKE2B 5a58df581a2e0c326601de20e766240b194f73a8f38c42b1de0783c36a2f36f2431fdacdfccea694bcf5a5c3c5c4abbb690ecdf4cef1aef63bc1b0ff7b86e3c4 SHA512 34ba53829325903c482e23b6c9b8c99f407bf30c1a2b618da60645508cc8f79dbc1172f08de041734b632a64443a8fb24c9e72aa6fbbddd321369244580f5b5c +MISC metadata.xml 1232 BLAKE2B ecb2f3ff8720e43b48f6e211da27f0f34d3123644a429cb7853ae4044761793f5137dfbeaa0962093f2b722fdcfb6e3bf9ad432835fa6fa3f5bbf5f7f7abd78c SHA512 6aa7904c0d002926d4223c46b31de30f5ab06dee8291909498ecaa6deed3a6b547cfaa40df1ad7dca7e74faa55e95ab4fe4fa4ac0698202b5dd0221a50288036 diff --git a/app-text/crengine-ng/crengine-ng-0.9.3.ebuild b/app-text/crengine-ng/crengine-ng-0.9.3.ebuild new file mode 100644 index 000000000000..f17cdaadf91a --- /dev/null +++ b/app-text/crengine-ng/crengine-ng-0.9.3.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit cmake + +DESCRIPTION="Cross-platform library designed to implement e-book readers" +HOMEPAGE="https://gitlab.com/coolreader-ng/crengine-ng" +SRC_URI="https://gitlab.com/coolreader-ng/${PN}/-/archive/${PV}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+png +jpeg +gif +svg +chm +harfbuzz +fontconfig +libunibreak +fribidi +zstd +libutf8proc lto static-libs" + +CDEPEND="sys-libs/zlib + png? ( media-libs/libpng:0 ) + jpeg? ( media-libs/libjpeg-turbo ) + >=media-libs/freetype-2.10.0 + harfbuzz? ( media-libs/harfbuzz:= ) + libunibreak? ( dev-libs/libunibreak:= ) + fribidi? ( dev-libs/fribidi ) + zstd? ( app-arch/zstd:= ) + libutf8proc? ( dev-libs/libutf8proc:= ) + fontconfig? ( media-libs/fontconfig )" + +RDEPEND="${CDEPEND}" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig + ${CDEPEND}" + +src_configure() { + CMAKE_USE_DIR="${S}" + CMAKE_BUILD_TYPE="Release" + local mycmakeargs=( + -DCRE_BUILD_SHARED=ON + -DCRE_BUILD_STATIC=$(usex static-libs) + -DUSE_COLOR_BACKBUFFER=ON + -DWITH_LIBPNG=$(usex png) + -DWITH_LIBJPEG=$(usex jpeg) + -DWITH_FREETYPE=ON + -DWITH_HARFBUZZ=$(usex harfbuzz) + -DWITH_LIBUNIBREAK=$(usex libunibreak) + -DWITH_FRIBIDI=$(usex fribidi) + -DWITH_ZSTD=$(usex zstd) + -DWITH_UTF8PROC=$(usex libutf8proc) + -DUSE_GIF=$(usex gif) + -DUSE_NANOSVG=$(usex svg) + -DUSE_CHM=$(usex chm) + -DUSE_ANTIWORD=ON + -DUSE_FONTCONFIG=$(usex fontconfig) + -DUSE_SHASUM=OFF + -DBUILD_TOOLS=OFF + -DENABLE_UNITTESTING=OFF + -DENABLE_LTO=$(usex lto) + ) + cmake_src_configure +} diff --git a/app-text/crengine-ng/metadata.xml b/app-text/crengine-ng/metadata.xml index 19324ff37cd7..77c3ad3cd348 100644 --- a/app-text/crengine-ng/metadata.xml +++ b/app-text/crengine-ng/metadata.xml @@ -11,8 +11,8 @@ <description>upstream</description> </maintainer> <longdescription lang="en"> - A fork of coolreader. Supported formats are: fb2 (including fb2.zip), fb3, epub (without DRM), - rtf, doc, docx, odt, html, chm, pdb, mobi (without DRM), txt, trc, prc. + A fork of coolreader engine. Supported formats are: fb2 (including fb2.zip), fb3, + epub (without DRM), rtf, doc, docx, odt, html, chm, pdb, mobi (without DRM), txt, trc, prc. </longdescription> <use> <flag name="chm">Support chm format</flag> diff --git a/app-text/crqt-ng/Manifest b/app-text/crqt-ng/Manifest index 6652d76ff948..95e5881d9c21 100644 --- a/app-text/crqt-ng/Manifest +++ b/app-text/crqt-ng/Manifest @@ -1,3 +1,5 @@ DIST crqt-ng-1.0.2.tar.bz2 419058 BLAKE2B 5d8b6704e6ec226852a0c82cc6c00b386c5b348675f00c4acc9dddbee999f381616083101f183523671ef81bb5036eddb7643b3f31857535d6773a549405ab1c SHA512 f8ebf9d5dec13b69fe7440209cd4da807d25413075b4ad2de885fa73134729be5c23df7d0a73bff061171449e394474ac3779b940120f144d93a7a98eca6cf55 +DIST crqt-ng-1.0.3.tar.bz2 423741 BLAKE2B 70b43b601b9b51673b12467a108683d83d087b20867bd21f919913f98d67f367c5dc40d4bd514e4fa5534a5c0766b486e41566c44d50ab8dd85c1717a4b20742 SHA512 aab30e3f42ffcc6a1d54e777d4968df8ae864e5d25df045634fc8041b8418d1440250fe7edc865648b3031bcd39f051295e1518b9e2078ee6046aa66add42dd2 EBUILD crqt-ng-1.0.2.ebuild 1087 BLAKE2B edaf6f8101555e0227c516b3ae616849c6b19bdb8418641dfbee2b0a2438d9e379f7b85ce67303a388e205bee9c4c78985593e3f3d1386bf34e53c0eee59ebc0 SHA512 e0c99bf02db0e39d2a6d6adbdc8de192766b54fc8a0a126f1bbcd36836f355363cac3e2c43f634eed45e4c042d966a7152a025321472276678418f9a2159a981 -MISC metadata.xml 1166 BLAKE2B b611a0ba6988c389c0a5b18b6e0a35b823529be3b1a5f6dd9f4f10baa82db79c79e9a9be6c709706480b6aa7d5acaecb2283fdd7accea44290bb79d503e52f5b SHA512 e86c87eb1cea3667041359e74f18771da797ed3363935efee7576db38b706c873c6057bccc335d48dc0d6727f5b57c57518c04c6cfb81882124b07a56e541d98 +EBUILD crqt-ng-1.0.3.ebuild 1087 BLAKE2B ef692fac9b3cdeb12dd6fc3794b94ca8055072f180cbb9ebb9457596bb2f93bbf5970d6326dd5f463ef773e8904993499102aff3dd475f073a5bd771977d707e SHA512 ff8923b57dfef117a4dfdcdfd5955f2c469a7ab65dc99d7962e9b7b0def829a3ae66135d5091204964e5f189a9b75d4b8edc302df87d7415f34306a9274e86c8 +MISC metadata.xml 1177 BLAKE2B 0c28a5a4feb5c6dd5cb1115c063770bb276f2accff5c7a5e695b1492ae5cf3a188ceef2d5fb3519da87f6b68eff452f4f61b87f6ebd196b08cba55a26836047f SHA512 7cd49c422506be812eb080160286b21e0ecd48d6ae877e3bbea2ea8fd2ca0998e36c670db0e75c708a54c0b311b55fcadbfc1bf791e4c0c912c29b42ed6fcee4 diff --git a/app-text/crqt-ng/crqt-ng-1.0.3.ebuild b/app-text/crqt-ng/crqt-ng-1.0.3.ebuild new file mode 100644 index 000000000000..8ab0c97e1f85 --- /dev/null +++ b/app-text/crqt-ng/crqt-ng-1.0.3.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PLOCALES="bg cs hu ru uk" +inherit cmake plocale xdg + +DESCRIPTION="Cross-platform e-book reader" +HOMEPAGE="https://gitlab.com/coolreader-ng/crqt-ng" +SRC_URI="https://gitlab.com/coolreader-ng/${PN}/-/archive/${PV}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+gif +svg +chm +harfbuzz +libunibreak +fribidi +zstd +libutf8proc" + +CDEPEND=">=app-text/crengine-ng-0.9.3[png,jpeg,fontconfig,gif=,svg=,chm=,harfbuzz=,fribidi=,zstd=,libutf8proc=] + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5" +RDEPEND="${CDEPEND}" +BDEPEND="${CDEPEND} + dev-qt/linguist-tools:5" + +src_prepare() { + cmake_src_prepare + xdg_environment_reset + + # locales + plocale_find_changes "${S}"/src/i18n 'crqt_' '.ts' + sed -e "s|set(LANGUAGES .*)|set(LANGUAGES $(plocale_get_locales))|i" \ + -i "${S}"/src/CMakeLists.txt \ + || die "sed CMakeLists.txt failed" +} + +src_configure() { + CMAKE_USE_DIR="${S}" + CMAKE_BUILD_TYPE="Release" + local mycmakeargs=(-DUSE_QT=QT5) + cmake_src_configure +} diff --git a/app-text/crqt-ng/metadata.xml b/app-text/crqt-ng/metadata.xml index 6aee26085f6e..78b99b69d30d 100644 --- a/app-text/crqt-ng/metadata.xml +++ b/app-text/crqt-ng/metadata.xml @@ -11,8 +11,8 @@ <description>upstream</description> </maintainer> <longdescription lang="en"> - A fork of coolreader. Supported formats are: fb2 (including fb2.zip), fb3, epub (without DRM), - rtf, doc, docx, odt, html, chm, pdb, mobi (without DRM), txt, trc, prc. + A fork of coolreader Qt program. Supported formats are: fb2 (including fb2.zip), fb3, + epub (without DRM), rtf, doc, docx, odt, html, chm, pdb, mobi (without DRM), txt, trc, prc. </longdescription> <use> <flag name="chm">Support chm format</flag> diff --git a/app-text/crwx-ng/Manifest b/app-text/crwx-ng/Manifest new file mode 100644 index 000000000000..71b0b2775aa2 --- /dev/null +++ b/app-text/crwx-ng/Manifest @@ -0,0 +1,3 @@ +DIST crwx-ng-0.2.0.tar.bz2 364917 BLAKE2B f8d541fa479fe3102d495ba43ce51d256f55b9724844d26b89db8396f2cbf90680dd312ecc0c816ee50fb498c8b69ba69d0db73f9ee5dcefc9991e8077754171 SHA512 0890a6066fca7178b483749e946659a6e4304f13694601024fe500e9b79351f7170403b136407a831abe7a040f775dd34c02d9411814c136da68ee6b69e00a99 +EBUILD crwx-ng-0.2.0.ebuild 699 BLAKE2B 4465401ed6b3d25fe49ca2a54ef016b975d144269009fe0314315cbafdaf4b1d95f6cfaaed4b155b73672c983b60e602b9ce4115ac964d01eeeb0804ffcf0a63 SHA512 641649c64ce54a67e83ca3ced03bf4af82f74574cea481791fc4104621d50fb40024045704afd2f81ccd3d56f91d6263bc0675298e7d69b7d23ea512e77199f7 +MISC metadata.xml 1177 BLAKE2B d2d0af2338da64845775c14b66725abb760d84d267ca93a44f2ea679e0125f0cb1815ecd312da919ab1d9050f957c9e763ceeb817df7b48bac024b15ed292e96 SHA512 3bdc42749dff929ae4fdb6b9bd2c84eadbae352de4baacdd4f08572cd20d1f336dcd2d003b41bd79d56b3476026ba4d57d89331fe038592b8adaef60d03f34d7 diff --git a/app-text/crwx-ng/crwx-ng-0.2.0.ebuild b/app-text/crwx-ng/crwx-ng-0.2.0.ebuild new file mode 100644 index 000000000000..7317e7272011 --- /dev/null +++ b/app-text/crwx-ng/crwx-ng-0.2.0.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +WX_GTK_VER="3.0-gtk3" +inherit cmake wxwidgets + +DESCRIPTION="Cross-platform e-book reader" +HOMEPAGE="https://gitlab.com/coolreader-ng/crqt-ng" +SRC_URI="https://gitlab.com/coolreader-ng/${PN}/-/archive/${PV}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+gif +svg +chm +harfbuzz +libunibreak +fribidi +zstd +libutf8proc" + +CDEPEND=">=app-text/crengine-ng-0.9.3[png,jpeg,fontconfig,gif=,svg=,chm=,harfbuzz=,fribidi=,zstd=,libutf8proc=] + x11-libs/wxGTK:${WX_GTK_VER}" +BDEPEND="${CDEPEND}" +RDEPEND="${CDEPEND} + || ( media-fonts/liberation-fonts media-fonts/corefonts )" diff --git a/app-text/crwx-ng/metadata.xml b/app-text/crwx-ng/metadata.xml new file mode 100644 index 000000000000..536740ef901b --- /dev/null +++ b/app-text/crwx-ng/metadata.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>grozin@gentoo.org</email> + <name>Andrey Grozin</name> + </maintainer> + <maintainer type="person"> + <email>valexlin@gmail.com</email> + <name>Aleksey Chernov</name> + <description>upstream</description> + </maintainer> + <longdescription lang="en"> + A fork of coolreader wx program. Supported formats are: fb2 (including fb2.zip), fb3, + epub (without DRM), rtf, doc, docx, odt, html, chm, pdb, mobi (without DRM), txt, trc, prc. + </longdescription> + <use> + <flag name="chm">Support chm format</flag> + <flag name="harfbuzz">Use <pkg>media-libs/harfbuzz</pkg> for kerning and ligatures</flag> + <flag name="libunibreak">Use <pkg>dev-libs/libunibreak</pkg> for hyphenation</flag> + <flag name="fribidi">Support bidirectional text by <pkg>dev-libs/fribidi</pkg></flag> + <flag name="libutf8proc">Use <pkg>dev-libs/libutf8proc</pkg> for manipulating unicode strings</flag> + </use> + <upstream> + <remote-id type="gitlab">coolreader-ng/crwx-ng</remote-id> + </upstream> +</pkgmetadata> |