Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/kde:master commit in: www-client/falkon/
Date: Tue, 03 Oct 2017 21:30:12
Message-Id: 1507066180.f23491ccba930a8108572bda4f42c664b3636e16.asturm@gentoo
1 commit: f23491ccba930a8108572bda4f42c664b3636e16
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Tue Oct 3 21:28:19 2017 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Tue Oct 3 21:29:40 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=f23491cc
7
8 www-client/falkon: New package
9
10 Package-Manager: Portage-2.3.11, Repoman-2.3.3
11
12 www-client/falkon/falkon-9999.ebuild | 68 ++++++++++++++++++++++++++++++++++++
13 www-client/falkon/metadata.xml | 15 ++++++++
14 2 files changed, 83 insertions(+)
15
16 diff --git a/www-client/falkon/falkon-9999.ebuild b/www-client/falkon/falkon-9999.ebuild
17 new file mode 100644
18 index 0000000000..cab43a30f1
19 --- /dev/null
20 +++ b/www-client/falkon/falkon-9999.ebuild
21 @@ -0,0 +1,68 @@
22 +# Copyright 1999-2017 Gentoo Foundation
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=6
26 +
27 +PLUGINS_HASH="80fea7df7765fdf9c9c64fdb667052b25f1c0a22"
28 +PLUGINS_VERSION="2016.05.26" # if there are no updates, we can use the older archive
29 +# QT_MINIMAL="5.9.2"
30 +inherit kde5
31 +
32 +DESCRIPTION="Cross-platform web browser using QtWebEngine"
33 +HOMEPAGE="https://www.qupzilla.com/"
34 +SRC_URI+=" https://github.com/QupZilla/qupzilla-plugins/archive/${PLUGINS_HASH}.tar.gz -> qupzilla-plugins-${PLUGINS_VERSION}.tar.gz"
35 +
36 +LICENSE="GPL-3"
37 +SLOT="0"
38 +KEYWORDS=""
39 +IUSE="dbus gnome-keyring kwallet libressl nonblockdialogs +X"
40 +
41 +RDEPEND="
42 + $(add_qt_dep qtdeclarative 'widgets')
43 + $(add_qt_dep qtgui)
44 + $(add_qt_dep qtnetwork 'ssl')
45 + $(add_qt_dep qtprintsupport)
46 + $(add_qt_dep qtsql 'sqlite')
47 + $(add_qt_dep qtwebchannel)
48 + $(add_qt_dep qtwebengine 'widgets')
49 + $(add_qt_dep qtwidgets)
50 + dbus? ( $(add_qt_dep qtdbus) )
51 + gnome-keyring? ( gnome-base/gnome-keyring )
52 + kwallet? ( $(add_frameworks_dep kwallet) )
53 + libressl? ( dev-libs/libressl:= )
54 + !libressl? ( dev-libs/openssl:0= )
55 + X? (
56 + $(add_qt_dep qtx11extras)
57 + x11-libs/libxcb:=
58 + )
59 +"
60 +DEPEND="${RDEPEND}
61 + $(add_qt_dep linguist-tools)
62 + $(add_qt_dep qtconcurrent)
63 + gnome-keyring? ( virtual/pkgconfig )
64 +"
65 +
66 +DOCS=( AUTHORS BUILDING.md CHANGELOG FAQ README.md )
67 +
68 +src_unpack() {
69 + kde5_src_unpack
70 + [[ ${KDE_BUILD_TYPE} = live && -n ${A} ]] && default
71 +}
72 +
73 +src_prepare() {
74 + kde5_src_prepare
75 + # get extra plugins into qupzilla build tree
76 + mv "${WORKDIR}"/qupzilla-plugins-${PLUGINS_HASH}/plugins/* "${S}"/src/plugins/ || die
77 +}
78 +
79 +src_configure() {
80 + local mycmakeargs=(
81 + -DDISABLE_DBUS=$(usex dbus)
82 + -DBUILD_KEYRING=$(usex gnome-keyring)
83 + $(cmake-utils_use_find_package kwallet KF5Wallet)
84 + -DNONBLOCK_JS_DIALOGS=$(usex nonblockdialogs)
85 + -DNOT_X11=$(usex !X)
86 + -DDISABLE_UPDATES_CHECK=OFF
87 + )
88 + kde5_src_configure
89 +}
90
91 diff --git a/www-client/falkon/metadata.xml b/www-client/falkon/metadata.xml
92 new file mode 100644
93 index 0000000000..97e1a6dcfd
94 --- /dev/null
95 +++ b/www-client/falkon/metadata.xml
96 @@ -0,0 +1,15 @@
97 +<?xml version="1.0" encoding="UTF-8"?>
98 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
99 +<pkgmetadata>
100 + <maintainer type="project">
101 + <email>qt@g.o</email>
102 + <name>Gentoo Qt Project</name>
103 + </maintainer>
104 + <use>
105 + <flag name="kwallet">Enable encrypted storage of passwords with <pkg>kde-frameworks/kwallet</pkg></flag>
106 + <flag name="nonblockdialogs">Enable fancy non-blocking JavaScript dialogs
107 + shown inside the page, not blocking the application window. When closing
108 + browser windows with open dialogs, this can crash the application.
109 + </flag>
110 + </use>
111 +</pkgmetadata>