ottxor 14/05/12 01:44:55
Modified: google-talkplugin-5.2.4.0.ebuild
google-talkplugin-9999.ebuild ChangeLog
Added: google-talkplugin-5.3.1.0.ebuild
Log:
version bump, install ppapi plugins (bug #509116)
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key
C2000586)
Revision Changes Path
1.3
www-plugins/google-talkplugin/google-talkplugin-5.2.4.0.ebuild
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/google-talkplugin/google-talkplugin-5.2.4.0.ebuild?rev=1.3&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/google-talkplugin/google-talkplugin-5.2.4.0.ebuild?rev=1.3&content-type=text/plain
diff :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/google-talkplugin/google-talkplugin-5.2.4.0.ebuild?r1=1.2&r2=1.3
Index: google-talkplugin-5.2.4.0.ebuild
===================================================================
RCS file:
/var/cvsroot/gentoo-x86/www-plugins/google-talkplugin/google-talkplugin-5.2.4.0.ebuild,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- google-talkplugin-5.2.4.0.ebuild 3 Apr 2014 15:12:37 -0000 1.2
+++ google-talkplugin-5.2.4.0.ebuild 12 May 2014 01:44:55 -0000 1.3
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header:
/var/cvsroot/gentoo-x86/www-plugins/google-talkplugin/google-talkplugin-5.2.4.0.ebuild,v
1.2 2014/04/03 15:12:37 ottxor Exp $
+# $Header:
/var/cvsroot/gentoo-x86/www-plugins/google-talkplugin/google-talkplugin-5.2.4.0.ebuild,v
1.3 2014/05/12 01:44:55 ottxor Exp $
EAPI=5
@@ -30,7 +30,7 @@
#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 )
1.19 www-plugins/google-talkplugin/google-talkplugin-9999.ebuild
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/google-talkplugin/google-talkplugin-9999.ebuild?rev=1.19&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/google-talkplugin/google-talkplugin-9999.ebuild?rev=1.19&content-type=text/plain
diff :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/google-talkplugin/google-talkplugin-9999.ebuild?r1=1.18&r2=1.19
Index: google-talkplugin-9999.ebuild
===================================================================
RCS file:
/var/cvsroot/gentoo-x86/www-plugins/google-talkplugin/google-talkplugin-9999.ebuild,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- google-talkplugin-9999.ebuild 3 Apr 2014 15:12:37 -0000 1.18
+++ google-talkplugin-9999.ebuild 12 May 2014 01:44:55 -0000 1.19
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header:
/var/cvsroot/gentoo-x86/www-plugins/google-talkplugin/google-talkplugin-9999.ebuild,v
1.18 2014/04/03 15:12:37 ottxor Exp $
+# $Header:
/var/cvsroot/gentoo-x86/www-plugins/google-talkplugin/google-talkplugin-9999.ebuild,v
1.19 2014/05/12 01:44:55 ottxor Exp $
EAPI=5
@@ -91,6 +91,10 @@
}
src_install() {
+ local plugindir i l
+ local ppapi_plugindirs=( /opt/google/chrome{,-beta,-unstable}/pepper
+ /usr/lib/chromium-browser/pepper )
+
unpacker usr/share/doc/google-talkplugin/changelog.Debian.gz
dodoc changelog.Debian
@@ -99,6 +103,11 @@
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
1.74 www-plugins/google-talkplugin/ChangeLog
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/google-talkplugin/ChangeLog?rev=1.74&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/google-talkplugin/ChangeLog?rev=1.74&content-type=text/plain
diff :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/google-talkplugin/ChangeLog?r1=1.73&r2=1.74
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/www-plugins/google-talkplugin/ChangeLog,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -r1.73 -r1.74
--- ChangeLog 3 Apr 2014 15:12:37 -0000 1.73
+++ ChangeLog 12 May 2014 01:44:55 -0000 1.74
@@ -1,6 +1,13 @@
# ChangeLog for www-plugins/google-talkplugin
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-plugins/google-talkplugin/ChangeLog,v
1.73 2014/04/03 15:12:37 ottxor Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-plugins/google-talkplugin/ChangeLog,v
1.74 2014/05/12 01:44:55 ottxor Exp $
+
+*google-talkplugin-5.3.1.0 (12 May 2014)
+
+ 12 May 2014; Christoph Junghans <[email protected]>
+ +google-talkplugin-5.3.1.0.ebuild, google-talkplugin-5.2.4.0.ebuild,
+ google-talkplugin-9999.ebuild:
+ version bump, install ppapi plugins (bug #509116)
03 Apr 2014; Christoph Junghans <[email protected]>
google-talkplugin-5.2.4.0.ebuild, google-talkplugin-9999.ebuild:
1.1
www-plugins/google-talkplugin/google-talkplugin-5.3.1.0.ebuild
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/google-talkplugin/google-talkplugin-5.3.1.0.ebuild?rev=1.1&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/google-talkplugin/google-talkplugin-5.3.1.0.ebuild?rev=1.1&content-type=text/plain
Index: google-talkplugin-5.3.1.0.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header:
/var/cvsroot/gentoo-x86/www-plugins/google-talkplugin/google-talkplugin-5.3.1.0.ebuild,v
1.1 2014/05/12 01:44:55 ottxor Exp $
EAPI=5
inherit eutils nsplugins unpacker
if [ "${PV}" != "9999" ]; then
DEB_PATCH="1"
#http://dl.google.com/linux/talkplugin/deb/dists/stable/main/binary-i386/Packages
MY_URL="http://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} )"
else
inherit cvs #hack to make it part of @live-rebuild
MY_URL="http://dl.google.com/linux/direct"
MY_PKG="${PN}_current_i386.deb"
SRC_URI=""
fi
DESCRIPTION="Video chat browser plug-in for Google Talk"
HOMEPAGE="http://www.google.com/chat/video"
IUSE="libnotify"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
#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/glib:2
sys-libs/glibc
x11-libs/cairo
x11-libs/gdk-pixbuf
x11-libs/gtk+:2
x11-libs/libX11
x11-libs/libXcomposite
x11-libs/libXfixes
x11-libs/libXrandr
x11-libs/libXrender
x11-libs/pango
sys-apps/lsb-release
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:
http://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 http://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/lib/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
}