summaryrefslogtreecommitdiff
path: root/www-client/vivaldi
diff options
context:
space:
mode:
Diffstat (limited to 'www-client/vivaldi')
-rw-r--r--www-client/vivaldi/Manifest3
-rw-r--r--www-client/vivaldi/vivaldi-1.12.955.48_p1.ebuild128
2 files changed, 131 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest
index fd0c36d1f4e7..21f9dee5ffa2 100644
--- a/www-client/vivaldi/Manifest
+++ b/www-client/vivaldi/Manifest
@@ -3,8 +3,11 @@ DIST vivaldi-1.12.955.38_p1-amd64.deb 50507742 SHA256 1c3fb2c2ecac7a9d54a641fbbe
DIST vivaldi-1.12.955.38_p1-i386.deb 51539886 SHA256 489ddb25d0854bfd1604d051860fba2c5d555f0b32c4f0d4a21a00728c7ab111 SHA512 285a4c55530c01bd0c19944cde34f37ca08b54153b674a029a1f0b6288b0b92b1addff39a32a880c2bee2389664c601348d46b4da405d77b5d73218a95e82336 WHIRLPOOL cec03f316346fd4bd2235dd9c8c02c3dd0da9424b22535e22ba664697c066c4918f5b849dac9069a8356a8f3070d62058245c78ed8977394370a0215e4a739f8
DIST vivaldi-1.12.955.42_p1-amd64.deb 50770152 SHA256 e652d16db1b188ee61ad24e57b548eefce7c564873bbb99b3029c0a1077e6b91 SHA512 1f393c5f901eafc7359276ced79cd3b6b0d5c25fbf170f421d6da1d57700d021b8437215a0f58de1f1e787d8d989841f2ebe562233da328dd35461e6a0fe5cb8 WHIRLPOOL 51db8073234526e6e6760ffbcbb323fb3194cffe12b5756d291be29730ad28e501ce005dcf36e5a1d86d1f508a026d848b37d740a8303d76ef587e0b90df803f
DIST vivaldi-1.12.955.42_p1-i386.deb 51637778 SHA256 a035067b9bff853424eaa102a632d7c6c362a7d0cced27239f7277f016266441 SHA512 b0bcbf284571169bc0945103ccd7848adc5f7f5bd99faa457f3d63579d090c73105d7ce36bd7ffdf802c6d53a6fdaa80e346cd659f02d402c36f331d9346f5f7 WHIRLPOOL b6a5f3ba2d66dca1f3a735ca8690b83224c7e2a36740c95e024d9221b087fa3030e21c5da2d0dcbfcc77911dad6f6ac42cec0999f9b88d42d834aec7016a2788
+DIST vivaldi-1.12.955.48_p1-amd64.deb 50790158 SHA256 8ecd1d367e7db2ebd6f9654082527bf03a9a63f05b5a784146d2f21d5ecbd07d SHA512 c3075ce2711859f547d79f6b8a22b253a308f702bcff841b707601fa19665d220b8851f202d96a57f28f387087875055a8b94a3798e7e6176398854ab5d32d58 WHIRLPOOL 2121b6821b29868f4804e518361b242e7d026fb8df73472685e278beddaf4dfb9fe6c3fe5c79261753a6fa154d99b34dda661d0f59f4df8163fe906493585956
+DIST vivaldi-1.12.955.48_p1-i386.deb 51640720 SHA256 90d7d127eef6d03f43fc959bd0e2568317e5156e534ed31f92beeb785f352c9f SHA512 8a59fa3b4efcdcae82ffafe2ec0b6506d42cd96d6f72c9317708222f2bd94391744b38b1a267702c80144cc6aa842cddcd2b963871306825f403d9a50ddd3f29 WHIRLPOOL d5e2321b0b4e3fa3b911a627c0cacffe0a5f0f5812c277750cf8996b54cd59eabb8e6b0c91153da73484bf419025ce1e94241e81bcc40bc16fe5dbfe2092d4f4
EBUILD vivaldi-1.12.955.38_p1.ebuild 2704 SHA256 929c5d71903824d1597000e3948e4ecb946a35eeb029364b49d09030e37c5df5 SHA512 99dde58bb6dbdb3c39290b76770a741608f5ff9504fb54d9496597a927339574cf78ca5ecbd9e39c7913ef1dbde62b9b451634c6834d480ecf4c9fd3b08e8cd6 WHIRLPOOL be27255ff8a31acffa09eb07ed6e1e6defe2847a161a865832fe61c1f58453a31d97e5a634cf8b734a9f9a22fd96942eddcb93fb1f22e8c9893427db5e6f6bd0
EBUILD vivaldi-1.12.955.42_p1-r1.ebuild 2918 SHA256 f7d96e178ad7d2bf5a8c864fffaf9edfc56ac5edc8758904e9fc15e510a92055 SHA512 c291296ea2bcf7eda51d83f7af2e9a3b2fe3b882155df824bb48f2bda44e7465d102f2b6b4854e1e28c2266cddfe8c3dc162cd84f06a2789c69144e623a13be6 WHIRLPOOL 284b0dbd8590ef7d6cc6ec6a50dc9896c7efe83bc2b85039eb57e11cf2c017918706d749d5dd33e1dc053b1d561121eac5d6747dc61808f34cc1fd6c1f1eee6f
+EBUILD vivaldi-1.12.955.48_p1.ebuild 2918 SHA256 f7d96e178ad7d2bf5a8c864fffaf9edfc56ac5edc8758904e9fc15e510a92055 SHA512 c291296ea2bcf7eda51d83f7af2e9a3b2fe3b882155df824bb48f2bda44e7465d102f2b6b4854e1e28c2266cddfe8c3dc162cd84f06a2789c69144e623a13be6 WHIRLPOOL 284b0dbd8590ef7d6cc6ec6a50dc9896c7efe83bc2b85039eb57e11cf2c017918706d749d5dd33e1dc053b1d561121eac5d6747dc61808f34cc1fd6c1f1eee6f
MISC ChangeLog 30542 SHA256 90dd48a74abe464786554337fc1abfe5987d3bef7c0b55a8e8e0549280c77895 SHA512 5dedcecb081555a877fd0c9e6132f6b6e94181ccf901a20c4326805ff5dfb3cd792d93a53dcc6b15cb185d0dc734f554d11214c20cfe66d2f78349b3b72f416b WHIRLPOOL 246ea2fa4c39ad53c8de8d331ecbd7c80d381a73880b119f4784f7bd4340dd5bc60bdf19e795b619f29fb4a06d5229a6c209f6533a24beccc4dcf8f5cee7ad76
MISC ChangeLog-2015 6330 SHA256 f6edba68d9f23c66f3f4bd93d8d9c724f4ebe700bfe1d83e7d2754c70eeb89a4 SHA512 3089a150ca0d7b6733077610aed7e5c6e491a9b879c3353fa9141da64193d68a431601e749f9751128951a1300332943834babb3a3b14bc70a918b711ee79055 WHIRLPOOL a3b3197a356b17357f3483d32ed464cab137c3f6be73b1e223f303ea8a8c667008d45140aeac01b3d7cc9be17af159f18c633343839b8a2bebefab876dd93533
MISC metadata.xml 238 SHA256 bae0588f6a20ccebb0e76d3ad782fcb2adfd1ea5b9fc1433851379423a103b72 SHA512 b0b981ef72f4d295f427f92dc9931553b4fb7a91c8ed63fa1f28bdbe8bc61d6f0943e1217eb7b61b8d85d9685cbe759db49f094a18a1461cb48429affe76d993 WHIRLPOOL ad8bdcb129ac41a2941e41186ec94e845858818fe21b95b69adc902ddbe0eb4c4bcce8f00d5f167981852184df07e355866a07f50dcdc8f7cd7edf20ed95ecee
diff --git a/www-client/vivaldi/vivaldi-1.12.955.48_p1.ebuild b/www-client/vivaldi/vivaldi-1.12.955.48_p1.ebuild
new file mode 100644
index 000000000000..e38e3424c8c5
--- /dev/null
+++ b/www-client/vivaldi/vivaldi-1.12.955.48_p1.ebuild
@@ -0,0 +1,128 @@
+# Copyright 1999-2017 Gentoo Foundation
+# 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 new browser for our friends"
+HOMEPAGE="http://vivaldi.com/"
+VIVALDI_BASE_URI="https://downloads.vivaldi.com/${VIVALDI_BRANCH:-stable}/${VIVALDI_PN}_${PV/_p/-}_"
+SRC_URI="
+ amd64? ( ${VIVALDI_BASE_URI}amd64.deb -> ${P}-amd64.deb )
+ x86? ( ${VIVALDI_BASE_URI}i386.deb -> ${P}-i386.deb )
+"
+
+LICENSE="Vivaldi"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+RESTRICT="bindist mirror"
+
+DEPEND="
+ virtual/libiconv
+"
+RDEPEND="
+ dev-libs/expat
+ dev-libs/glib:2
+ dev-libs/nspr
+ dev-libs/nss
+ >=dev-libs/openssl-1.0.1:0
+ gnome-base/gconf:2
+ media-libs/alsa-lib
+ media-libs/fontconfig
+ media-libs/freetype
+ net-misc/curl
+ 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
+
+ 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/vivaldi.png || die
+ done
+
+ pushd "${VIVALDI_HOME}/locales" > /dev/null || die
+ chromium_remove_language_paks
+ popd > /dev/null || die
+
+ epatch "${FILESDIR}"/${PN}-1.11.917.43_p1-libffmpeg.patch
+
+ 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
+}