www-plugins/google-talkplugin: drop old

Signed-off-by: Aaron Bauman <bman@gentoo.org>
This commit is contained in:
Aaron Bauman
2020-09-23 20:16:43 -04:00
parent c47c58603d
commit 4860b3ea7d
2 changed files with 0 additions and 124 deletions

View File

@@ -1,4 +1,2 @@
DIST google-talkplugin_5.41.0.0-1_amd64.deb 7813320 BLAKE2B 8e982ca7961f7bca69cadec9bb91f396ab5d79594cee479a09302a3ef9e7b7c13c3dd4c02eb03a43d087756b9bd3f2514b30a3e4f4467b7032563d3e2bcc06bc SHA512 cfeed6384fee1f25c12a90c3b39081f058dbcc1043a4692450f143569ce1fe6b94f0978f76362eafac87a15820b806fd01cc9975d80c076d35456533f9486cb1
DIST google-talkplugin_5.41.0.0-1_i386.deb 7659028 BLAKE2B 3195dbeecc56cded73e94d4c47ea36a969ad728305485f2bdc52fe0dd99630f60f22126f303b8bfdf99927adaae5fd123cdfeb854e29c0b2b982c6d4c14f2411 SHA512 ca5cd6b296791de471151710558d6fb501d584620703817ba5de769d639b653fd67ed30ae6d3aff3411b69c39a22232f2af9067d8b771677d26c561ffe958533
DIST google-talkplugin_5.41.3.0-1_amd64.deb 7800474 BLAKE2B be28444d07f0fa10beaeb5572b6e2faf1b6315f0928fc40c531bc4639bfbac3b15069f28bb03f9155771b2a7c871911ca5ed5bf5d2ab321e0bc3eba9f82ee577 SHA512 8802c1726c9b362db5302a8b2243c8d84c2b35b9ab55adacc08ed05a5fb98d2778c2ff516a5df13bcaa499ab9d902481957b119624467be69a2833e0b76ba218
DIST google-talkplugin_5.41.3.0-1_i386.deb 7629820 BLAKE2B d0b42df38960f22b13a57c7d2a02ac4993c15cb27e749218a878b9b2ce23ca39e5b1c352dce3e086cff06c3c781a99e0123542a5bcf755f5a0f7286015a7eaa8 SHA512 9a133cec4c57672018985a1f924e87a6cc13c27b69fbf248daa60ae27df3669e4f510e591de20f41d75dfa2dd8bb499e8d8d04efd2b9d2288b381371b662dce9

View File

@@ -1,122 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
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="yes"
[[ $OBSOLETE = yes ]] && RESTRICT="bindist fetch strip" || RESTRICT="bindist 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"
# 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 ${MY_PKG} to your DISTDIR directory."
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
}