From dd3f3f9c6cb37d8e6b8e11277e25bd8805fd778b Mon Sep 17 00:00:00 2001 From: Christoph Junghans Date: Sun, 21 Aug 2016 15:04:04 -0600 Subject: www-plugins/google-talkplugin: version bump Package-Manager: portage-2.2.28 --- www-plugins/google-talkplugin/Manifest | 2 + .../google-talkplugin-5.41.0.0.ebuild | 4 +- .../google-talkplugin-5.41.3.0.ebuild | 127 +++++++++++++++++++++ 3 files changed, 131 insertions(+), 2 deletions(-) create mode 100644 www-plugins/google-talkplugin/google-talkplugin-5.41.3.0.ebuild (limited to 'www-plugins') diff --git a/www-plugins/google-talkplugin/Manifest b/www-plugins/google-talkplugin/Manifest index 48247e450d58..91d5a7ddf8ab 100644 --- a/www-plugins/google-talkplugin/Manifest +++ b/www-plugins/google-talkplugin/Manifest @@ -6,3 +6,5 @@ DIST google-talkplugin_5.40.2.0-1_amd64.deb 7723806 SHA256 598874e41c2993e2a89c7 DIST google-talkplugin_5.40.2.0-1_i386.deb 7621704 SHA256 7d0a0a0e7e7f375442b31d70feea96d0fbd573ce505ef6f32b8bb5d640e22486 SHA512 cb593a89de2129b5205f08382d5fe39f47351ed5c821e379bcbb0bdc2d62174e7c609c779ff5103795c8177862a9e8d017f2a7d711f5633f50a5b5fa2d251775 WHIRLPOOL 0e042dd1b9469cb7fce543cba2653602f8307d385dcdabb3405ff5591827eaed815812b994fe5b0c0c8a87a2e77da02b38d86fbb5f45a5b518a77f05d3515f38 DIST google-talkplugin_5.41.0.0-1_amd64.deb 7813320 SHA256 9d878736e0c7a386dcd1abba237d28cfc76c44b933943cb6e9c0bcf10d5fa11d SHA512 cfeed6384fee1f25c12a90c3b39081f058dbcc1043a4692450f143569ce1fe6b94f0978f76362eafac87a15820b806fd01cc9975d80c076d35456533f9486cb1 WHIRLPOOL 0f54965e30738e6fec274412c8d8bb38b3add28946cef1b9fe6acc2b4c5639cb6b1bf84f6a187bb3e4f1afdc00b311da0771610c6a56f12582efded7c88ddcbb DIST google-talkplugin_5.41.0.0-1_i386.deb 7659028 SHA256 de1fcc0fc614a91df30a0a185a0b620abf44152e30a9ba5004f6b52abd0d8fd1 SHA512 ca5cd6b296791de471151710558d6fb501d584620703817ba5de769d639b653fd67ed30ae6d3aff3411b69c39a22232f2af9067d8b771677d26c561ffe958533 WHIRLPOOL 1cfef503cd74b3e814a528463f0a42865672efbb6faaad63aadbc538428b75fc8ce1520d2ef8a0e22505702da54b087ded94fb05a3d31086317821be4a8dce82 +DIST google-talkplugin_5.41.3.0-1_amd64.deb 7800474 SHA256 af7e23d2b6215afc547f96615b99f04e0561557cc58c0c9302364b5a3840d97d SHA512 8802c1726c9b362db5302a8b2243c8d84c2b35b9ab55adacc08ed05a5fb98d2778c2ff516a5df13bcaa499ab9d902481957b119624467be69a2833e0b76ba218 WHIRLPOOL b5ef8da35ca051a9984558238120a136d0dd12c1c32191e5e754d61300bbaa71f7a9fba95dde77a9bef692a7605c6bcbf403389d9a4a75bde6de436b6bc8b9b7 +DIST google-talkplugin_5.41.3.0-1_i386.deb 7629820 SHA256 4c46d2b7f2018640288cd7ac49adc47e309d0beadfd979eb03030e672016b4a7 SHA512 9a133cec4c57672018985a1f924e87a6cc13c27b69fbf248daa60ae27df3669e4f510e591de20f41d75dfa2dd8bb499e8d8d04efd2b9d2288b381371b662dce9 WHIRLPOOL 8bcc6ac8499c99ef69386b85954fc2a59c57b7d088aa7e1b6209e3e8ae17fd180a1e2e1189078ef784218c53947b65bfbecfd8d8b0d7d410d1a61f126f6dd10e diff --git a/www-plugins/google-talkplugin/google-talkplugin-5.41.0.0.ebuild b/www-plugins/google-talkplugin/google-talkplugin-5.41.0.0.ebuild index 905ba2f61293..2b4115dd40a7 100644 --- a/www-plugins/google-talkplugin/google-talkplugin-5.41.0.0.ebuild +++ b/www-plugins/google-talkplugin/google-talkplugin-5.41.0.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -30,7 +30,7 @@ SLOT="0" #GoogleTalkPlugin binary contains openssl and celt LICENSE="Google-TOS openssl BSD" -OBSOLETE="no" +OBSOLETE="yes" [[ $OBSOLETE = yes ]] && RESTRICT="fetch strip" || RESTRICT="strip mirror" RDEPEND="|| ( media-sound/pulseaudio media-libs/alsa-lib ) diff --git a/www-plugins/google-talkplugin/google-talkplugin-5.41.3.0.ebuild b/www-plugins/google-talkplugin/google-talkplugin-5.41.3.0.ebuild new file mode 100644 index 000000000000..1a84d7c3a9aa --- /dev/null +++ b/www-plugins/google-talkplugin/google-talkplugin-5.41.3.0.ebuild @@ -0,0 +1,127 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils multilib nsplugins unpacker + +if [ "${PV}" != "9999" ]; then + DEB_PATCH="1" + #https://dl.google.com/linux/talkplugin/deb/dists/stable/main/binary-i386/Packages + MY_URL="https://dl.google.com/linux/talkplugin/deb/pool/main/${P:0:1}/${PN}" + MY_PKG="${PN}_${PV}-${DEB_PATCH}_i386.deb" + SRC_URI="x86? ( ${MY_URL}/${MY_PKG} ) + amd64? ( ${MY_URL}/${MY_PKG/i386/amd64} )" + KEYWORDS="-* ~amd64 ~x86" +else + inherit cvs #hack to make it part of @live-rebuild + MY_URL="https://dl.google.com/linux/direct" + MY_PKG="${PN}_current_i386.deb" + SRC_URI="" +fi + +DESCRIPTION="Video chat browser plug-in for Google Talk" + +HOMEPAGE="https://www.google.com/chat/video" +IUSE="libnotify selinux" +SLOT="0" + +#GoogleTalkPlugin binary contains openssl and celt +LICENSE="Google-TOS openssl BSD" + +OBSOLETE="no" +[[ $OBSOLETE = yes ]] && RESTRICT="fetch strip" || RESTRICT="strip mirror" + +RDEPEND="|| ( media-sound/pulseaudio media-libs/alsa-lib ) + dev-libs/expat + dev-libs/glib:2 + sys-libs/glibc + x11-libs/cairo + x11-libs/gdk-pixbuf + x11-libs/gtk+:2 + x11-libs/libX11 + x11-libs/libXcomposite + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXrandr + x11-libs/libXrender + x11-libs/pango + sys-apps/lsb-release + selinux? ( sec-policy/selinux-googletalk ) + libnotify? ( x11-libs/libnotify )" + +DEPEND="" + +INSTALL_BASE="opt/google/talkplugin" + +QA_PREBUILT="${INSTALL_BASE}/*" + +S="${WORKDIR}" + +LANGS="ar cs en et fr hu lt ms pl ru sv tl vi bg da fa gu id ja lv nl +sk ta tr bn de es fi hi is kn ml no sl te uk ca el fil hr it ko mr or +ro sr th ur" + +for X in ${LANGS} ; do + IUSE="${IUSE} linguas_${X}" +done + +# nofetch means upstream bumped and thus needs version bump +pkg_nofetch() { + if [[ ${OBSOLETE} = yes ]]; then + elog "This version is no longer available from Google and the license prevents mirroring." + elog "This ebuild is intended for users who already downloaded it previously and have problems" + elog "with ${PV}+. If you can get the distfile from e.g. another computer of yours, or search" + use amd64 && MY_PKG="${MY_PKG/i386/amd64}" + elog "it with google: https://www.google.com/search?q=intitle:%22index+of%22+${MY_PKG}" + elog "and copy the file ${MY_PKG} to ${DISTDIR}." + else + einfo "This version is no longer available from Google." + einfo "Note that Gentoo cannot mirror the distfiles due to license reasons, so we have to follow the bump." + einfo "Please file a version bump bug on https://bugs.gentoo.org (search existing bugs for ${PN} first!)." + fi +} + +src_unpack() { + local pkg="${A:=${MY_PKG}}" + if [ "${PV}" = "9999" ]; then + use amd64 && pkg="${pkg/i386/amd64}" + einfo "Fetching ${pkg}" + wget "${MY_URL}/${pkg}" || die + fi + unpacker ${pkg} +} + +src_install() { + local plugindir i l + local ppapi_plugindirs=( /opt/google/chrome{,-beta,-unstable}/pepper + /usr/$(get_libdir)/chromium-browser/pepper ) + + unpacker usr/share/doc/google-talkplugin/changelog.Debian.gz + dodoc changelog.Debian + + exeinto "/${INSTALL_BASE}" + doexe "${INSTALL_BASE}"/GoogleTalkPlugin + for i in "${INSTALL_BASE}"/lib*.so; do + doexe "${i}" + [[ ${i##*/} = libnp* ]] && inst_plugin "/${i}" + if [[ ${i##*/} = libpp* ]] ; then + for plugindir in "${ppapi_plugindirs[@]}"; do + dosym "/${i}" "${plugindir}/${i##*/}" + done + fi + done + + #install screen-sharing stuff - bug #397463 + insinto "/${INSTALL_BASE}" + doins "${INSTALL_BASE}"/windowpicker.glade + doins "${INSTALL_BASE}"/remoting24x24.png + doins -r "${INSTALL_BASE}"/data + + strip-linguas ${LANGS} + for l in ${LINGUAS}; do + insinto "/${INSTALL_BASE}"/locale/$l/LC_MESSAGES/ + doins "${INSTALL_BASE}"/locale/$l/LC_MESSAGES/windowpicker.mo + done +} -- cgit v1.2.3-65-gdbad