diff options
-rw-r--r-- | www-client/vivaldi/Manifest | 2 | ||||
-rw-r--r-- | www-client/vivaldi/vivaldi-1.0.344.24_p1.ebuild | 107 |
2 files changed, 109 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest index 98e1e4986545..cce78b411dd8 100644 --- a/www-client/vivaldi/Manifest +++ b/www-client/vivaldi/Manifest @@ -2,3 +2,5 @@ DIST vivaldi-1.0.334.3_p1-amd64.deb 42644326 SHA256 fda4bacabb0088e30b8c54c1285f DIST vivaldi-1.0.334.3_p1-i386.deb 43093198 SHA256 15cbee335155d1025a22937663109d820d35e4fd43cb59bb1a2ace4335364b3f SHA512 5d6c6390cf633f7ee44b9ab4b754b81c54dc3cf1aa3773cd82d9107c9a67f7f8a256072418efe453b859e6b052764b3ce117584b33317368f36a739293d804f7 WHIRLPOOL 5557e0ed4adafe3879fd21e44b83b7e9eaa1bc585499b92eb7b4fc03f83f6d7bc4a5c9b1c98c98bb177ee9bc98356669b187a7b0618f15ef2b31eb33f01f48d8 DIST vivaldi-1.0.340.7_p1-amd64.deb 42622326 SHA256 8281fbbd682d55ff1b48955bbecd7dd78e62b82e1c691e121a6e4e4b5944dd52 SHA512 5021174f888836912a679922dc341c01497aca6552d93c9a33c72ca1692f6352d7a42c293e81fefd4798024bc287fff565dc53c105d6551665d7d8e5b9d053ee WHIRLPOOL 00e908801b722b9cd6f3d3b69b2c4df2d6ab164ddb7e0d6c9e9b1107dba1b2967dc95c5b78b609228f452370767db441bef3f426b451f264ef8c746bfa78f57f DIST vivaldi-1.0.340.7_p1-i386.deb 43103506 SHA256 15c38ff908fa908bac4f5913641b98625d5f03ea7d53a3c8abc5d861f013b907 SHA512 3c57d68324e9c3a98c9bf4ee8271901e91f1ace356c5d4d75d7d0f7ad5814e7bef803f96117f2bbabbec6706eb079765f850667c6602cf475bd1ccc0133643f3 WHIRLPOOL 775c370b73a2080866a50861abb154c0b97c52df43f4c6f8a26f3f4df206270cb9bd3f0e91500551cc627129fe823f6f7e2dd7e57df4aa64198e22fa771b4ba8 +DIST vivaldi-1.0.344.24_p1-amd64.deb 42675964 SHA256 e8b3c5cd22bcce504d374567aa96a9168bb138f4ffc457543d79fd4f435176e5 SHA512 ead1b47fbde36262e544900070cf748fd336c63651885dcebf94cbb00e1bfd73c06422f318b7cd400bbd5de041a1349d137c9524b4ab435f7b27b57754fb57e5 WHIRLPOOL b8c262f2ff68c89f7f3cd2de543e7f7d68a0afa531d6afc4abc4a19f6d578a1e0bf9635a1c8bb6521db8ac61f19a8ad53ec787cd8249bb37a85f6fd4e721fcf4 +DIST vivaldi-1.0.344.24_p1-i386.deb 43073604 SHA256 eed5b9631b7083f2b5ee09ef9221d3966134c804046188825723ce813f12b89b SHA512 b0b7a8ced58fe51f3e7ac77516a197721711c8c9fbd4e7e623b2a55667b58581befd3b0d42f7d97bf4a96e2506ac49043903027ee375a0f9cb1601a0ea102906 WHIRLPOOL 994575c891e6931b5ea8b9246a7f00a30fabbfa106f4ac7cf08719f17167d86ed019e06bbca1ad0f4217603934845a36f049313f469950ea7303c84a08165ea8 diff --git a/www-client/vivaldi/vivaldi-1.0.344.24_p1.ebuild b/www-client/vivaldi/vivaldi-1.0.344.24_p1.ebuild new file mode 100644 index 000000000000..c40dd917fbf3 --- /dev/null +++ b/www-client/vivaldi/vivaldi-1.0.344.24_p1.ebuild @@ -0,0 +1,107 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +CHROMIUM_LANGS=" + am ar bg bn ca cs da de el en_GB en_US es_419 es et fa fil fi 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 eutils multilib unpacker toolchain-funcs + +DESCRIPTION="A new browser for our friends" +HOMEPAGE="http://vivaldi.com/" +VIVALDI_BASE_URI="${HOMEPAGE}download/snapshot/${PN}-snapshot_${PV/_p/-}_" +SRC_URI=" + amd64? ( ${VIVALDI_BASE_URI}amd64.deb -> ${P}-amd64.deb ) + x86? ( ${VIVALDI_BASE_URI}i386.deb -> ${P}-i386.deb ) +" + +LICENSE="Vivaldi" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RESTRICT="bindist mirror" + +S=${WORKDIR} + +RDEPEND=" + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + >=dev-libs/openssl-1.0.1:0 + gnome-base/gconf:2 + media-libs/alsa-lib + media-libs/fontconfig + media-libs/freetype + net-misc/curl + 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} +VIVALDI_HOME="opt/${PN}-snapshot" + +src_unpack() { + unpack_deb ${A} +} + +src_prepare() { + epatch "${FILESDIR}"/${PN}-1.0.275.3_p1-flash.patch + sed -i \ + -e "s|@LIBDIR@|$(get_libdir)|g" \ + opt/vivaldi-snapshot/vivaldi-snapshot || die + + sed -i \ + -e 's|vivaldi-snapshot|vivaldi|g' \ + usr/share/applications/${PN}-snapshot.desktop \ + usr/share/xfce4/helpers/${PN}-snapshot.desktop || die + + mv usr/share/doc/${PN}-snapshot usr/share/doc/${PF} || die + + rm etc/cron.daily/${PN}-snapshot || die + rmdir etc/cron.daily/ || die + rmdir etc/ || die + + rm usr/bin/${PN}-snapshot || die + rm _gpgbuilder || 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/vivaldi.png || die + done + + pushd "${VIVALDI_HOME}/locales" > /dev/null || die + chromium_remove_language_paks + popd > /dev/null || die + +} + +src_install() { + mv * "${D}" || die + dosym /${VIVALDI_HOME}/${PN}-snapshot /usr/bin/${PN} + + fperms 4711 /${VIVALDI_HOME}/${PN}-sandbox +} |