From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8079C1382C5 for ; Mon, 2 Apr 2018 14:07:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9E3ACE0D52; Mon, 2 Apr 2018 14:07:19 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 66C34E0D52 for ; Mon, 2 Apr 2018 14:07:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2C1AD33BF08 for ; Mon, 2 Apr 2018 14:07:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3F6A926F for ; Mon, 2 Apr 2018 14:07:16 +0000 (UTC) From: "Jeroen Roovers" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jeroen Roovers" Message-ID: <1522678032.0e1a6d79aed7b0bf896536b998b72d9b5f0ef872.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/otter/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-client/otter/Manifest www-client/otter/otter-0.9.97.ebuild X-VCS-Directories: www-client/otter/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 0e1a6d79aed7b0bf896536b998b72d9b5f0ef872 X-VCS-Branch: master Date: Mon, 2 Apr 2018 14:07:16 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 05e9afec-060b-4e43-8766-862451edec75 X-Archives-Hash: 1f77d871d77da7be0eade825ee587b26 commit: 0e1a6d79aed7b0bf896536b998b72d9b5f0ef872 Author: Jeroen Roovers gentoo org> AuthorDate: Mon Apr 2 14:06:14 2018 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Mon Apr 2 14:07:12 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e1a6d79 www-client/otter: Version 0.9.97. Package-Manager: Portage-2.3.27, Repoman-2.3.9 www-client/otter/Manifest | 1 + www-client/otter/otter-0.9.97.ebuild | 86 ++++++++++++++++++++++++++++++++++++ 2 files changed, 87 insertions(+) diff --git a/www-client/otter/Manifest b/www-client/otter/Manifest index d39b56b1017..11f01fadec5 100644 --- a/www-client/otter/Manifest +++ b/www-client/otter/Manifest @@ -1,3 +1,4 @@ DIST otter-0.9.94.tar.gz 4585316 BLAKE2B 7fd450b1cb0102006680964fa9f858b5bed12094e076b4ab5a0cfdb9f790f5627b67d1521d2715919ff3d469b7c953680833e0f091be1320dade9cfc4ea844a4 SHA512 33943c145d40b9fed0afdfa90cf46d2604978347421ac39bfa7d1e9a90c61542fcd8899d039a4b68fc4e7cd6f9175ac9381966e3bc4a822d45ca70a66b6e9f95 DIST otter-0.9.95.tar.gz 4592078 BLAKE2B 075a8f7bb9e2e88c4f797328052f3139dc7bbb122d7a5c8485ff8ea7fa111fcabf39863bb5d4fe8a8a3c5883ed78174cd7efa05087bf2dd599c2e23f330e0f36 SHA512 cda1c4e0e8e9fbb78eaaf9317749b5513d972a450a2c88936c120de9646452315067b308c63c8b61c98eff22c4fb7d9e75ca69054b87acd6706a9731f37a1b80 DIST otter-0.9.96.tar.gz 4654502 BLAKE2B e56914aa0926c29de36cee5020b030d488c97801a5186e453941abaf9010cacc598b14ab43eba1d30a1bfc240188eec8d46138a635cd7b240eac40832cdfdd8b SHA512 3ced414122d912a61dca12dcf9e7477ff9eea209c6fa72bad4fbe100f2066e958de09f0d4d986ac1cf0b184f55169966669bebb998cdd033a01a6e3e6df1160b +DIST otter-0.9.97.tar.gz 4656799 BLAKE2B 0ac51063f5ed87724db0a5072c463f2768810eeb394fd7c0d492bb67ed61520a7a9f5d94468630dbc87447f34f3041158dee9355af4359cce768ea8db29981af SHA512 2e11a20a5888632644b2bb99dcc550092c4132dfbfa72a1f75a9b22082676bf7cf7656d617e7d245763f07692778b0040404151eaf835b306945e92e1ac23efe diff --git a/www-client/otter/otter-0.9.97.ebuild b/www-client/otter/otter-0.9.97.ebuild new file mode 100644 index 00000000000..a354d54d965 --- /dev/null +++ b/www-client/otter/otter-0.9.97.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 +}