1 |
commit: 68dee4482dcb87f0f76c840c7af8bca0ffccee7e |
2 |
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Dec 31 09:48:23 2022 +0000 |
4 |
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 31 09:48:23 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68dee448 |
7 |
|
8 |
app-text/crqt-ng: bump to 1.0.4 |
9 |
|
10 |
Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org> |
11 |
|
12 |
app-text/crqt-ng/Manifest | 1 + |
13 |
app-text/crqt-ng/crqt-ng-1.0.4.ebuild | 41 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 42 insertions(+) |
15 |
|
16 |
diff --git a/app-text/crqt-ng/Manifest b/app-text/crqt-ng/Manifest |
17 |
index 05dfcb27fc27..ce1f4f7c7a4d 100644 |
18 |
--- a/app-text/crqt-ng/Manifest |
19 |
+++ b/app-text/crqt-ng/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST crqt-ng-1.0.3.tar.bz2 423741 BLAKE2B 70b43b601b9b51673b12467a108683d83d087b20867bd21f919913f98d67f367c5dc40d4bd514e4fa5534a5c0766b486e41566c44d50ab8dd85c1717a4b20742 SHA512 aab30e3f42ffcc6a1d54e777d4968df8ae864e5d25df045634fc8041b8418d1440250fe7edc865648b3031bcd39f051295e1518b9e2078ee6046aa66add42dd2 |
22 |
+DIST crqt-ng-1.0.4.tar.bz2 424685 BLAKE2B d661b0ea7e8eee2c386b07fe38e106af800ca2308a8a8e63e4f98d6c446362cf7d653fc5e1f3eb58ebd22e71dd42252f3db057129751d0eb5a3c7e08258eb8cb SHA512 411e28d343153467cbf0d57f28d80c3983f3dae67332b3cf19e5c26304b81e010b4dee02462a58a57c7c70253794a73ac42801d9527bf92e947a14e678075f6d |
23 |
|
24 |
diff --git a/app-text/crqt-ng/crqt-ng-1.0.4.ebuild b/app-text/crqt-ng/crqt-ng-1.0.4.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..ea8b15edeca4 |
27 |
--- /dev/null |
28 |
+++ b/app-text/crqt-ng/crqt-ng-1.0.4.ebuild |
29 |
@@ -0,0 +1,41 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+PLOCALES="bg cs hu ru uk" |
35 |
+inherit cmake plocale xdg |
36 |
+ |
37 |
+DESCRIPTION="Cross-platform e-book reader" |
38 |
+HOMEPAGE="https://gitlab.com/coolreader-ng/crqt-ng" |
39 |
+SRC_URI="https://gitlab.com/coolreader-ng/${PN}/-/archive/${PV}/${P}.tar.bz2" |
40 |
+ |
41 |
+LICENSE="GPL-2" |
42 |
+SLOT="0" |
43 |
+KEYWORDS="~amd64 ~x86" |
44 |
+IUSE="+gif +svg +chm +harfbuzz +libunibreak +fribidi +zstd +libutf8proc" |
45 |
+ |
46 |
+CDEPEND=">=app-text/crengine-ng-0.9.4[png,jpeg,fontconfig,gif=,svg=,chm=,harfbuzz=,fribidi=,zstd=,libutf8proc=] |
47 |
+ dev-qt/qtcore:5 |
48 |
+ dev-qt/qtgui:5 |
49 |
+ dev-qt/qtwidgets:5" |
50 |
+RDEPEND="${CDEPEND}" |
51 |
+BDEPEND="${CDEPEND} |
52 |
+ dev-qt/linguist-tools:5" |
53 |
+ |
54 |
+src_prepare() { |
55 |
+ cmake_src_prepare |
56 |
+ xdg_environment_reset |
57 |
+ |
58 |
+ # locales |
59 |
+ plocale_find_changes "${S}"/src/i18n 'crqt_' '.ts' |
60 |
+ sed -e "s|set(LANGUAGES .*)|set(LANGUAGES $(plocale_get_locales))|i" \ |
61 |
+ -i "${S}"/src/CMakeLists.txt \ |
62 |
+ || die "sed CMakeLists.txt failed" |
63 |
+} |
64 |
+ |
65 |
+src_configure() { |
66 |
+ CMAKE_USE_DIR="${S}" |
67 |
+ CMAKE_BUILD_TYPE="Release" |
68 |
+ local mycmakeargs=(-DUSE_QT=QT5) |
69 |
+ cmake_src_configure |
70 |
+} |