summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2018-10-25 11:37:10 +0200
committerJeroen Roovers <jer@gentoo.org>2018-10-25 11:42:34 +0200
commit9f69ca96b082c4ff4a3b473b77b37d8919d791ff (patch)
tree9f62790b6148115ba837fb429c1a921fedbb4738 /www-client/vivaldi
parentx11-libs/c++-gtk-utils: Old (diff)
downloadgentoo-9f69ca96b082c4ff4a3b473b77b37d8919d791ff.tar.gz
gentoo-9f69ca96b082c4ff4a3b473b77b37d8919d791ff.tar.bz2
gentoo-9f69ca96b082c4ff4a3b473b77b37d8919d791ff.zip
www-client/vivaldi: Version 2.1.1337.36_p1
Package-Manager: Portage-2.3.51, Repoman-2.3.11 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.1.1337.36_p1.ebuild127
2 files changed, 130 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest
index 69179390b750..b49bb55e92b5 100644
--- a/www-client/vivaldi/Manifest
+++ b/www-client/vivaldi/Manifest
@@ -1,3 +1,6 @@
DIST vivaldi-2.0.1309.42_p1-amd64.deb 56271120 BLAKE2B 0a1f358692ba0d8db4be6f735bbe567dda018b578eb3013e828876919fdf78db563993691978fb261432c812432ad38a1dd5e61cef43c7ca06e7960d8272a8d8 SHA512 b3cf26a4524626287a38472c4d26cf89560f22d5ea7d272f5be49dbe13f5d83d74bd2eda893eb665eb7886f740bd7d70d23fbd796395a0cc17233ceee874fa28
DIST vivaldi-2.0.1309.42_p1-armhf.deb 49878626 BLAKE2B 36750726b7f9386214e27194158409b2637546858fb0e53d82645ab933a002eb2231829007b766b65bdb3ef85a95a82f2531080f0c99ee6063922be61aba2c3e SHA512 24885e94ae680618e922f303ef0989fd8a40a697eab7d7504ef3eaa711f3c3c5786076487dd6b64a0299137d96f6db29ddcb8de30b5e478355f54bf2a83c8c97
DIST vivaldi-2.0.1309.42_p1-i386.deb 55525322 BLAKE2B 15b93162b5880adc2159d026b0638830adcce7fb194d52f15cba77dce24168cdba2ecdff1ac74d384b7e857fa81efd5fe45472e6558e3b76968991f9821ce778 SHA512 eebedd6c275621602b4034d0872b51a54cea28850fe4b2fb959aa9b049f60d325037bb80b78fd447797841fe651a05e2d3c1d209e44153504f9e8175db0eae3b
+DIST vivaldi-2.1.1337.36_p1-amd64.deb 57337500 BLAKE2B 1a5dddb02539e797a4c78d17ff21c116bcc8106ba13514c0d0c23dbec3abdbf025bdb78a930c9c228ae6e16c01f2a9373d09a276e9f0b9ad7323278025cfac83 SHA512 9ba3f539125d1739d7af64fca2b3896f87f7b81f86b4f190c24abbc2c6fbcfb52613533b2e681ff15df7f5c0048788b21b5037c662a6cd7db98ea5b01434782b
+DIST vivaldi-2.1.1337.36_p1-armhf.deb 50280548 BLAKE2B 37a645a5593bd4ed8c866ff1acc98250ef2ed0fe0fd3a75968d3fa2ab97340b16b0f41e1d2fdbde58bf147339bf17dfc5d3d2498a74b795bc9be02a7fcd05edf SHA512 09f85f2513513c8256fc077239c169067e1617f05f7d75f9560b44e8490376a7e543b1c7098e6f3a8d3f335ab22e0dc555ac8816fc149463e1376fd88540f203
+DIST vivaldi-2.1.1337.36_p1-i386.deb 56258752 BLAKE2B 4fd0ce20a60e7bc7b00d0da138286490ef8b38e66512c4c07a27d336acf8bb31cb370771b9c1169972df32d417f6b09f939d2900ceec5c3dfa4bcef644f77cce SHA512 347ec30a39fd501f0abf1cef6cf9c8ef194c8d5fbbef6510eae33f8b85834eca01348c17ae08fb10c39f290dcf1b828b3ebf022fd9115a80825502e5f983b844
diff --git a/www-client/vivaldi/vivaldi-2.1.1337.36_p1.ebuild b/www-client/vivaldi/vivaldi-2.1.1337.36_p1.ebuild
new file mode 100644
index 000000000000..5978d2dcb6e5
--- /dev/null
+++ b/www-client/vivaldi/vivaldi-2.1.1337.36_p1.ebuild
@@ -0,0 +1,127 @@
+# Copyright 1999-2018 Gentoo Authors
+# 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 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
+
+ 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
+}