summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2016-11-22 09:59:08 +0100
committerJeroen Roovers <jer@gentoo.org>2016-11-22 10:00:05 +0100
commit083853672bd03cf812f265b8b536419d1ff78730 (patch)
treefce7627195e4fc1cb560def8033042bd67af3c79 /www-client
parentsys-fs/mtd-utils: switch to EAPI 5 (diff)
downloadgentoo-083853672bd03cf812f265b8b536419d1ff78730.tar.gz
gentoo-083853672bd03cf812f265b8b536419d1ff78730.tar.bz2
gentoo-083853672bd03cf812f265b8b536419d1ff78730.zip
www-client/vivaldi: Version bump.
Package-Manager: portage-2.3.2
Diffstat (limited to 'www-client')
-rw-r--r--www-client/vivaldi/Manifest2
-rw-r--r--www-client/vivaldi/vivaldi-1.5.658.44_p1.ebuild109
2 files changed, 111 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest
index ea38661c2833..167aaaf382bf 100644
--- a/www-client/vivaldi/Manifest
+++ b/www-client/vivaldi/Manifest
@@ -4,3 +4,5 @@ DIST vivaldi-1.5.658.31_p1-amd64.deb 48061342 SHA256 319ec7d0fc9adc12e365ff87e77
DIST vivaldi-1.5.658.31_p1-i386.deb 48332812 SHA256 d7fa21b624310fad30503865d355f76d6a8f4bd1d2eb06d288d2f74be04655e6 SHA512 074c5f817d663aeaa1f9ca69fece2eee18f57f6bbe2f2b0f8a975dddc7e25d6affa282a6f1a6e36d107d67dbfac7ee44d5006364d0128bbf40bc2872e25fb7ce WHIRLPOOL 9e4d81ea7dfd6df0c39b14e8c097def292006a78f2ae5106bb1595d707614fa5e109f6754a7854cb2123c9640280f5d4fb3f95dfb89ebbc649ad104df7c5bca8
DIST vivaldi-1.5.658.42_p1-amd64.deb 48061728 SHA256 03e0a348c0fdaa3fd649ab4b3c01a5460dbd471ddedca4ec77ccb09255041396 SHA512 f3097c432bae65e89b02c6afbfb4e11c203f1c62b2ed28e68728545ee18d84067121fdd7faa140eac66d093381c42df1a155baa3ff3cf6c647d17ccbfa7db64e WHIRLPOOL b012ecfb6359e5a4598e623cb8421a98c251089c59456e9bcb1a2d1cbf37c6a9206d9922b005764a5f21fa4debbff83bd731e66e5861b230a51d686f99ead14d
DIST vivaldi-1.5.658.42_p1-i386.deb 48334880 SHA256 5d2a1332966cea2521021f611b0a4a3abc652798fdee5cf6ea348d273ba0ee50 SHA512 c12953948ab8db31cf19ec3d8dde68daeb4afefd8d3de8cbb44ada5b825ac4f82a9d98ef52c6ce4b8f386b7b2a027a3a9461a201510ff9c266897e38487dc223 WHIRLPOOL ae8c39551fee35acbc01e35e2b3cf7c85d14bbd1b038d443bf0aa5721d0ad758a7109fd2610e7bfeaac14db580d8cb117739b7d25617cc1f192423b7998a6322
+DIST vivaldi-1.5.658.44_p1-amd64.deb 46838072 SHA256 d43cda11f6d9dffbdf3a0f7d29ba42a693f01db2aba4092904f51d88f84deb0b SHA512 3f9051ba21e6365c22dd0d9d35e2a51868f2beaa487f0ffda96d955b07859eaf5a3d40b145ccc73ddc23b51a3874c1bb37616575ad9e1643f973f7b3299d5adc WHIRLPOOL cdd196094ad25d784b486e0f7aa0e72277b7d3de1b13eaf3666f799895d053d5f99332c385f00c376bb9793572acf35a8ba4a9ff6b9c65e09c20c7b741fc48e1
+DIST vivaldi-1.5.658.44_p1-i386.deb 47084314 SHA256 480169e43737269215216bfcbb07fce54a7674cd27801eda083967b275ab97b3 SHA512 d9c48c8c944132771f65791c9fc0c741602dd0ccfb0e30d84cdfd5afddb0269f779bdf093faffbc50dbd3dbb0557e1e30ac030b10ecccd6a534b3fcdfddaef6c WHIRLPOOL c823678af01496c426793e940ed7a9958cc7c8ffb1fbb51f3fbb8abf7744e5b4f6c0a3da3d7f26c4ed00fda77756ff4c6103baaa53590e2951d60dba7c36d683
diff --git a/www-client/vivaldi/vivaldi-1.5.658.44_p1.ebuild b/www-client/vivaldi/vivaldi-1.5.658.44_p1.ebuild
new file mode 100644
index 000000000000..aca8263d52ba
--- /dev/null
+++ b/www-client/vivaldi/vivaldi-1.5.658.44_p1.ebuild
@@ -0,0 +1,109 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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 multilib unpacker toolchain-funcs
+
+#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"
+
+S=${WORKDIR}
+
+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() {
+ 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} \
+ || 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
+
+}
+
+src_install() {
+ mv * "${D}" || die
+ dosym /${VIVALDI_HOME}/${PN} /usr/bin/${PN}
+
+ fperms 4711 /${VIVALDI_HOME}/${PN}-sandbox
+}