diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-12-25 08:04:31 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-12-25 08:04:31 +0000 |
commit | e547f4cd5bc4d4173bb4b2b767883537d2d7486d (patch) | |
tree | 365ff7975253c9ef86eac145ffd2bd20eb12e17a /app-text/crqt-ng | |
parent | 426aa983e40197a69c600c42e0679b2161ca225c (diff) |
gentoo auto-resync : 25:12:2022 - 08:04:30
Diffstat (limited to 'app-text/crqt-ng')
-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 |
3 files changed, 46 insertions, 3 deletions
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> |