From e91b6000de46d6e6418ecd54b27c400943b6fc4a Mon Sep 17 00:00:00 2001 From: Davide Pesavento Date: Fri, 3 Sep 2010 14:14:15 +0200 Subject: [PATCH] Added www-plugins/google-talkplugin. --- www-plugins/google-talkplugin/Manifest | 3 ++ .../google-talkplugin-9999.ebuild | 62 ++++++++++++++++++++++ 2 files changed, 65 insertions(+) create mode 100644 www-plugins/google-talkplugin/Manifest create mode 100644 www-plugins/google-talkplugin/google-talkplugin-9999.ebuild diff --git a/www-plugins/google-talkplugin/Manifest b/www-plugins/google-talkplugin/Manifest new file mode 100644 index 0000000..2fb7ee6 --- /dev/null +++ b/www-plugins/google-talkplugin/Manifest @@ -0,0 +1,3 @@ +DIST google-talkplugin_current_amd64.deb 6926676 RMD160 193e54db5aa9505aca4287f8a82b109414de4694 SHA1 999b57b6dc37d91de7c56f5d4275df1d19af8b46 SHA256 6aeb4a1e7d20d61d0120c698c8de93cac08af344453d00737323352c0c03e974 +DIST google-talkplugin_current_i386.deb 5903566 RMD160 f5a1ed907943ac4084a2421f01a7df59faff9429 SHA1 aa652e3cd66a4ca6f2cf69ad1462dfb682958855 SHA256 b15e89783a7f39022d2e4946a0a7704f10750291b35eac421941d2ad22c93837 +EBUILD google-talkplugin-9999.ebuild 1478 RMD160 1ac04cfec6ee17c2a46b5609d28c5ce96d2a9f1b SHA1 9b7e88e61554ae212cecfb75fadf2e0d3e6c2649 SHA256 8151986f01bb30b60f1fb30b81193fd9e84faf2763ba304a610c5fcf5e3ba130 diff --git a/www-plugins/google-talkplugin/google-talkplugin-9999.ebuild b/www-plugins/google-talkplugin/google-talkplugin-9999.ebuild new file mode 100644 index 0000000..6133826 --- /dev/null +++ b/www-plugins/google-talkplugin/google-talkplugin-9999.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" + +inherit nsplugins + +DESCRIPTION="Video chat browser plug-in for Google Talk" +HOMEPAGE="http://www.google.com/chat/video" +BASE_SRC_URI="http://dl.google.com/linux/direct/${PN}_current" +SRC_URI="amd64? ( ${BASE_SRC_URI}_amd64.deb ) + x86? ( ${BASE_SRC_URI}_i386.deb )" +LICENSE="" + +SLOT="0" +KEYWORDS="-* ~amd64" +IUSE="" +RESTRICT="mirror strip" + +QA_TEXTRELS_amd64="opt/google/talkplugin/libnpgtpo3dautoplugin.so + opt/google/talkplugin/libnpgoogletalk64.so" +QA_TEXTRELS_x86="opt/google/talkplugin/libnpgtpo3dautoplugin.so + opt/google/talkplugin/libnpgoogletalk.so" + +DEPEND="" +RDEPEND=" + >=dev-libs/glib-2.12:2 + media-gfx/nvidia-cg-toolkit + >=media-libs/fontconfig-2.4.0 + >=media-libs/freetype-2.3.5 + >=media-libs/glew-1.5.0 + media-libs/libpng:1.2 + sys-apps/lsb-release + >=sys-libs/glibc-2.4 + virtual/opengl + >=x11-libs/gtk+-2.12:2 + x11-libs/libX11 + x11-libs/libXt + amd64? ( + app-emulation/emul-linux-x86-baselibs + app-emulation/emul-linux-x86-soundlibs + app-emulation/emul-linux-x86-xlibs + )" + +src_unpack() { + unpack ${A} + unpack ./data.tar.gz +} + +src_install() { + local suffix= + use amd64 && suffix=64 + + cd "${WORKDIR}"/opt/google/talkplugin + exeinto /opt/google/talkplugin + doexe GoogleTalkPlugin || die + for x in npgtpo3dautoplugin npgoogletalk${suffix}; do + doexe lib${x}.so || die + inst_plugin /opt/google/talkplugin/lib${x}.so || die + done +} -- 2.11.4.GIT