1 |
commit: e6e588c66528d45b14a1ca4a062dc2dba728c648 |
2 |
Author: Stephan Hartmann <sultan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Apr 8 18:58:08 2022 +0000 |
4 |
Commit: Stephan Hartmann <sultan <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 8 18:58:08 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6e588c6 |
7 |
|
8 |
www-client/otter: add 1.0.03 |
9 |
|
10 |
Signed-off-by: Stephan Hartmann <sultan <AT> gentoo.org> |
11 |
|
12 |
www-client/otter/Manifest | 1 + |
13 |
www-client/otter/otter-1.0.03.ebuild | 79 ++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 80 insertions(+) |
15 |
|
16 |
diff --git a/www-client/otter/Manifest b/www-client/otter/Manifest |
17 |
index ffd7eb734ffe..60f4575f7e9d 100644 |
18 |
--- a/www-client/otter/Manifest |
19 |
+++ b/www-client/otter/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST otter-1.0.02.tar.gz 4940331 BLAKE2B 686547b4302e79e882c5c4967680992faf54b5330896207ae98b1633fa6eb2df70793bfd0c8da5c7b5b8be39c5b9528f32303f69026dcd43f12fd528923b9011 SHA512 5b142486298f2ef1f0613363c7a4de3340544ecd82406efc64225e78eb958337ea4045c0c44553fe3b29a0836bd5f6cdab37d615ebf98756108f9aa5473360a1 |
22 |
+DIST otter-1.0.03.tar.gz 5144915 BLAKE2B 7a2cc7f9b6cc1e50903af39ba1cbfe5089f2ba9b519886bd7d579bece3055d82e062da497d1e05ce4cd64a2c1e32041fdd2715aa79965412ae2846fcae82c103 SHA512 0a655305b20f8fbd8d9450cf987a297f931e6c8e5cc5d9ae6cc31d8949b0dc55d2c5fcfd3f6e90c92e9385a9558a70fde5f30fb3c06776145971d80676b51fbc |
23 |
|
24 |
diff --git a/www-client/otter/otter-1.0.03.ebuild b/www-client/otter/otter-1.0.03.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..c17ffe24bc75 |
27 |
--- /dev/null |
28 |
+++ b/www-client/otter/otter-1.0.03.ebuild |
29 |
@@ -0,0 +1,79 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+ |
35 |
+inherit cmake desktop xdg |
36 |
+ |
37 |
+if [[ ${PV} == 9999* ]] ; then |
38 |
+ EGIT_REPO_URI="https://github.com/OtterBrowser/${PN}-browser" |
39 |
+ inherit git-r3 |
40 |
+else |
41 |
+ SRC_URI="https://github.com/OtterBrowser/${PN}-browser/archive/v${PV/_p/-dev}.tar.gz -> ${P}.tar.gz" |
42 |
+ KEYWORDS="~amd64 ~ppc64 ~x86" |
43 |
+ S=${WORKDIR}/${PN}-browser-${PV/_p/-dev} |
44 |
+fi |
45 |
+ |
46 |
+DESCRIPTION="Project aiming to recreate classic Opera (12.x) UI using Qt5" |
47 |
+HOMEPAGE="https://otter-browser.org/" |
48 |
+ |
49 |
+LICENSE="GPL-3" |
50 |
+SLOT="0" |
51 |
+IUSE="+dbus +spell" |
52 |
+ |
53 |
+DEPEND=" |
54 |
+ dev-qt/qtconcurrent:5 |
55 |
+ dev-qt/qtcore:5 |
56 |
+ dev-qt/qtdeclarative:5 |
57 |
+ dev-qt/qtgui:5 |
58 |
+ dev-qt/qtmultimedia:5 |
59 |
+ dev-qt/qtnetwork:5[ssl] |
60 |
+ dev-qt/qtprintsupport:5 |
61 |
+ dev-qt/qtscript:5 |
62 |
+ dev-qt/qtsql:5 |
63 |
+ dev-qt/qtsvg:5 |
64 |
+ dev-qt/qtwidgets:5 |
65 |
+ dev-qt/qtxmlpatterns:5 |
66 |
+ dev-qt/qtwebengine:5[widgets] |
67 |
+ dbus? ( dev-qt/qtdbus:5 ) |
68 |
+ spell? ( app-text/hunspell:= ) |
69 |
+" |
70 |
+RDEPEND="${DEPEND}" |
71 |
+ |
72 |
+DOCS=( CHANGELOG CONTRIBUTING.md TODO ) |
73 |
+ |
74 |
+PATCHES=( |
75 |
+ "${FILESDIR}"/${PN}-1.0.01-webengine.patch |
76 |
+) |
77 |
+ |
78 |
+src_prepare() { |
79 |
+ cmake_src_prepare |
80 |
+ |
81 |
+ if [[ -n ${LINGUAS} ]]; then |
82 |
+ local lingua |
83 |
+ for lingua in resources/translations/*.qm; do |
84 |
+ lingua=$(basename ${lingua}) |
85 |
+ lingua=${lingua/otter-browser_/} |
86 |
+ lingua=${lingua/.qm/} |
87 |
+ if ! has ${lingua} ${LINGUAS}; then |
88 |
+ rm resources/translations/otter-browser_${lingua}.qm || die |
89 |
+ fi |
90 |
+ done |
91 |
+ fi |
92 |
+} |
93 |
+ |
94 |
+src_configure() { |
95 |
+ local mycmakeargs=( |
96 |
+ -DENABLE_DBUS=$(usex dbus) |
97 |
+ -DENABLE_QTWEBENGINE=yes |
98 |
+ -DENABLE_QTWEBKIT=no |
99 |
+ -DENABLE_SPELLCHECK=$(usex spell) |
100 |
+ ) |
101 |
+ |
102 |
+ cmake_src_configure |
103 |
+} |
104 |
+ |
105 |
+src_install() { |
106 |
+ cmake_src_install |
107 |
+ domenu ${PN}-browser.desktop |
108 |
+} |