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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 975DF15808B for ; Fri, 8 Apr 2022 18:58:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 714F4E07D4; Fri, 8 Apr 2022 18:58:28 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EF991E07D4 for ; Fri, 8 Apr 2022 18:58:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 530DE3414F5 for ; Fri, 8 Apr 2022 18:58:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9766B1BD for ; Fri, 8 Apr 2022 18:58:15 +0000 (UTC) From: "Stephan Hartmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Stephan Hartmann" Message-ID: <1649444288.e6e588c66528d45b14a1ca4a062dc2dba728c648.sultan@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-1.0.03.ebuild X-VCS-Directories: www-client/otter/ X-VCS-Committer: sultan X-VCS-Committer-Name: Stephan Hartmann X-VCS-Revision: e6e588c66528d45b14a1ca4a062dc2dba728c648 X-VCS-Branch: master Date: Fri, 8 Apr 2022 18:58:15 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 1da869f6-8fc5-4e31-a16a-424eaafdf41a X-Archives-Hash: ef4aaad3fc6e20ed822005e94b43b80f commit: e6e588c66528d45b14a1ca4a062dc2dba728c648 Author: Stephan Hartmann gentoo org> AuthorDate: Fri Apr 8 18:58:08 2022 +0000 Commit: Stephan Hartmann gentoo org> CommitDate: Fri Apr 8 18:58:08 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6e588c6 www-client/otter: add 1.0.03 Signed-off-by: Stephan Hartmann gentoo.org> www-client/otter/Manifest | 1 + www-client/otter/otter-1.0.03.ebuild | 79 ++++++++++++++++++++++++++++++++++++ 2 files changed, 80 insertions(+) diff --git a/www-client/otter/Manifest b/www-client/otter/Manifest index ffd7eb734ffe..60f4575f7e9d 100644 --- a/www-client/otter/Manifest +++ b/www-client/otter/Manifest @@ -1 +1,2 @@ DIST otter-1.0.02.tar.gz 4940331 BLAKE2B 686547b4302e79e882c5c4967680992faf54b5330896207ae98b1633fa6eb2df70793bfd0c8da5c7b5b8be39c5b9528f32303f69026dcd43f12fd528923b9011 SHA512 5b142486298f2ef1f0613363c7a4de3340544ecd82406efc64225e78eb958337ea4045c0c44553fe3b29a0836bd5f6cdab37d615ebf98756108f9aa5473360a1 +DIST otter-1.0.03.tar.gz 5144915 BLAKE2B 7a2cc7f9b6cc1e50903af39ba1cbfe5089f2ba9b519886bd7d579bece3055d82e062da497d1e05ce4cd64a2c1e32041fdd2715aa79965412ae2846fcae82c103 SHA512 0a655305b20f8fbd8d9450cf987a297f931e6c8e5cc5d9ae6cc31d8949b0dc55d2c5fcfd3f6e90c92e9385a9558a70fde5f30fb3c06776145971d80676b51fbc diff --git a/www-client/otter/otter-1.0.03.ebuild b/www-client/otter/otter-1.0.03.ebuild new file mode 100644 index 000000000000..c17ffe24bc75 --- /dev/null +++ b/www-client/otter/otter-1.0.03.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake desktop xdg + +if [[ ${PV} == 9999* ]] ; then + EGIT_REPO_URI="https://github.com/OtterBrowser/${PN}-browser" + inherit git-r3 +else + SRC_URI="https://github.com/OtterBrowser/${PN}-browser/archive/v${PV/_p/-dev}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~ppc64 ~x86" + S=${WORKDIR}/${PN}-browser-${PV/_p/-dev} +fi + +DESCRIPTION="Project aiming to recreate classic Opera (12.x) UI using Qt5" +HOMEPAGE="https://otter-browser.org/" + +LICENSE="GPL-3" +SLOT="0" +IUSE="+dbus +spell" + +DEPEND=" + dev-qt/qtconcurrent:5 + dev-qt/qtcore: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 + dev-qt/qtwebengine:5[widgets] + dbus? ( dev-qt/qtdbus:5 ) + spell? ( app-text/hunspell:= ) +" +RDEPEND="${DEPEND}" + +DOCS=( CHANGELOG CONTRIBUTING.md TODO ) + +PATCHES=( + "${FILESDIR}"/${PN}-1.0.01-webengine.patch +) + +src_prepare() { + cmake_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_configure() { + local mycmakeargs=( + -DENABLE_DBUS=$(usex dbus) + -DENABLE_QTWEBENGINE=yes + -DENABLE_QTWEBKIT=no + -DENABLE_SPELLCHECK=$(usex spell) + ) + + cmake_src_configure +} + +src_install() { + cmake_src_install + domenu ${PN}-browser.desktop +}