summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2018-12-19 16:06:47 +0100
committerJeroen Roovers <jer@gentoo.org>2018-12-19 16:07:09 +0100
commite77bcc5041b238c805bc2d3cdda722d1df1e0af2 (patch)
treebd69360c625e8e3b44395c252f689a09bca9c62c /www-client
parentapp-admin/mktwpol: Be more verbose (diff)
downloadgentoo-e77bcc5041b238c805bc2d3cdda722d1df1e0af2.tar.gz
gentoo-e77bcc5041b238c805bc2d3cdda722d1df1e0af2.tar.bz2
gentoo-e77bcc5041b238c805bc2d3cdda722d1df1e0af2.zip
www-client/vivaldi: Version 2.2.1388.37_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.2.1388.37_p1.ebuild128
2 files changed, 131 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest
index 1b5d04d46cac..40976532979c 100644
--- a/www-client/vivaldi/Manifest
+++ b/www-client/vivaldi/Manifest
@@ -4,3 +4,6 @@ DIST vivaldi-2.1.1337.51_p1-i386.deb 56271752 BLAKE2B 8bbb8eef12db0cc6f4eea02388
DIST vivaldi-2.2.1388.34_p1-amd64.deb 58072920 BLAKE2B 7132b067826031deb0bf3e813df5ab3c87fe95b7fae63f75435a2e29bd64d4398d8a6a5abb94e6ccdda5e86ec81b8cffede00bdc05475f01288d93e8e297793d SHA512 ead8a250e70ad1387453628bfef2bdfb12717f1e365279163781fe2fe1b4c57574965f9627af50e2289c6c91d5a8d95f4335fd1136a3b24a04aa57c28ff8267a
DIST vivaldi-2.2.1388.34_p1-armhf.deb 50925314 BLAKE2B 7d37efcc3b4263069e5a6c606975d6b3c918789a74a4ebe1dae28e39a8d9f86fa10ed63804c4afedfa753bfb3d4dae3e663f20b50fad6019b5faf7a926c679b7 SHA512 5a51d542334b5d14cc1d2a1d6ad5262a447c831925efdfdacd238beb6ed315afad949d2afef6648ff22d57ba70e95b07b92efd9275e8b499bc0b67d7469efbef
DIST vivaldi-2.2.1388.34_p1-i386.deb 57000582 BLAKE2B cd2589c0923fd1eb026a1fe0f3a6090715c410a2b5f0a13a18bf1d2ec63feccc5f068b8a7caef1d80d257de6d28d407238030e6e12fee59a9b3d93f5e4871455 SHA512 7d9b72888ed6675da3d602ba83d26b8bd6f943383f415a266b08475b20fc037b86d44e3f2042245b6891b4da2c3d45e0b069af1469bf2d304cddfb5798a7f948
+DIST vivaldi-2.2.1388.37_p1-amd64.deb 58076356 BLAKE2B 2a43a4b81cff6b20cae5dafc64c364dda1a69db4ca4af84204db0146071e2be6551de6b39c1753d9523606544194c1754293db501df2be3e1081fcd699f5b7a3 SHA512 fe4a32db93af8eea29ec5e8a861ac7ba581f4a4e2f3b348f979bb6f3a165df0fcdd052ef048bb12ba9a19460e987a3a439784f87b1278c1925ac352d650c0dfb
+DIST vivaldi-2.2.1388.37_p1-armhf.deb 50918454 BLAKE2B 2d6637844e240bae390243c92eb134a78fb22a8f9e14b346146a7bee7fa250aeb47bfdd610e6a3bc1b56bdb99f4454ac56d8a872881c9e5f71661ae25d1b8d7a SHA512 a52c9d758c02722b213a8405f154747930eafa93cf80c4adef345ef37449db5393254b0a827dbd1ef0c09b5f398154c897cb1b26116c3b970bda3e4e149323e3
+DIST vivaldi-2.2.1388.37_p1-i386.deb 56996270 BLAKE2B b88d2d2c2f6223334177019eae3089ced387b406efb663826b861de2656f9b7069b9b4edd3bc38cbe5cb5a53def48fecd40dd59017dbc37f9d382daf08b5f7bf SHA512 488ebcbec6dfe97849be0eecc4224db554a4d5875d7c7caa747f3116a2a1d2eb19391f36a515f0baefdaebd44f0ef8f32f027b9839171865b702355eec090da0
diff --git a/www-client/vivaldi/vivaldi-2.2.1388.37_p1.ebuild b/www-client/vivaldi/vivaldi-2.2.1388.37_p1.ebuild
new file mode 100644
index 000000000000..89ec9f894b92
--- /dev/null
+++ b/www-client/vivaldi/vivaldi-2.2.1388.37_p1.ebuild
@@ -0,0 +1,128 @@
+# Copyright 1999-2018 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+: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
+}