summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2019-03-27 12:08:08 +0100
committerJeroen Roovers <jer@gentoo.org>2019-03-27 12:12:44 +0100
commit705190d0b2a8dbf2a1b09c91f9c3e659c5a15447 (patch)
tree6b048e5d77744928e0354fcab5858d67afa01a8b /www-client/vivaldi
parentwww-client/opera-developer: Old (diff)
downloadgentoo-705190d0b2a8dbf2a1b09c91f9c3e659c5a15447.tar.gz
gentoo-705190d0b2a8dbf2a1b09c91f9c3e659c5a15447.tar.bz2
gentoo-705190d0b2a8dbf2a1b09c91f9c3e659c5a15447.zip
www-client/vivaldi: Version 2.4.1488.35_p1
Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'www-client/vivaldi')
-rw-r--r--www-client/vivaldi/Manifest3
-rw-r--r--www-client/vivaldi/vivaldi-2.4.1488.35_p1.ebuild128
2 files changed, 131 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest
index 080c953d15b0..12ca9f2fe205 100644
--- a/www-client/vivaldi/Manifest
+++ b/www-client/vivaldi/Manifest
@@ -1,3 +1,6 @@
DIST vivaldi-2.3.1440.61_p1-amd64.deb 58676624 BLAKE2B c192c59720dd6be040c886bb97f7d07f8bfcffb8a87a64bfde89505eea1c25c3b4058030153dbf88aabc89fe8f4db2a744a80c53238bd93ecb96a55e6a91f531 SHA512 8e5934e753b11a0e131568b3c44e7b64894abca2fac497fce594916fee626af18519c5e298dfef5ff461c2ae47add49881a0a1c0ddda77d82356890b5af18b66
DIST vivaldi-2.3.1440.61_p1-armhf.deb 51556880 BLAKE2B 7559a09383f63cd05403a23a03ebd0a919f99a390a0b912fcdb26dc3e181a34bcd484e326912d3b83150b67772f1b0b3c625f430165a00eedec013341c4ba695 SHA512 818715b60856c36bcdd028384b5faeef26c70b19571922d383829c7a7bdd00bf709aa932917cc79ed1cb7ea150de902e585617ae5a97e1e5044de380287f3326
DIST vivaldi-2.3.1440.61_p1-i386.deb 56934588 BLAKE2B 22ab389380293f759f2286fee018705007a30763398f60a3a8016db9c83a9ff96d79c015074942c3bf528881705094a1c0bac49e31cff1446e1f6c14700cc184 SHA512 6874e839dc95d97f8a0b3b9da8be8e1b3ab00140081f082fea948f54a3f704c2334923f53eb7bd726740d962f254822ac653dc1a1108a5d5f6875bde70b088f9
+DIST vivaldi-2.4.1488.35_p1-amd64.deb 59056284 BLAKE2B 45d8f058354a3138a0b28a5a4b017b8e8a5e29d46f0ccc3282bafcc9e990dffd05db6c99661c364d6f938ec25edc9f9500210a0ad15273e4e31c286bc4e0642b SHA512 6a9e5bb3aa2c85bb7207ed8e3872c98baaee3a7ad830174b64c4ee65a2fac65399b29610c4d6d784deba1e670b282fcdf851598e4fa75524d03d65a07190ce00
+DIST vivaldi-2.4.1488.35_p1-armhf.deb 52175500 BLAKE2B b6003abb80b6f2cbc8e94ee3d0ca81547cf4f94b28f718d594fd3eac0ab0621462ff5901d4092f14a4ab50f6458ca834f89fb04b8b4d1cbf0c1cd109ba48a583 SHA512 c80e0370a62c04eeb4d8e2939467371f95a7379fc46c4d8f999a7a75c4cc0bd5b3075797a57c48891c69fec336f939091caa9b3b92c5b7ae605f4426a2182de4
+DIST vivaldi-2.4.1488.35_p1-i386.deb 57279440 BLAKE2B caeb9be038a4948b5b717a36f14044301a8a094db93f1346e6b0f47dbc04a2a79aabdbee271812cfd6f278c7018af65afadafb628185ee9484b781de439042ab SHA512 b57840dd7bc267d05f360f47c2fe2c28b728db3683ac6be5270360e6be7b89fef052a955dc5ff95531891fbfccac6c9184b231d200978d7d2be8119616789f1a
diff --git a/www-client/vivaldi/vivaldi-2.4.1488.35_p1.ebuild b/www-client/vivaldi/vivaldi-2.4.1488.35_p1.ebuild
new file mode 100644
index 000000000000..d3152b11c32b
--- /dev/null
+++ b/www-client/vivaldi/vivaldi-2.4.1488.35_p1.ebuild
@@ -0,0 +1,128 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+CHROMIUM_LANGS="
+ am ar be bg bn ca cs da de el en-GB en-US eo es es-419 es-PE et eu fa fi
+ fil fr fy 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 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+: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/${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
+}