summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2018-05-02 01:34:08 +0200
committerJeroen Roovers <jer@gentoo.org>2018-05-02 01:34:08 +0200
commit87e1797bc35f02ff18d6f1b3011a39137fee8a0c (patch)
treed371aefa4879f9c9764fae20600f4e390060e7c4 /www-client/otter
parentnet-print/brlaser: Fix metadata tabs (diff)
downloadgentoo-87e1797bc35f02ff18d6f1b3011a39137fee8a0c.tar.gz
gentoo-87e1797bc35f02ff18d6f1b3011a39137fee8a0c.tar.bz2
gentoo-87e1797bc35f02ff18d6f1b3011a39137fee8a0c.zip
www-client/otter: Version 0.9.98.
Package-Manager: Portage-2.3.31, Repoman-2.3.9
Diffstat (limited to 'www-client/otter')
-rw-r--r--www-client/otter/Manifest1
-rw-r--r--www-client/otter/otter-0.9.98.ebuild86
2 files changed, 87 insertions, 0 deletions
diff --git a/www-client/otter/Manifest b/www-client/otter/Manifest
index 9b76d0d7e5b4..2acca9471e13 100644
--- a/www-client/otter/Manifest
+++ b/www-client/otter/Manifest
@@ -1,2 +1,3 @@
DIST otter-0.9.96.tar.gz 4654502 BLAKE2B e56914aa0926c29de36cee5020b030d488c97801a5186e453941abaf9010cacc598b14ab43eba1d30a1bfc240188eec8d46138a635cd7b240eac40832cdfdd8b SHA512 3ced414122d912a61dca12dcf9e7477ff9eea209c6fa72bad4fbe100f2066e958de09f0d4d986ac1cf0b184f55169966669bebb998cdd033a01a6e3e6df1160b
DIST otter-0.9.97.tar.gz 4656799 BLAKE2B 0ac51063f5ed87724db0a5072c463f2768810eeb394fd7c0d492bb67ed61520a7a9f5d94468630dbc87447f34f3041158dee9355af4359cce768ea8db29981af SHA512 2e11a20a5888632644b2bb99dcc550092c4132dfbfa72a1f75a9b22082676bf7cf7656d617e7d245763f07692778b0040404151eaf835b306945e92e1ac23efe
+DIST otter-0.9.98.tar.gz 4678111 BLAKE2B c6e71b4e48ba47c4e86f60c6a7b04926052aad46bc03215ef7ff8588933b8a97d9a84973326d13d9bae8db73645112496b9e9f4d2e8a81a4a0ec5b58a0967691 SHA512 7b467db87ea512097a3d39fdf892917cb70e1575d1ca9bb1040e857313fa391a9faa51405f172e8ed8480bc088202b5f0881635a46d3bf98e9d627160b3250b8
diff --git a/www-client/otter/otter-0.9.98.ebuild b/www-client/otter/otter-0.9.98.ebuild
new file mode 100644
index 000000000000..a354d54d965f
--- /dev/null
+++ b/www-client/otter/otter-0.9.98.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit eutils cmake-utils gnome2-utils xdg-utils
+
+DESCRIPTION="Project aiming to recreate classic Opera (12.x) UI using Qt5"
+HOMEPAGE="http://otter-browser.org/"
+SRC_URI="https://github.com/OtterBrowser/${PN}-browser/archive/v${PV/_p/-dev}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~x86"
+IUSE="webengine +webkit spell"
+REQUIRED_USE="
+ || ( webengine webkit )
+"
+
+DEPEND="
+ dev-qt/qtconcurrent:5
+ dev-qt/qtcore:5
+ dev-qt/qtdbus:5
+ dev-qt/qtdeclarative:5
+ dev-qt/qtgui:5
+ dev-qt/qtmultimedia:5
+ dev-qt/qtnetwork:5[ssl]
+ dev-qt/qtprintsupport:5
+ dev-qt/qtscript:5
+ dev-qt/qtsql:5
+ dev-qt/qtsvg:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtxmlpatterns:5
+ spell? ( kde-frameworks/sonnet )
+ webengine? ( >=dev-qt/qtwebengine-5.9:5[widgets] )
+ webkit? ( dev-qt/qtwebkit:5 )
+"
+RDEPEND="
+ ${DEPEND}
+"
+
+S=${WORKDIR}/${PN}-browser-${PV/_p/-dev}
+DOCS=( CHANGELOG CONTRIBUTING.md TODO )
+
+src_prepare() {
+ cmake-utils_src_prepare
+
+ if [[ -n ${LINGUAS} ]]; then
+ local lingua
+ for lingua in resources/translations/*.qm; do
+ lingua=$(basename ${lingua})
+ lingua=${lingua/otter-browser_/}
+ lingua=${lingua/.qm/}
+ if ! has ${lingua} ${LINGUAS}; then
+ rm resources/translations/otter-browser_${lingua}.qm || die
+ fi
+ done
+ fi
+
+ if ! use spell; then
+ sed -i -e '/find_package(KF5Sonnet)/d' CMakeLists.txt || die
+ fi
+}
+
+src_configure() {
+ mycmakeargs=(
+ -DENABLE_QTWEBENGINE="$(usex webengine)"
+ -DENABLE_QTWEBKIT="$(usex webkit)"
+ )
+
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+ domenu ${PN}-browser.desktop
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+}