summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-client/vivaldi')
-rw-r--r--www-client/vivaldi/Manifest4
-rw-r--r--www-client/vivaldi/vivaldi-2.9.1705.41_p1.ebuild124
2 files changed, 128 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest
index 37bbadea8661..8c92b26c5469 100644
--- a/www-client/vivaldi/Manifest
+++ b/www-client/vivaldi/Manifest
@@ -2,3 +2,7 @@ DIST vivaldi-2.9.1705.38_p1-amd64.deb 63627584 BLAKE2B 93b13540d24f2f94b84039f07
DIST vivaldi-2.9.1705.38_p1-arm64.deb 57133532 BLAKE2B c79701e0ca6abc194f71cff40b8a9784f1e4bf0d51e40b88b974aeeaeefd993b7858c885561146e6234d006b0edf716ae80d6f79c8ec8bd502c611fa41dd2f9a SHA512 2c4dfa27f5fa61ad2fc43439d99e65fe0aff8796fdaced95ef7a77399be191c97563aab4ab7efa2073ae35c8b8a02caf596481eb951c204692724318bf4a3eb0
DIST vivaldi-2.9.1705.38_p1-armhf.deb 56154964 BLAKE2B 52e063d6e3cee7a8f3f06eab578aa3609be5ad13c324342d903e969e6ef681495b49e0e5e21978c79aad7267da6c92b7ba54618667511b19c316ba1745c127df SHA512 d65358e868ae0f705bc0f491514880b03aa3ca472caf7b7e735885f45e5527a29ff0459be459728312020f2f44fde5b189eeeaf0373baacf17224ee0c944343b
DIST vivaldi-2.9.1705.38_p1-i386.deb 62001220 BLAKE2B 3846c69c0e81407ecc8b37f9e3b103595c82de0527586672a3fcad3351a63b050a91e4023e755dc0fd910528213f8324e27c6aa658543e544c07a474391f4f40 SHA512 601eb73ebc4a5b2d06bd14b9059cd56cc6aa159c17341d4edcac5ffe5b81c176ed23f335e359d8b86b210452d892db0f08883308c287cf688434c786b81bee23
+DIST vivaldi-2.9.1705.41_p1-amd64.deb 63702208 BLAKE2B dcc49aba3b1f5dc83434e39d5fac6cc63e7b02b49222ffd3dd5af16e9e686703c6ef9e69040accb4de848164a750844d1d94b40150ad9168d7d611d9e69c26b4 SHA512 9d4f4941d48a84dda793c03b2a8ecb3b1a5fb879234f2b3a96452974d216728475ef2d1804a41fe61afc6ce9df1bc2c1e0faf2ee3a7d856644d2a60e06e538a0
+DIST vivaldi-2.9.1705.41_p1-arm64.deb 57077508 BLAKE2B fb20da9a688e8828d2ba467d8a3a7660e0065860ec3bf36c00ee7e8cf1671d5aeb7ed4e2efa97f38975aaf53ac8a2a1eacaa685d0120411951d11a770be7615a SHA512 1d9a734dba7959e5c2aa113c5cb7294b9c66d5e83597778048a24e83099c56d480f5e5a031f2d29283f141b9804ab3ec5e8e2b3413d40cc2fdc5c26c1d5b2610
+DIST vivaldi-2.9.1705.41_p1-armhf.deb 56264460 BLAKE2B ae5c737b059a3fdd61a049feb8ec042399b631bb1a62a2f51876aae70e10371d34ca37367d3f6f622f3325597197456f5db182c1c7ccc74956178cf59a0d9859 SHA512 4bb1fd8ce637611480d970c65b13c9e70a5d3f950fbe99ed78c152e73d6a4df3251edbc1981a313aa40f942b7c450ded3b9c21dac76c7fe484bff8e9af335a4c
+DIST vivaldi-2.9.1705.41_p1-i386.deb 62149600 BLAKE2B 10d454f4c22556ca9bbd03948390428eb4c20c294a7b2ab9983a9043a680df4d982abca77566510a0101e6da7b8f2346c50578e11ba817672488898950224455 SHA512 bcac85762c72feecf3f601996d9d74b3df94708f10250c36f0c73b03cc8630ba3da50c4b277338cb9d191c2389a7ba5bc34b4613c22a8e8336a15d417dac54ff
diff --git a/www-client/vivaldi/vivaldi-2.9.1705.41_p1.ebuild b/www-client/vivaldi/vivaldi-2.9.1705.41_p1.ebuild
new file mode 100644
index 000000000000..db417712f6b7
--- /dev/null
+++ b/www-client/vivaldi/vivaldi-2.9.1705.41_p1.ebuild
@@ -0,0 +1,124 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+CHROMIUM_LANGS="
+ af am ar be bg bn ca cs da de de-CH el en-GB en-US eo es es-419 es-PE et eu
+ fa fi fil fr fy gd 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 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 )
+ arm64? ( ${VIVALDI_BASE_URI}arm64.deb -> ${P}-arm64.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 ~arm64 ~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} \
+ || 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_postrm() {
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+}