summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2020-01-25 09:56:47 +0100
committerJeroen Roovers <jer@gentoo.org>2020-01-25 09:58:24 +0100
commit67b7273416e749d1b998ba46af331fcf9b04885c (patch)
tree7189aa0e4cee4668e5524a24d0059c2ebf15691e /www-client
parentapp-text/calibre: 4.9.1-r1 revbump for python3 support (diff)
downloadgentoo-67b7273416e749d1b998ba46af331fcf9b04885c.tar.gz
gentoo-67b7273416e749d1b998ba46af331fcf9b04885c.tar.bz2
gentoo-67b7273416e749d1b998ba46af331fcf9b04885c.zip
Revert "www-client/vivaldi-snapshot: Old"
This reverts commit 6ee00ba1ba7a20a4acb3e41a7e5b0e7784fd8c59. Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r--www-client/vivaldi-snapshot/Manifest4
-rw-r--r--www-client/vivaldi-snapshot/vivaldi-snapshot-2.11.1800.5_p1.ebuild115
2 files changed, 119 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index 477380107993..894cda59ec4f 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -6,3 +6,7 @@ DIST vivaldi-snapshot-2.11.1792.3_p1-amd64.deb 66784692 BLAKE2B 3a73c5e118c55d2a
DIST vivaldi-snapshot-2.11.1792.3_p1-arm64.deb 59657680 BLAKE2B 234926d7065e97c4570fbbf5f501428d221dfd85d2d2ead8535980215d1a99a2ecb3558e85a61bd0acd8729a2cd81130ca0b23301a7728c716e746acea65e03b SHA512 959962de75e789ff1c7852a11888e00d3528640584e59ed303c7787192e6db4f448450a0c98386c16557ec4dedda953bbdda90541f1b2ae7d74877f9827681f1
DIST vivaldi-snapshot-2.11.1792.3_p1-armhf.deb 58939352 BLAKE2B cc85395aa9972f60ec3b7abb795ba7043f1c389c216d487d39ee401f4fad0087730352efd24e43662f3262d78bb62cd34da3a1d18c6b1f0c49ce2ad61883ba8d SHA512 09666e226ef68a9551aa1c74c9386e8d94b2c59ad8c51dd208b597721285b5d22a2211b6e189f448665b387223b65f6b4a6e292953662aaa8bbdeebbb0711523
DIST vivaldi-snapshot-2.11.1792.3_p1-i386.deb 65234280 BLAKE2B 98e57d37fa66f00dbedaa5fdb7a4d13d9648cc12f44992622d4773b066fd02b69c908676461b709bc0af44a50b076bc3d701b5a3d7fced61ad751543b4da5c84 SHA512 ce90f6cb484ef33261a8ddd872731eb35d1fdad5b24dcee24752712e0d84b08408a386f11f378fc7d5afd369be56a03674620493b4460e312e9e8c2a692ab3a5
+DIST vivaldi-snapshot-2.11.1800.5_p1-amd64.deb 67523480 BLAKE2B a076cbfe6c94149e772f4bd99bd564bb6bf2fc2c1e95874340a85e28ec394bc567a21d67c20359b7aa4034fa345111e5aac7159abf72e169ca8e5849fe8b2164 SHA512 4822fdecb1335fcd217c9edd6f183dc73735c74e504978a0fa7ff0742cf91c5b50b8fe979960f7a4e041d2353f7b44562adf1e6f1a67564145871488324b32bb
+DIST vivaldi-snapshot-2.11.1800.5_p1-arm64.deb 60563292 BLAKE2B 7699f2f907a0848c33ba7e9bf4d3122b600d58492c407d85207dd443c2a252e5a6571c22adf1d5f6ce85c442ac00e5874441d8a0a5890829b5bacf177b5f3100 SHA512 e0192520324ef1f22ccb555d126ea336aa68f08efd1521715522722439a96c52ffdbc122d77ab8cca0bdb25ff61cadbdf19ce9542e8fbd2a0edc4bb29a687a9c
+DIST vivaldi-snapshot-2.11.1800.5_p1-armhf.deb 59947460 BLAKE2B 21a20e54e4a5f7f4c52bc015c01a171b5de4a079ebf1486b3e5aa0ae34dcddefbf23a16ae3b73471e6b2b1035fbf751e29e94200146240f0885a7868bc7fecf7 SHA512 87690b1875dfd6edd902a97235d8810d84f2cbc798654c04470b7cc43d5e06cf1f34f85f811b07ea54dac04122f0d0e9e751e7ecc1718147fecea37866794d8c
+DIST vivaldi-snapshot-2.11.1800.5_p1-i386.deb 66346624 BLAKE2B 2fdee4fcb0a28da2b996a293316eebf4de16d53bdae8e882818e8249b4f7ba74bf16edb140843b3aada485da91755ad71135e4f899eca941c3b34071ca2383f0 SHA512 b39324c6f28520051f9e222c33df6de8ad8b6cd4d9e2f937063cc3a307e6e8a47e59e69b35014ee0749520c69a78d02f8a2a0786769e06f530b02b4fb2123304
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.11.1800.5_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.11.1800.5_p1.ebuild
new file mode 100644
index 000000000000..23aeb880ad5c
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.11.1800.5_p1.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2020 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_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} \
+ || 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
+}