summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2018-11-22 18:11:50 +0100
committerJeroen Roovers <jer@gentoo.org>2018-11-22 18:15:52 +0100
commit66b10f12767290a3907f96a2492815ae934fc32d (patch)
tree7c3cdad644f48bfeb38e0d3bdf6a6277f4c2070a /www-client
parentwww-client/chromium: amd64 stable wrt bug #671550 (diff)
downloadgentoo-66b10f12767290a3907f96a2492815ae934fc32d.tar.gz
gentoo-66b10f12767290a3907f96a2492815ae934fc32d.tar.bz2
gentoo-66b10f12767290a3907f96a2492815ae934fc32d.zip
www-client/vivaldi: Version 2.1.1337.51_p1
Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r--www-client/vivaldi/Manifest3
-rw-r--r--www-client/vivaldi/vivaldi-2.1.1337.51_p1.ebuild127
2 files changed, 130 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest
index c7b69a9ef360..5fe36903e7f4 100644
--- a/www-client/vivaldi/Manifest
+++ b/www-client/vivaldi/Manifest
@@ -4,3 +4,6 @@ DIST vivaldi-2.1.1337.36_p1-i386.deb 56258752 BLAKE2B 4fd0ce20a60e7bc7b00d0da138
DIST vivaldi-2.1.1337.47_p1-amd64.deb 57339998 BLAKE2B 4bbcab43d31289bda0bb5b7f15a3411495f8c887b5e9431c768aee585d58228cb6e15a3923ff7bcfa6fe488888e74eae3b24812b5097b35973b706786391f573 SHA512 d8004beea0d58cbb60aa629ab2645f0eddfc6c3e5601232f01ac5105b9121fad6d74e24fae9a4995c69720f33bef4186803b15e284fa35961f347cdb9c58ca30
DIST vivaldi-2.1.1337.47_p1-armhf.deb 50300100 BLAKE2B 462a14cc7f01946c8fe4e68fcfae95836ec0917c84402d7d189e1a5d7c6576d45a6a49aef4ff6d0e3ccb7d7fd6333d5807ab5d38e3155c2dda2aba8ff93a765e SHA512 5653468415b95ec617b7f5e02dafc8d4d6dd88c72913a3a76054e42ef9de6f43d291aa9efa0854d067ab3e749c5dec53110f4cff9a101fe90022144af0a3de31
DIST vivaldi-2.1.1337.47_p1-i386.deb 56268380 BLAKE2B e5f100d09166983537add232266e3415195b8370a7a73d2da1a1b9ae1c413b8ad2be35b7b69ebb5f3ca7e3236529d2a5499a713838b70c929d8b4c6f835f6a5b SHA512 5aa988df0bded02a8b864952171ae028d0d4b662e90619142915677b3058ea309e9ae8de3a0eefedea2033e9e8fb692f54b6e0d2a2f5b0ac19a7ce7904dfe615
+DIST vivaldi-2.1.1337.51_p1-amd64.deb 57309970 BLAKE2B fb0830615e6aa9841545ee143ec86f8b0a733ce2e110f7c4f74640b48500b3fbb2bb248766c5c88bfc39ba7914fe4c85d353998af1be4d9a79e09079ecbecda5 SHA512 90171a7610823f391c17bb98b1f75edd5e585cd23e3c6d7f21985ad45a6e2109d1f283148bee5fff50395d49aeb8d6b177d214968f87a8f9a60f03815d1d7d99
+DIST vivaldi-2.1.1337.51_p1-armhf.deb 50271970 BLAKE2B 26fc67f88d02e2c7f50b3e6bb50657e69ebb4f52b85d65f7deb5a61768d362d7a1da216f6751d4010fc86cde40639e0e1ca665cb5d20135a86bee64056b3b098 SHA512 ae6ead496aaf0b8113101d6279e7d737f7f123ed39f92c2f1daee8b3d5377b5ce93405172a3d37d6869e4130c5d93ca8d382796a7a24df19df6638b36290f4ce
+DIST vivaldi-2.1.1337.51_p1-i386.deb 56271752 BLAKE2B eb2f2a29097630f154dce656a17d3736e7a90915cd1f7e231ca0665666e7859b945fe03f57674cc4a02a64e4d6701e26e2f8c699a908ad4b5c57c69e4e0b71cb SHA512 7a6f8de66a643a73129334ef7409f261d490451777e723382ed24172c7c0572a36364ed984c759227db012473b464197fe3f0af94e211ba94495416f19a7f9e6
diff --git a/www-client/vivaldi/vivaldi-2.1.1337.51_p1.ebuild b/www-client/vivaldi/vivaldi-2.1.1337.51_p1.ebuild
new file mode 100644
index 000000000000..029ff56d02f8
--- /dev/null
+++ b/www-client/vivaldi/vivaldi-2.1.1337.51_p1.ebuild
@@ -0,0 +1,127 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+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 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
+
+ eapply_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
+}