commit: a85065ecd82448f14cffd16822d2e137a43f2763 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> AuthorDate: Mon Jan 9 12:12:52 2017 +0000 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> CommitDate: Mon Jan 9 12:21:37 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a85065ec
www-client/otter: Version bump (bug #605092 by Anton Kochkov). Package-Manager: Portage-2.3.3, Repoman-2.3.1 www-client/otter/Manifest | 1 + www-client/otter/otter-0.9.12.ebuild | 62 ++++++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) diff --git a/www-client/otter/Manifest b/www-client/otter/Manifest index a42ce5b..029c9ed 100644 --- a/www-client/otter/Manifest +++ b/www-client/otter/Manifest @@ -1,2 +1,3 @@ DIST otter-0.9.10.tar.gz 3521313 SHA256 276c35a31991d4cb274fcf3630b985ddb5876773400ef39893469c2f1c0e35e2 SHA512 04372d082a31bee906abee0d10e5489763b3f0a72d7e20b4c0fcbe85be0c29142294d4e32e9af56b6d7f4c529ffddc20347c0be6104bb6a64d8245724e20d96f WHIRLPOOL 5406db98000828c8db7017f990d777329049516545cd640443106196c256724adcf6aac72f39e564392f3dc11b4fa709fac056701ff030a79ee7e9ce7b100e02 DIST otter-0.9.11.tar.gz 4017475 SHA256 1497b7d51f7e9259df1a05b3e7101699534759c7c73718147ca760ddbc0f0788 SHA512 9c8b8a46cc56b9d816d7217abbb0e42f8f9bbba2863942645f071ef7e76953756a233786bb0bdafbf650255e71374062823a154d794350a9114539517855cce3 WHIRLPOOL f9ce251199bba88c410df2acab0b9c93db46fa0d3e423eaedea1d147618040f2555bac9458620de93b56a916c99ac7c3e66f07dfbe968144e3e04edd50643957 +DIST otter-0.9.12.tar.gz 4211473 SHA256 1a184561b9dbf3443cf1f83ad8604976b1b06cc00a93306331b364f237363e20 SHA512 65d6d89fbd632652bde00418954f46a5617548a189ab8863102dedb4fc1be62e41d2b187ad67eb5a6214c96d6b5957223ffbe24c1f641bb92295ac3e846d01d2 WHIRLPOOL df1034578b553a30fa79a8038f3b26e33c0570cfb52645c5bfe3a6a1f31a33a98f12b57f25ca2376a2f4eaaa9c4949579369f2f7c3fcd8f4b5792ccfa2449973 diff --git a/www-client/otter/otter-0.9.12.ebuild b/www-client/otter/otter-0.9.12.ebuild new file mode 100644 index 00000000..dd309e1 --- /dev/null +++ b/www-client/otter/otter-0.9.12.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2017 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/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() { + 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 +}