From 2bf68d7062b64d9f815f3b8ce6942a66afe53b0d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 17 Mar 2024 06:49:08 +0000 Subject: gentoo auto-resync : 17:03:2024 - 06:49:08 --- www-client/otter/Manifest | 4 +- www-client/otter/otter-1.0.03-r1.ebuild | 87 +++++++++++++++++++++++++++++++++ www-client/otter/otter-1.0.03.ebuild | 79 ------------------------------ www-client/otter/otter-9999.ebuild | 4 +- 4 files changed, 91 insertions(+), 83 deletions(-) create mode 100644 www-client/otter/otter-1.0.03-r1.ebuild delete mode 100644 www-client/otter/otter-1.0.03.ebuild (limited to 'www-client/otter') diff --git a/www-client/otter/Manifest b/www-client/otter/Manifest index cb28ff453984..220886bd0dd9 100644 --- a/www-client/otter/Manifest +++ b/www-client/otter/Manifest @@ -1,5 +1,5 @@ AUX otter-1.0.01-webengine.patch 1062 BLAKE2B f3387e091afacf07c305e965c1d571658a49c924c484312cc89212d636fa3cfd8fde74477feab974def25ad93d2f01437d5c82896cac33ccddc879fdbaf41543 SHA512 cab5895aa92fa09415d4c60f75501a8e319dd24810319cc8ac50b872d153525b710ad32a9a5398a62fb9305653c21710b5dd181470938de339a547248bbb8bfb DIST otter-1.0.03.tar.gz 5144915 BLAKE2B 7a2cc7f9b6cc1e50903af39ba1cbfe5089f2ba9b519886bd7d579bece3055d82e062da497d1e05ce4cd64a2c1e32041fdd2715aa79965412ae2846fcae82c103 SHA512 0a655305b20f8fbd8d9450cf987a297f931e6c8e5cc5d9ae6cc31d8949b0dc55d2c5fcfd3f6e90c92e9385a9558a70fde5f30fb3c06776145971d80676b51fbc -EBUILD otter-1.0.03.ebuild 1656 BLAKE2B 8452ff39496b13dfb778cd6d8f9268881df210288fbf13b0b77f7a3c59113ca85f44595fb66c899b08a59ee7d603d2d1eccb44b94c5ef19867a4eb664a3e09d9 SHA512 20a9ff746344e5f1a56936af400f70eeebc1eddf1810a35db28ce2cdca6d50661f94d7ffc6706169abc8163869ab63b23f99efbbc916000de142ede491c091d3 -EBUILD otter-9999.ebuild 1656 BLAKE2B e036c70a7a92c7963ed218d33ce1f66b8cd131036e3b757981af0e577ea401fcb510d89e4becb7f0a51c0232e1d44d52c7e48d9839efc38d5c56c10a18a12580 SHA512 fc6ff2e8da8324807c306c7ce31665bd8af208886edd8f2dd23afef6cf1db72f96e82d85660d902b2bc7cdd01cfd2fa1c7baaa249b91dd31144db21c21f836a8 +EBUILD otter-1.0.03-r1.ebuild 1921 BLAKE2B 5e36530b197dd861f4b44355fde0dff1e6a7e946c0464274ef01f344bf9304d75e57e52ce654f1c296e69effab413225c097ee5ac846b25669f68f14d8ffb76f SHA512 df6fb60b023a06801316e9209ac301e565c50955764ca7197f56f39a31671ba282a1fe25c933ad1913600e248e71f657d46ea05e387348127ab83af9b3dc084a +EBUILD otter-9999.ebuild 1656 BLAKE2B f6c1ace96e9f0a953b0f53ceb69611e7fba7502d1002f611d5ec532b97f640a760ce350aeab330abe3533a6cc2e07aef01b3a22277fd2b29f40bdd3ba779eea8 SHA512 1bfc4d7123c70f2441b676d5ffe31f1fc8c3cc4f826b177d067ff5d3207fcde631b26e8cafd6ab2bdd5324616834c0657f4088e271039bcdc3017d8f746e90f8 MISC metadata.xml 259 BLAKE2B b6ff62dec9d21b677e5a92ac4af57b102760b1692ee408b27b33af2d7086321adf11419d528ce8973b091e904c12f5da0d7541dbc2997c2c5e191c5addb61ef4 SHA512 dbdd30b5977dc7f036ca7e665ac3dc68623a3fcbc5f8f3497b92ea74928db1cc4ced8494aba5d2ca8db63e47b2829cb299b9b1861310063e32e92be4e35b9ef6 diff --git a/www-client/otter/otter-1.0.03-r1.ebuild b/www-client/otter/otter-1.0.03-r1.ebuild new file mode 100644 index 000000000000..388ac52d65c6 --- /dev/null +++ b/www-client/otter/otter-1.0.03-r1.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake desktop flag-o-matic 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() { + # -Werror=odr, -Werror=lto-type-mismatch + # https://bugs.gentoo.org/864130 + # + # Compiles fine with otter-9999, BUT new versions are being tagged from a + # maintenance branch, not from master, so do check before trying to remove + # this. + filter-lto + + 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 +} diff --git a/www-client/otter/otter-1.0.03.ebuild b/www-client/otter/otter-1.0.03.ebuild deleted file mode 100644 index c17ffe24bc75..000000000000 --- a/www-client/otter/otter-1.0.03.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# 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 -} diff --git a/www-client/otter/otter-9999.ebuild b/www-client/otter/otter-9999.ebuild index 79cb3672b464..0b8433dad0da 100644 --- a/www-client/otter/otter-9999.ebuild +++ b/www-client/otter/otter-9999.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit cmake desktop xdg -- cgit v1.2.3