summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2016-05-05 11:16:23 +0200
committerJeroen Roovers <jer@gentoo.org>2016-05-05 11:16:44 +0200
commitca349de3d69a39c31ff5841d5e4a4213432512a0 (patch)
tree8234bd461c56023a72ddfe7fd4ca4877226abc54 /www-client
parentdev-python/pypy3-bin: fix regression in tkinter (diff)
downloadgentoo-ca349de3d69a39c31ff5841d5e4a4213432512a0.tar.gz
gentoo-ca349de3d69a39c31ff5841d5e4a4213432512a0.tar.bz2
gentoo-ca349de3d69a39c31ff5841d5e4a4213432512a0.zip
www-client/otter: Version bump.
Package-Manager: portage-2.2.28
Diffstat (limited to 'www-client')
-rw-r--r--www-client/otter/Manifest1
-rw-r--r--www-client/otter/otter-0.9.10.ebuild61
2 files changed, 62 insertions, 0 deletions
diff --git a/www-client/otter/Manifest b/www-client/otter/Manifest
index 7a767727914..dec4a7c02da 100644
--- a/www-client/otter/Manifest
+++ b/www-client/otter/Manifest
@@ -1 +1,2 @@
DIST otter-0.9.09.tar.gz 3197615 SHA256 4fb555da8c8268cce3893a5af8c777b355978da4f87184a5a413a5c233622c6c SHA512 269d896784f6cdcc051c4d6c1b182910d62c10998b10993cb90387cc81a8ca032a36cbe0182695d441b3e470a7a5ba7f54ffb5436cbf566a3ccd9bf3911734b1 WHIRLPOOL 1bd3acf698b6d04bd4f65abcac1bef2c0708bdf56bf53eeb36b42bc36a36b06baf5c5239fcaca15dbf48a701eebca6701bba4ba7db39e7a0dfe91c606554ae43
+DIST otter-0.9.10.tar.gz 3521313 SHA256 276c35a31991d4cb274fcf3630b985ddb5876773400ef39893469c2f1c0e35e2 SHA512 04372d082a31bee906abee0d10e5489763b3f0a72d7e20b4c0fcbe85be0c29142294d4e32e9af56b6d7f4c529ffddc20347c0be6104bb6a64d8245724e20d96f WHIRLPOOL 5406db98000828c8db7017f990d777329049516545cd640443106196c256724adcf6aac72f39e564392f3dc11b4fa709fac056701ff030a79ee7e9ce7b100e02
diff --git a/www-client/otter/otter-0.9.10.ebuild b/www-client/otter/otter-0.9.10.ebuild
new file mode 100644
index 00000000000..91e53751cfb
--- /dev/null
+++ b/www-client/otter/otter-0.9.10.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+WANT_CMAKE="always"
+inherit eutils cmake-utils
+
+DESCRIPTION="Project aiming to recreate classic Opera (12.x) UI using Qt5"
+HOMEPAGE="http://otter-browser.org/"
+SRC_URI="https://github.com/Emdek/${PN}/archive/v${PV/_p/-dev}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="spell"
+
+DEPEND="
+ dev-qt/qtconcurrent:5
+ dev-qt/qtcore:5
+ dev-qt/qtdbus: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/qtwebkit:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtxmlpatterns:5
+ spell? ( kde-frameworks/sonnet )
+"
+RDEPEND="
+ ${DEPEND}
+"
+
+S=${WORKDIR}/${PN}-browser-${PV/_p/-dev}
+DOCS=( CHANGELOG CONTRIBUTING.md TODO )
+
+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_install() {
+ cmake-utils_src_install
+ domenu ${PN}-browser.desktop
+}