From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- www-client/dooble/Manifest | 4 ++ www-client/dooble/dooble-1.56c.ebuild | 83 +++++++++++++++++++++++++++++++++++ www-client/dooble/metadata.xml | 11 +++++ 3 files changed, 98 insertions(+) create mode 100644 www-client/dooble/Manifest create mode 100644 www-client/dooble/dooble-1.56c.ebuild create mode 100644 www-client/dooble/metadata.xml (limited to 'www-client/dooble') diff --git a/www-client/dooble/Manifest b/www-client/dooble/Manifest new file mode 100644 index 000000000000..182faee5cac8 --- /dev/null +++ b/www-client/dooble/Manifest @@ -0,0 +1,4 @@ +DIST dooble-1.56c.tar.gz 12218062 SHA256 03b5bb0460aa8f4f731a47b70c571942a186fb0e7c4b74f546cef356be0afe6a SHA512 6a42eed4320437b0e43020d661963ff385fd08dd225f96337d778bca13aec85df3a49eb6cb0f7bd9ae26a8822df62dd580b407ed27c6df58bd0720a50867aa42 WHIRLPOOL bca7982447ed0d64c2f19c7d208869cc740866683bb056b6fb635c0585e1b5aed63a2c421027bf2e8fb8daca68604c23c525bca487c82b5c59b9fc72103ef622 +EBUILD dooble-1.56c.ebuild 2589 SHA256 b8bf08f2707584c988c4b196c59249224bf89cbffd34784474e924fb329abde0 SHA512 5e2f78580c9fa021204b8550e861b0c954fdff942a9d914f846854b7cff19d81b7962b8737972b14a15ae4faf0b617644e0db4a1ead11e2e8ef7abc28237fc96 WHIRLPOOL 5b5e9d2b8b47160918344b2d929d1ef3a79a3eec7474d3a7452cd9524c32bf47954ac6f2ecf806b2217277c96338637e7e96b28454f54f092703f3b5ca7a6656 +MISC ChangeLog 1142 SHA256 c1bb65d59c4a87696ce88d0c78cb975840def98e662ed70e951bee0a35d154f2 SHA512 5e201ca4eaf88871f91578591f9fdb6d39f0a788f189051ddbc6f5d83040c35e4e27be2e1b3b784135af7ec1fc51275fd1f7d5aae2d388ace0668f16472f6ed0 WHIRLPOOL 1838b15cd25cd022f8eed34c5fcea383813d664e704394cec1f8ccdac819d4820116d0313dac00e8f1f52fa59822df26c611bb93c2564b2b8d327e25cba36b8b +MISC metadata.xml 318 SHA256 a77c1ff2492aed2aa7902799a1ec3ba9b111ba2b133f6d5f7081f75a6a55dd86 SHA512 f61a18957b8a9311f7a981377dc8795055ab6c3785c690bebb9e94809bbad5046e6db2ef294923a8e526ff8705a23674c375387b221674c13a2e50f6e19336c7 WHIRLPOOL 8bc4588a5d1b1463946c0ca57161c73281df7fa6243ad4d8d4fe49f52f77fbf0946a1a3e2f71c0b818b72d3af46a0ae3e4a5cb644b144076c2f51c0e32441589 diff --git a/www-client/dooble/dooble-1.56c.ebuild b/www-client/dooble/dooble-1.56c.ebuild new file mode 100644 index 000000000000..c97bffc1d077 --- /dev/null +++ b/www-client/dooble/dooble-1.56c.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils qmake-utils fdo-mime +DESCRIPTION="A Secure and Open Source Web Browser" +HOMEPAGE="http://dooble.sourceforge.net/" + +SRC_URI="mirror://sourceforge/${PN}/Version%20${PV}/Dooble.d.tar.gz -> +${P}.tar.gz" + +# icon sets are GPL-3 LGPL-2.1 while the code is BSD +LICENSE="BSD GPL-3 LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND=" + dev-db/sqlite:3 + dev-libs/libgcrypt:0 + dev-libs/libgpg-error + dev-qt/qtconcurrent:5 + dev-qt/qtcore:5 + dev-qt/qtdeclarative:5 + dev-qt/qtgui:5 + dev-qt/qtprintsupport:5 + dev-qt/qtsql:5 + dev-qt/qtwebkit:5 + dev-qt/qtxml:5 +" +DEPEND="${RDEPEND} + dev-qt/linguist-tools:5 +" + +S="${WORKDIR}/dooble.d/Version 1.x/" + +src_prepare() { + # Adjust paths from FreeBSD locations to Gentoo locations + # XXX: Fix the build system to be more flexible and upstream fix + sed -i -e 's/\(dooble.path[[:space:]]*= \)\(.*\)$/\1\/usr\/bin/' \ + -e 's/\(dooble_sh.path[[:space:]]*= \)\(.*\)$/\1\/usr\/share\/dooble/' \ + -e 's/\(icons.path[[:space:]]*= \)\(.*\)$/\1\/usr\/share\/dooble/' \ + -e 's/\(images.path[[:space:]]*= \)\(.*\)$/\1\/usr\/share\/dooble/' \ + -e 's/\(spoton_install.path[[:space:]]*= \)\(.*\)$/\1\/usr\/lib/' \ + -e 's/\(pluginsdir.path[[:space:]]*= \)\(.*\)$/\1\/usr\/lib\/nsbrowser\/plugins/' \ + -e 's/\(plugspec.path[[:space:]]*= \)\(.*\)$/\1\/usr\/include\/dooble\/plugin-spec/' \ + -e 's/\(postinstall.path[[:space:]]*= \)\(.*\)$/\1\/usr\/share\/dooble/' \ + -e 's/\(tab.path[[:space:]]*= \)\(.*\)$/\1\/usr\/share\/dooble/' \ + dooble.pro dooble.qt5.pro + + sed -i -e "s:\"Icons:\"${EROOT}usr/share/dooble/Icons:" \ + ./Source/dsettings.cc + sed -i -e '/export/d' -e "s:/usr/local/dooble/Dooble:${EROOT}usr/bin/Dooble:g" \ + -e "s:cd /usr/local/dooble:cd /usr/share/dooble:" \ + -e "s:exec ./Dooble:exec ${EROOT}usr/bin/Dooble:" ./dooble.sh + sed -i -e "s:/usr/local:${EROOT}/usr/share:" -e 's:/text/xml:text/xml:' \ + ./dooble.desktop +} + +src_configure() { + eqmake5 dooble.qt5.pro +} + +src_install() { + dohtml Documentation/RELEASE-NOTES.html + dodoc Documentation/{THEMES,TO-DO} + dosym ../share/dooble/dooble.sh /usr/bin/dooble + dosym ../../lib/nsbrowser/plugins /usr/share/dooble/Plugins + dolib.so libSpotOn/libspoton.so + emake INSTALL_ROOT="${ED}" install + + # XXX: The build system installs the build path into INSTALL_ROOT. + # It should be fixed not to do this. + rm -r "${ED}/var" || die "Failed to remove build path from ${ED}" +} + +pkg_postinst() { + fdo-mime_desktop_database_update +} + +pkg_postrm() { + fdo-mime_desktop_database_update +} diff --git a/www-client/dooble/metadata.xml b/www-client/dooble/metadata.xml new file mode 100644 index 000000000000..3a62b649ccd3 --- /dev/null +++ b/www-client/dooble/metadata.xml @@ -0,0 +1,11 @@ + + + + + ryao@gentoo.org + Richard Yao + + + dooble + + -- cgit v1.2.3