summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2019-05-17 15:42:08 +0200
committerJeroen Roovers <jer@gentoo.org>2019-05-17 18:28:13 +0200
commit03d2395bb078f2fdd901b9ff12c68f2de0453cc7 (patch)
treebd962f994b61f1b3f581715e164edb2c6852bad4
parentnet-libs/wandio: Version 4.2.1 (diff)
downloadgentoo-03d2395bb078f2fdd901b9ff12c68f2de0453cc7.tar.gz
gentoo-03d2395bb078f2fdd901b9ff12c68f2de0453cc7.tar.bz2
gentoo-03d2395bb078f2fdd901b9ff12c68f2de0453cc7.zip
www-client/vivaldi-snapshot: Version 2.6.1546.4_p1
Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
-rw-r--r--www-client/vivaldi-snapshot/Manifest4
-rw-r--r--www-client/vivaldi-snapshot/vivaldi-snapshot-2.6.1546.4_p1.ebuild116
2 files changed, 120 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index ec71efd85e63..75e994d6b65d 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -2,3 +2,7 @@ DIST vivaldi-snapshot-2.5.1525.37_p1-amd64.deb 60914584 BLAKE2B 9a13eddbd4ca78fa
DIST vivaldi-snapshot-2.5.1525.37_p1-arm64.deb 54980860 BLAKE2B 39844d4f08c10b8cbae60c95428e081d370ad45c6554b55bc9fe37798d596152540bff20788b11476778ba92c95a8c583d31fd0a5dec70b1e0c691fc38901d1e SHA512 505a9744c8a21e8f8e2e0e71bd8e4b6b6952e59ab46222468f0317308941be0f91f539f7bfc3b76dc8cab35681d7be7ee5b33f597681ee32ec901be4e99abc71
DIST vivaldi-snapshot-2.5.1525.37_p1-armhf.deb 54086564 BLAKE2B aa11f982c37dc18b08f878b1835c6d4a09a67488363e7ac3bc2af37d49c6a7ae7396bd97ba34b41d685320b69feaebb69e75c89a640c456c1114caaf90c3e1ce SHA512 d28bee631cef6875a90d23d41698f42ed9a98a2e435afcfdf19a819af0a7a7e2d49bc6ff633ec66aea9a20aacf41caa8c63d8611579ef1a81c876f55b34bd517
DIST vivaldi-snapshot-2.5.1525.37_p1-i386.deb 59765892 BLAKE2B 38d636d8c1bd1d329d83fcd97b9661875a9d250007a51f97622ed807bfc4c6f6da02f03385a7413715f655c40ab410e0562c4cfc25dff3a0baccf4db8e33a91b SHA512 3fb9c3a88b2a62e531a255003b18848187b563aec7b1222fd6450767f15608a5499f9ca055fdca0bbe25b71c1946d85d235cd575724a4ffde7c386e44f6d8818
+DIST vivaldi-snapshot-2.6.1546.4_p1-amd64.deb 61549320 BLAKE2B 86fe32ccc8c1522ead2ed2576acdd2cad7c4da42beef8b4f8080119d7a70377df76bafe4fff638d25984fea29e79365996901da8dcde3fcb84a71d6a54621f11 SHA512 d6ad263464a22f75eada9a12eed53e40c43a838e15abc53e1a0dc858428d7c09b68466b5afebbce487349b8284815134d884f000e6a226de9ed367d51bfb761e
+DIST vivaldi-snapshot-2.6.1546.4_p1-arm64.deb 55586020 BLAKE2B 95e77604e482d20054e22f5f6f690d4a63dc657e685095ebc084a77aa908067d715c9ddfb917a5b90e5ff38ecde7b31f24aebb8b114c1a997f0ebcc5eb4d0a66 SHA512 180d15981177c9510061a2116471a19abffd8cd2f6e1d7234bd4d5eb169d6e219d851fd90dc868de38b55983cda1c23a33c01c59b124ec2f37b89b423abc8dcf
+DIST vivaldi-snapshot-2.6.1546.4_p1-armhf.deb 54702208 BLAKE2B ba43bc7587ab7895145955a826ef1e4a8af7b501f5fa617420be46867b1037bf375b07c0ad44cd07eff36a98c99c14b83bf651685f6921508b1998f26a4c3b31 SHA512 8a29e9b921d8bffb2d6c9895e9f7c7f41cdfb2b628a3fba9c0f172eef9b7cba5190dfbce58ac6a7478a0a2fb0755c52d773f4bdbb6dd81e992632154def01cf8
+DIST vivaldi-snapshot-2.6.1546.4_p1-i386.deb 60962732 BLAKE2B 701c11120310f936ca76515b8305a16f606f58f0e477e8b6f2dc3bc2bbf70a9803a33705c175c9ecd37a5305ee3e0cd97b2877cf653ed800a1e0e40a837b9126 SHA512 24bcf2f5c507ae66ef40c4ea4138645db731c7bfc1717b6d616ceffd7237ca2f13922b63b0a031fa90906226e9b714be457c4951ba595efa120edbce5a86ee6c
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.6.1546.4_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.6.1546.4_p1.ebuild
new file mode 100644
index 000000000000..76ff637ebaa0
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.6.1546.4_p1.ebuild
@@ -0,0 +1,116 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+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 multilib unpacker toolchain-funcs xdg-utils
+
+VIVALDI_HOME="opt/${PN}"
+DESCRIPTION="A browser for our friends"
+HOMEPAGE="https://vivaldi.com/"
+VIVALDI_BASE_URI="https://downloads.vivaldi.com/snapshot/${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/${PN}.desktop > "${T}"/${PN}.desktop || die
+ mv "${T}"/${PN}.desktop usr/share/applications/${PN}.desktop || die
+
+ mv usr/share/doc/${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/${PN} \
+ ${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}/vivaldi-sandbox
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+}