From 8af597c620417e84186f49739f2a75d77834c55d Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Sun, 15 Oct 2017 12:36:44 +0200 Subject: www-client/otter: Version bump (bug #634312). Package-Manager: Portage-2.3.11, Repoman-2.3.3 --- www-client/otter/Manifest | 1 + www-client/otter/otter-0.9.91.ebuild | 71 ++++++++++++++++++++++++++++++++++++ 2 files changed, 72 insertions(+) create mode 100644 www-client/otter/otter-0.9.91.ebuild (limited to 'www-client/otter') diff --git a/www-client/otter/Manifest b/www-client/otter/Manifest index 54873600cd58..33d5bd90962f 100644 --- a/www-client/otter/Manifest +++ b/www-client/otter/Manifest @@ -1 +1,2 @@ DIST otter-0.9.12.tar.gz 4211473 SHA256 1a184561b9dbf3443cf1f83ad8604976b1b06cc00a93306331b364f237363e20 SHA512 65d6d89fbd632652bde00418954f46a5617548a189ab8863102dedb4fc1be62e41d2b187ad67eb5a6214c96d6b5957223ffbe24c1f641bb92295ac3e846d01d2 WHIRLPOOL df1034578b553a30fa79a8038f3b26e33c0570cfb52645c5bfe3a6a1f31a33a98f12b57f25ca2376a2f4eaaa9c4949579369f2f7c3fcd8f4b5792ccfa2449973 +DIST otter-0.9.91.tar.gz 4422341 SHA256 31ba7efc9359f553c600b190a8f4105a98818cf2022f32298238397912c5e13a SHA512 d7a98c5a9ef8dc2cd134ca20885c4332f96ef5ebb31bee968d132ca6cc6f30786e382be42decd10e4b0d85f7ddd67fb6dd008ac130d4ba4cf5cbb7423ce9f63d WHIRLPOOL f0e5dd25bae9f589a6c533d7c01665a3c8886e1398405412a8fc95f61c7d8f1bf7e75ffa20ffbb1a43b2539032ca672f0111b0b5de16f828b36f97acd1578f23 diff --git a/www-client/otter/otter-0.9.91.ebuild b/www-client/otter/otter-0.9.91.ebuild new file mode 100644 index 000000000000..41daaf7d7c70 --- /dev/null +++ b/www-client/otter/otter-0.9.91.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2017 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 ~x86" +IUSE="spell" + +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/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() { + default + 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 +} + +pkg_postinst() { + gnome2_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + gnome2_icon_cache_update + xdg_desktop_database_update +} -- cgit v1.2.3-65-gdbad