diff options
Diffstat (limited to 'www-client/otter')
-rw-r--r-- | www-client/otter/Manifest | 1 | ||||
-rw-r--r-- | www-client/otter/otter-0.9.08.ebuild | 55 |
2 files changed, 56 insertions, 0 deletions
diff --git a/www-client/otter/Manifest b/www-client/otter/Manifest index 8b4346b23018..3df37844c598 100644 --- a/www-client/otter/Manifest +++ b/www-client/otter/Manifest @@ -1 +1,2 @@ DIST otter-0.9.07.tar.gz 2634317 SHA256 1c27509f9736a9c99e12a3ef23b08cc41548ad7f6d7481bf07020fb471788da9 SHA512 035462e7a601e74a6a3dc924caf2d80e38e2ec75d75211d5f83176e0065a0289e8c0fd034643aa01c94dd6cfe9f695a4533e7464e6f019ed9153eec20641fa78 WHIRLPOOL 4c50c76d2d5fc75f9c6545dc57e2b21295e046af1bae9653999bc4880c5bd6021cfb75e125d6c75f3ef76e6c3999bcf271cafc090ab52d63cf84165876541227 +DIST otter-0.9.08.tar.gz 3124966 SHA256 b4606aca5983b90b232a90517f283c2c6a1045f295352792b4a2c00a51b5d4c8 SHA512 9244a84490bb8dda12b932f6b39a41000a96740ef9c194e8f52a31122d763f857462e88219f086e8ad886dd6e0d79d4143060ddb801aaeb30c2952cef283e5ff WHIRLPOOL b395badb4b92e954f6437267ef3cb4f9b59a8b4043efd3bccadc8e9b3dc63dfb460d872e1837363464a2f8b46eca2022d7aaea318ccfcbe73329959c38f1aca2 diff --git a/www-client/otter/otter-0.9.08.ebuild b/www-client/otter/otter-0.9.08.ebuild new file mode 100644 index 000000000000..4627713d4beb --- /dev/null +++ b/www-client/otter/otter-0.9.08.ebuild @@ -0,0 +1,55 @@ +# 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" + +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 +" +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 +} + +src_install() { + cmake-utils_src_install + domenu ${PN}-browser.desktop +} |