forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
www-client/vivaldi-snapshot: Version 1.14.1077.37_p1.
Package-Manager: Portage-2.3.20, Repoman-2.3.6
- Loading branch information
Jeroen Roovers
committed
Jan 29, 2018
1 parent
20d6d61
commit ee7ca38
Showing
2 changed files
with
123 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
DIST vivaldi-snapshot-1.14.1077.25_p1-amd64.deb 53368116 BLAKE2B fabdfbd05333a60aab0bbf718955c68e75be5d4f95a901bd849661a301c1cd9f9a5948d137d63d08f980f00d2cea263713b5c8a1ee28dc0c593bbb6f9bf40ea8 SHA512 cbcf50adf3abbd4e45ab954833aff4f02e0dc995388ba48aee9925220c18e25506ee1aca79367647c52b4c8a2d4f5ab2666389ad9e27dd79abe6ecb77ba001f9 | ||
DIST vivaldi-snapshot-1.14.1077.25_p1-armhf.deb 47210996 BLAKE2B 7436078249d4d54effca2181066508dbeeaaa361dce2a3163a228ec074493a43cd4bebba866252cbadc1c404dfe85fc6b28dfac6cd7e75f087b538ffca8c61b9 SHA512 bf32501b1b2d47dbab872a7fd7f8152abcdd328f72167772a4aa197666d16d65ad47f4a883e027add168d131dda82fc4badbd357c592614e6ee3b2956b163a61 | ||
DIST vivaldi-snapshot-1.14.1077.25_p1-i386.deb 52951982 BLAKE2B 27463fd7c558bf15777dc483c66ce0427f70c4ab02c6b0e83ff587dca4d8ab1fa467b6b6b7f362b0ba996a67e6781c9217fca8e513324392a1df47e742bc2ef0 SHA512 097f9136be58facc911ad9b88d8486e89320d57b140ab8ed6cf9d0a2bd2750aff5829eb4b66b682b7bb9b1877cb8e8077daac869d261412be79b57c0304359c7 | ||
DIST vivaldi-snapshot-1.14.1077.37_p1-amd64.deb 53372364 BLAKE2B 6afadaf70bf583ff6c514a36e03866a6c73aa30006a0b1ac0430d15a464353413e4c9ece9c108cc2d2896ec142dee4249eb0e5a3d72e343a9bdf49dd95467e21 SHA512 af0aa358d916e634ea769720fbb2096d816a9de528d65c12a2f6036265f412a0ae4bf6406cc27be6ff631c1f798f4ca2716c4217ae959d42a9a7d29785826495 | ||
DIST vivaldi-snapshot-1.14.1077.37_p1-armhf.deb 47222580 BLAKE2B 00f8263538c8fc653fb9fba34ac9c42c0e0b644e8c108f0463baabc11c91be961386fb43bd73f1168775ead7d7b8df83097138717611a67868ffc064469eca77 SHA512 464610aefd7f85827a6af0da79bc278ff39a93879fa618e691b48b2258044eaaae4801796cb632c30db94f8ea7cca2fd28030a3edba1109511d5bd29f6ca9a39 | ||
DIST vivaldi-snapshot-1.14.1077.37_p1-i386.deb 52965608 BLAKE2B 4d9f5853cb220b5c0a63739e35206819209c665f155e4795d82934fffa9d05110f3d25f42104ce10bdba54080ce22591adad8d598195fe336de09f0a52aea521 SHA512 00c12a4d8601d446012cbf1dddfaad264ee388e1ab160a5b06af1c13668d108fed12f3bdf75efe771cd27e794374a4e6f57463bec7cf7b967e1d105e31de3caf | ||
DIST vivaldi-snapshot-1.14.1077.3_p1-amd64.deb 53411180 BLAKE2B e04cfee2c6ab7fd4d81942a3232c878be37c5d768f95e1588e007d305e6a050241daa3297a0c069cfeeee4190611594f282a1a233d64e49deb429b6d8adca558 SHA512 cab5853cad74f111d47f9611d7a18a8deee99608aa241eff85988bfb42792b1e642a35ad5847fa09d374b7baeadb7f5afc64655418e5dfbdbf2ff8eee141857e | ||
DIST vivaldi-snapshot-1.14.1077.3_p1-armhf.deb 47215650 BLAKE2B 3e148d2d05236929a958c6a782f921b9cf82e861a4760db6615daac3d07595bd1393ffdee639cf513cf4d1073f0a350a2277af5a44a0eaec9ef9602698b51a29 SHA512 d782191a9f0d7287a65146df552e18a3cdb32a6bc9972bab6a9e7377cfd88685d0c0e8763c39a870b0031c1f7b10777a98bc3691b6a5c1781cafe7da11c22c6e | ||
DIST vivaldi-snapshot-1.14.1077.3_p1-i386.deb 52959064 BLAKE2B 4bd5df973212ec0d0e2009e96472deb7c831b2455907c7bd9e7e40ac6a5d6e5aa7d02b6a10e954106ec206404f4055ae0977e1829d58713de7594109aa6514f7 SHA512 8f070e0e00bf9acf2d6b3f1bbb79768b1d460f2a2860bb45122551883ae38aa6efb1e283bdc853c4135e9936f399f0b8656f247102d406e8b861a924f0b2977d |
120 changes: 120 additions & 0 deletions
120
www-client/vivaldi-snapshot/vivaldi-snapshot-1.14.1077.37_p1.ebuild
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,120 @@ | ||
# Copyright 1999-2018 Gentoo Foundation | ||
# 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_HOME="opt/${PN}" | ||
DESCRIPTION="A new browser for our friends" | ||
HOMEPAGE="http://vivaldi.com/" | ||
VIVALDI_BASE_URI="https://downloads.vivaldi.com/snapshot/${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/openssl-1.0.1:0 | ||
dev-libs/expat | ||
dev-libs/glib:2 | ||
dev-libs/nspr | ||
dev-libs/nss | ||
gnome-base/gconf:2 | ||
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/${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 | ||
|
||
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 | ||
|
||
epatch "${FILESDIR}"/vivaldi-snapshot-1.14.1072.3_p1-desktop.patch | ||
epatch "${FILESDIR}"/vivaldi-snapshot-1.14.1072.3_p1-libffmpeg.patch | ||
|
||
epatch_user | ||
} | ||
|
||
src_install() { | ||
mv * "${D}" || die | ||
dosym /${VIVALDI_HOME}/${PN} /usr/bin/${PN} | ||
|
||
fperms 4711 /${VIVALDI_HOME}/vivaldi-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 | ||
} |