summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-client/vivaldi-snapshot')
-rw-r--r--www-client/vivaldi-snapshot/Manifest4
-rw-r--r--www-client/vivaldi-snapshot/vivaldi-snapshot-3.4.2064.6_p1.ebuild106
2 files changed, 110 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index 8aad15959f46..76610d690e20 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -22,3 +22,7 @@ DIST vivaldi-snapshot-3.4.2059.2_p1-amd64.deb 73541108 BLAKE2B e8b4117128fa4ffaf
DIST vivaldi-snapshot-3.4.2059.2_p1-arm64.deb 65939680 BLAKE2B 32c6da96cde3f73784ad4abda051dff839eb78c1e0eedc987259ed6a237b7dd1f95176c0b780fc98443265948c1a4b487c34f20e17b5858324b698bf2822d45d SHA512 86f599f834bb67dd710a11afe94e0b1fbb0543323e87db6a91abe8fae2e9babe3c9054f60c5963a3202f0f8fb599dc751eadb33b5ce57ee8dc5fd6c323217eef
DIST vivaldi-snapshot-3.4.2059.2_p1-armhf.deb 64921572 BLAKE2B 80aef5d73b76cde268a2175d615836a27cfa80fe578d4a3bcf5889e3d8d2d3afc688a2bb6d97363562d82da34ed2e50cd62e9f6459db7df79a830a16932f85a1 SHA512 5fb552ca6e81a79425fc968922b3be76e9e2507752518cc6729083aaf83589ba6c119819730f011fd32c1afe76556011208bbae3918e0ef57a6e0580f7d038bc
DIST vivaldi-snapshot-3.4.2059.2_p1-i386.deb 70700552 BLAKE2B bc7453e8488f3e98d84ea71560e3dece878e01338ecff5577443ddbb57b7f29116a2c2681038413be59cec6ab514086305b4c6e3538c3f68db57f5f7af4c3656 SHA512 f1f5b530e5c15b4bfac40156f29bc536c36099c1c8abf2c02efeab2a96ff91af578e4e058bd8ac89b1e4c5f2658ffcd92eeb4cfe415ba1916d42b87018e26b3d
+DIST vivaldi-snapshot-3.4.2064.6_p1-amd64.deb 73503100 BLAKE2B 770ec75afc7f69d4d84fa233c46d41521961b1731d93ffed8cbfd9613b6e62667f3ef1feb5babb842de0bd3dad32644fb9cd6a9a1580f4d6e2991f880020379e SHA512 effd9eb36f50acc9bc06069690707110ad1b2e48329177b7769bc3f6e17438a84ba6f9d4a97843fd3cae7bd06c66c57410ed7a9dec207387a61331c9ddb1ddd3
+DIST vivaldi-snapshot-3.4.2064.6_p1-arm64.deb 65889028 BLAKE2B e53e7826a14efdcfbebca48f71a98c1bf9d08cc9d4748b7cc3094c7a5f3d41cf4e7206272ba6d3978d5f1257165493cbe8b2cc01021e62f129a217c16f8589cc SHA512 5ba83030cdff8fc402d8dd02a77f6e03ef2113d1844ee6b71271d08c0b910d9e61bcc79688619908a5931159e78fb5e56aceb4e05f7f2c5e849f895c49bc703b
+DIST vivaldi-snapshot-3.4.2064.6_p1-armhf.deb 64878048 BLAKE2B 6546116ef81c8f1b8d3b91f0da6b94e5fa96226d3b2528711cfed32fab836faa286138090772ddc86fbc17bd3e9372fa95a88ee04566500abf56c84b510aaa81 SHA512 3ca42a8825a6f57ea7b585e86cfc4426108713525f4ccf6b065cd658a3f9c918aa927d7d826f8f36c98b43cdfcded52b304b47df9ff0e12114b13e80398e4fa8
+DIST vivaldi-snapshot-3.4.2064.6_p1-i386.deb 70652860 BLAKE2B 9a648b7510c06cb24cff8e490327503d63c14fafcf777600fa0d5dbeb2f72f0f68d505658642789fb9257c6ed5a5d2f72a507644264fe2c6eb9946bc9e64954d SHA512 ed2b0407a2f746c0b446f3b231e81942085e82c03bc2e274c83332c5c46f175e6d736f3a367ad8be405ce4becfd6978508ebe42cb256f56b6c8dc002f67e192c
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-3.4.2064.6_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.4.2064.6_p1.ebuild
new file mode 100644
index 000000000000..0178e0245253
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.4.2064.6_p1.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+CHROMIUM_LANGS="
+ af am ar be bg bn ca cs da de de-CH el en-GB en-US eo es es-419 es-PE et eu
+ fa fi fil fr fy gd gl gu he hi hr hu hy id io is it ja jbo ka kn ko ku lt
+ lv mk ml mr ms nb nl nn pl pt-BR pt-PT ro ru sc sk sl sq sr sv sw ta te th
+ tr uk vi zh-CN zh-TW
+"
+inherit chromium-2 multilib unpacker toolchain-funcs xdg
+
+VIVALDI_HOME="opt/${PN}"
+DESCRIPTION="A browser for our friends"
+HOMEPAGE="https://vivaldi.com/"
+VIVALDI_BASE_URI="https://downloads.vivaldi.com/snapshot/${PN}_${PV/_p/-}_"
+SRC_URI="
+ amd64? ( ${VIVALDI_BASE_URI}amd64.deb -> ${P}-amd64.deb )
+ arm64? ( ${VIVALDI_BASE_URI}arm64.deb -> ${P}-arm64.deb )
+ arm? ( ${VIVALDI_BASE_URI}armhf.deb -> ${P}-armhf.deb )
+ x86? ( ${VIVALDI_BASE_URI}i386.deb -> ${P}-i386.deb )
+"
+
+LICENSE="Vivaldi"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~arm ~arm64 ~x86"
+RESTRICT="bindist mirror"
+
+DEPEND="
+ virtual/libiconv
+"
+RDEPEND="
+ dev-libs/expat
+ dev-libs/glib:2
+ dev-libs/nspr
+ dev-libs/nss
+ media-libs/alsa-lib
+ media-libs/fontconfig
+ media-libs/freetype
+ media-libs/speex
+ net-print/cups
+ sys-apps/dbus
+ sys-libs/libcap
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf
+ x11-libs/gtk+:3
+ x11-libs/libX11
+ x11-libs/libXScrnSaver
+ x11-libs/libXcomposite
+ x11-libs/libXcursor
+ x11-libs/libXdamage
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXi
+ x11-libs/libXrandr
+ x11-libs/libXrender
+ x11-libs/libXtst
+ x11-libs/pango[X]
+"
+QA_PREBUILT="*"
+S=${WORKDIR}
+
+src_unpack() {
+ unpack_deb ${A}
+}
+
+src_prepare() {
+ iconv -c -t UTF-8 usr/share/applications/${PN}.desktop > "${T}"/${PN}.desktop || die
+ mv "${T}"/${PN}.desktop usr/share/applications/${PN}.desktop || die
+
+ mv usr/share/doc/${PN} usr/share/doc/${PF} || die
+ chmod 0755 usr/share/doc/${PF} || die
+
+ gunzip usr/share/doc/${PF}/changelog.gz || die
+
+ rm \
+ _gpgbuilder \
+ etc/cron.daily/${PN} \
+ || die
+ rmdir \
+ etc/cron.daily/ \
+ etc/ \
+ || die
+
+ local c d
+ for d in 16 22 24 32 48 64 128 256; do
+ mkdir -p usr/share/icons/hicolor/${d}x${d}/apps || die
+ cp \
+ ${VIVALDI_HOME}/product_logo_${d}.png \
+ usr/share/icons/hicolor/${d}x${d}/apps/${PN}.png || die
+ done
+
+ pushd "${VIVALDI_HOME}/locales" > /dev/null || die
+ chromium_remove_language_paks
+ popd > /dev/null || die
+
+ eapply_user
+}
+
+src_install() {
+ rm -r usr/share/appdata || die
+ mv * "${D}" || die
+ dosym /${VIVALDI_HOME}/${PN} /usr/bin/${PN}
+
+ fperms 4711 /${VIVALDI_HOME}/vivaldi-sandbox
+}