diff options
author | Stephan Hartmann <sultan@gentoo.org> | 2021-01-10 21:15:30 +0100 |
---|---|---|
committer | Stephan Hartmann <sultan@gentoo.org> | 2021-01-10 21:16:01 +0100 |
commit | 4b0b467a54c909644e004ed9e85dc07f37468b1a (patch) | |
tree | 504ee2dc906b3f5d1e6e152cc2e108930678cec1 /www-client | |
parent | www-client/otter: update live ebuild (diff) | |
download | gentoo-4b0b467a54c909644e004ed9e85dc07f37468b1a.tar.gz gentoo-4b0b467a54c909644e004ed9e85dc07f37468b1a.tar.bz2 gentoo-4b0b467a54c909644e004ed9e85dc07f37468b1a.zip |
www-client/otter: bump to 1.0.02
Closes: https://bugs.gentoo.org/764596
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Stephan Hartmann <sultan@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/otter/Manifest | 1 | ||||
-rw-r--r-- | www-client/otter/otter-1.0.02.ebuild | 79 |
2 files changed, 80 insertions, 0 deletions
diff --git a/www-client/otter/Manifest b/www-client/otter/Manifest index f5e03fc108ee..d98796d4c079 100644 --- a/www-client/otter/Manifest +++ b/www-client/otter/Manifest @@ -1 +1,2 @@ DIST otter-1.0.01.tar.gz 4866820 BLAKE2B 7e23654142f35e17b4c4a240c4f8b897826229bae7cd5dabebc352a438881ff912829325547ee2a4bc7ec0a2b7c20640cb5e26ba7babb35435e987ebd86d2e75 SHA512 594bbdcbbc3b5fea903cc0beb749cf76be402cb1c2766706750bdbd6aad84f3d9f48687e1b12945f30e40b3876b9fbf511f41915fd276473b259d7311e33f19d +DIST otter-1.0.02.tar.gz 4940331 BLAKE2B 686547b4302e79e882c5c4967680992faf54b5330896207ae98b1633fa6eb2df70793bfd0c8da5c7b5b8be39c5b9528f32303f69026dcd43f12fd528923b9011 SHA512 5b142486298f2ef1f0613363c7a4de3340544ecd82406efc64225e78eb958337ea4045c0c44553fe3b29a0836bd5f6cdab37d615ebf98756108f9aa5473360a1 diff --git a/www-client/otter/otter-1.0.02.ebuild b/www-client/otter/otter-1.0.02.ebuild new file mode 100644 index 000000000000..79cb3672b464 --- /dev/null +++ b/www-client/otter/otter-1.0.02.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2021 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 +} |