summaryrefslogtreecommitdiff
path: root/www-client/vivaldi
diff options
context:
space:
mode:
Diffstat (limited to 'www-client/vivaldi')
-rw-r--r--www-client/vivaldi/Manifest4
-rw-r--r--www-client/vivaldi/vivaldi-2.0.1309.37_p2.ebuild127
2 files changed, 131 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest
index b8468a504f82..1bcdaae7ab34 100644
--- a/www-client/vivaldi/Manifest
+++ b/www-client/vivaldi/Manifest
@@ -4,6 +4,10 @@ DIST vivaldi-1.15.1147.64_p1-i386.deb 52496664 BLAKE2B 3b246203e11c0654bc455ca96
DIST vivaldi-2.0.1309.29_p2-amd64.deb 57575078 BLAKE2B c35cadec153f8d00f55ac5e30281f15bbe60ed9051753787453224fc44e98baa63e67613e59e947f80586e6289c518fbcf9890d73102135bd7ed0612345eaa05 SHA512 5c07c13a2c6b5a8220bcd618796f0acdc363ec72af885939ec515e622cff5b5efc0c3b5818e31fcc668d590a1a13576532c8872dcfc95f7e99a57df50e828ef2
DIST vivaldi-2.0.1309.29_p2-armhf.deb 50850396 BLAKE2B fabc41a1e19b7bde4c824e8ada8759d2268bbf4ea5e9894a4cf17abb5b75ee66ec6717bbb5fcbe7c20e8ae41caf5870a8dc989446f607cf3448e8b20152fe2f2 SHA512 2637911ab51a9150d586be6bc61cd5f82b1f8d98b094b5d92afe3170245b317525936572106192e3265f61c993bd8eba7f0c9fc46ba98d02768f358dfdd62557
DIST vivaldi-2.0.1309.29_p2-i386.deb 56864360 BLAKE2B 82f243ef0a6976bc52a66875d59ce9f1052dd1bb727fd51d7fa000b22d37c2b573a024b6b90c794825090a153dd91aad408b8387cc2371f866827d049228a05e SHA512 9ef2001b13330695530c1b318107c4db6738b75f08877a53ae1ec1e32fae7749006f770b0a4381df6bfbad500033e73f9d68b855ca563d2cab9c64fcd20cbdc0
+DIST vivaldi-2.0.1309.37_p2-amd64.deb 57597642 BLAKE2B fcfdb5f04ac2821a975d0b7085fb81404fe70035afbd2ce50e2c322070ee1d8f16105eeddbaf416828283535db08f9e3b3ce32b1d3a70e7f1515e685713468c4 SHA512 b616c00be20e3790267c602e07834cc6e7b0ccfaf4aa32ac2d308ef41e3c35ace23c1bd9c5d96da18b37dc2faf4e8618c1c07c1f4c635282cd100dc746dfd3f7
+DIST vivaldi-2.0.1309.37_p2-armhf.deb 50850020 BLAKE2B 55478da8d46061ca36f3386d05c60eb49b4039f9af48f4338d871f15a07e24828cfdf50a10bc6485f8cc1895d308d76896cce454036686f65e288064301b9bd5 SHA512 9327743f1bc535eb36c304fe6e05b1da7db3c424c73a9a47ed6657f9f621ecd433d2c7f6ecd5cb2a68a7058da241b8655dbf90495fada27a09e8c05dda20a3e0
+DIST vivaldi-2.0.1309.37_p2-i386.deb 56890714 BLAKE2B 91170d73f569e7d5b973cffba027ad7ee98b342dde3bf4d51590862505039d551244d9607ac25d79979dc7ab7cbf27b1ef461fc89d2f0828c83e5c0b16ecad23 SHA512 370da0b01522d7b70854f1a73c05035d461088a097a13d6950e1d0b5ed0536c3fd50612c2d939e0ca834c2aed1481942e5baeaa247cdaeb70d6220c9ae3b2478
EBUILD vivaldi-1.15.1147.64_p1.ebuild 2870 BLAKE2B fc9de8b2fe9abd757136231329e48dd936dc0330e87af8b97ffc40443a8b130d39eba9a025fd01f4903eb851203cf2ff15aab8cb7f93cc2b7be516f57de55243 SHA512 9e0c40988d5713e4403ef273d0d627480da23e26f1ff3f008f3681ba72a3e5244b5de409b4868d3687310a7b36dfb320d7f3bd2501de1b7bc33e152aeb62154e
EBUILD vivaldi-2.0.1309.29_p2.ebuild 2914 BLAKE2B c7358066060d6eda51d2138fda438cbb48b0bdc0053f51d6b803b3e35985614cd22613b9bbe941700206006b933d21dd595ef8ef357218a4f6d049e13b7a7741 SHA512 71dc9acb076a7c4780f646301d6eb43b6ca1c9c98805b7d483235c9b13c2f2b35e8b71f7753fbcbeaf05c28fb3844fe9d3593617d3289088c9b4d8833e4dc704
+EBUILD vivaldi-2.0.1309.37_p2.ebuild 2914 BLAKE2B c7358066060d6eda51d2138fda438cbb48b0bdc0053f51d6b803b3e35985614cd22613b9bbe941700206006b933d21dd595ef8ef357218a4f6d049e13b7a7741 SHA512 71dc9acb076a7c4780f646301d6eb43b6ca1c9c98805b7d483235c9b13c2f2b35e8b71f7753fbcbeaf05c28fb3844fe9d3593617d3289088c9b4d8833e4dc704
MISC metadata.xml 238 BLAKE2B 72d4053d28bbf82c9a08a88b354321a782501542b5d506fc6d9f4034839f302761124d59445c0414a0fd38b6401cd5fbe06670802abdb1f25c7cb60919ea5d2e SHA512 b0b981ef72f4d295f427f92dc9931553b4fb7a91c8ed63fa1f28bdbe8bc61d6f0943e1217eb7b61b8d85d9685cbe759db49f094a18a1461cb48429affe76d993
diff --git a/www-client/vivaldi/vivaldi-2.0.1309.37_p2.ebuild b/www-client/vivaldi/vivaldi-2.0.1309.37_p2.ebuild
new file mode 100644
index 000000000000..5978d2dcb6e5
--- /dev/null
+++ b/www-client/vivaldi/vivaldi-2.0.1309.37_p2.ebuild
@@ -0,0 +1,127 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+CHROMIUM_LANGS="
+ am ar bg bn ca cs da de el en-GB en-US es es-419 et fa fi fil fr gu he hi
+ hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr sv
+ sw ta te th tr uk vi zh-CN zh-TW
+"
+inherit chromium-2 eutils gnome2-utils multilib unpacker toolchain-funcs xdg-utils
+
+#VIVALDI_BRANCH="snapshot"
+
+VIVALDI_PN="${PN}-${VIVALDI_BRANCH:-stable}"
+VIVALDI_BIN="${PN}${VIVALDI_BRANCH/snapshot/-snapshot}"
+VIVALDI_HOME="opt/${VIVALDI_BIN}"
+DESCRIPTION="A browser for our friends"
+HOMEPAGE="https://vivaldi.com/"
+VIVALDI_BASE_URI="https://downloads.${PN}.com/${VIVALDI_BRANCH:-stable}/${VIVALDI_PN}_${PV/_p/-}_"
+SRC_URI="
+ amd64? ( ${VIVALDI_BASE_URI}amd64.deb -> ${P}-amd64.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 ~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+:2
+ 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/${VIVALDI_PN}.desktop > "${T}"/${VIVALDI_PN}.desktop || die
+ mv "${T}"/${VIVALDI_PN}.desktop usr/share/applications/${VIVALDI_PN}.desktop || die
+
+ sed -i \
+ -e "s|${VIVALDI_BIN}|${PN}|g" \
+ usr/share/applications/${VIVALDI_PN}.desktop \
+ usr/share/xfce4/helpers/${VIVALDI_BIN}.desktop || die
+
+ mv usr/share/doc/${VIVALDI_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/${VIVALDI_BIN} \
+ ${VIVALDI_HOME}/libwidevinecdm.so \
+ || 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
+
+ epatch_user
+}
+
+src_install() {
+ mv * "${D}" || die
+ dosym /${VIVALDI_HOME}/${PN} /usr/bin/${PN}
+
+ fperms 4711 /${VIVALDI_HOME}/${PN}-sandbox
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+}