summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Junghans <ottxor@gentoo.org>2011-02-15 20:36:10 +0000
committerChristoph Junghans <ottxor@gentoo.org>2011-02-15 20:36:10 +0000
commit7229e6fc98401ef63eb923f59b465b09770cdd8b (patch)
tree9fdd9f1824f7059b496cd7bdfe2f275df253e72c /www-plugins
parentVersion bump. (diff)
downloadhistorical-7229e6fc98401ef63eb923f59b465b09770cdd8b.tar.gz
historical-7229e6fc98401ef63eb923f59b465b09770cdd8b.tar.bz2
historical-7229e6fc98401ef63eb923f59b465b09770cdd8b.zip
Initial commit from cj-overlay (bug #333579)
Package-Manager: portage-2.1.9.25/cvs/Linux i686
Diffstat (limited to 'www-plugins')
-rw-r--r--www-plugins/google-talkplugin/ChangeLog10
-rw-r--r--www-plugins/google-talkplugin/Manifest19
-rw-r--r--www-plugins/google-talkplugin/google-talkplugin-1.8.0.0.ebuild96
-rw-r--r--www-plugins/google-talkplugin/metadata.xml12
4 files changed, 137 insertions, 0 deletions
diff --git a/www-plugins/google-talkplugin/ChangeLog b/www-plugins/google-talkplugin/ChangeLog
new file mode 100644
index 000000000000..edba28264e67
--- /dev/null
+++ b/www-plugins/google-talkplugin/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for www-plugins/google-talkplugin
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-plugins/google-talkplugin/ChangeLog,v 1.1 2011/02/15 20:36:10 ottxor Exp $
+
+*google-talkplugin-1.8.0.0 (15 Feb 2011)
+
+ 15 Feb 2011; Christoph Junghans <ottxor@gentoo.org>
+ +google-talkplugin-1.8.0.0.ebuild, +metadata.xml:
+ Initial commit from cj-overlay (bug #333579)
+
diff --git a/www-plugins/google-talkplugin/Manifest b/www-plugins/google-talkplugin/Manifest
new file mode 100644
index 000000000000..f21c2524ef76
--- /dev/null
+++ b/www-plugins/google-talkplugin/Manifest
@@ -0,0 +1,19 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST google-talkplugin_1.8.0.0-1_amd64.deb 7315012 RMD160 5d45807b7848e50244dd35fa8a0c8b66287af9b0 SHA1 a70053aa28468475838728bf52867ed68c9a6c66 SHA256 506707b75d6f29cd66318689cd1a9b7162c22e95b1bed82e6407a1c6b6efa39f
+DIST google-talkplugin_1.8.0.0-1_i386.deb 6304798 RMD160 7dfc10989f4ffed819f40b175b1949281691ad85 SHA1 582c029d03aa72d3e470c131ca9637aa7394071e SHA256 87bf5f08a38c44ea4891f4190b4221da24bbec4577eb3d6f1ea4c96bc9b9b55b
+EBUILD google-talkplugin-1.8.0.0.ebuild 3012 RMD160 c940762c8a0a463bd93330208b10b543f5b6c6d5 SHA1 26fbd4743b291561f95da06e41584278661c0ac8 SHA256 155fbcca66fd70efd2435e1a3e40b9271e92f83700c7e75c3a5294234f635ae7
+MISC ChangeLog 427 RMD160 43b0448a9b0b0b1eb70f9058a3a71ae32d7a58c2 SHA1 a2f5cecb787de6eaa4fe6ea9b1fc9bfeea80c2b0 SHA256 b594152b905e736d7f6c9c2900ab2224af8e0b4e3e8ef542d1219bd0bfeb4797
+MISC metadata.xml 354 RMD160 996efb09eaf3af50035bac0fcf12768640f0c0c9 SHA1 ff3d2e6ce2eae43016888c2cd548b2a6962ddab1 SHA256 d7d1330a39cf9ec3f0e53a8a5b1b6a0a259367edb897c3fec76ca07223a0dce2
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.16 (GNU/Linux)
+
+iQEcBAEBAgAGBQJNWuZXAAoJEOeBhlrCAAWG9+QH/jNQXhv0z0khhYGCvSr64gHB
+4hFcK1sEB2Bolo+/Jb/1u96Io9OrJSbtlNQcIWhHAf0jaXc7mq9n1Bqkl/EgwL+c
+wjZ7NZf2sVfUu93xwuixO6/ctdy4XjILb9I5hzFwA6SPwyRjIng3JzEQNam94txS
+MyUczEef/yW45dmo1b/VbVYJlyHj1kRTl/4LpWZwGJKA5+p+BCTU71iBqPR+Po9a
+V1N3uJt+hfbJRXd8eVMssXqqyR4jGvkJEF8SV5xDQ12o9lRcrv6kSTQR0rUMO947
+F6lfBEHGNgO/Aa3w6jzb2tufDqsXum3P56j+WKMeu0xhCAKVZRtKuRGGySr7zX4=
+=Ryof
+-----END PGP SIGNATURE-----
diff --git a/www-plugins/google-talkplugin/google-talkplugin-1.8.0.0.ebuild b/www-plugins/google-talkplugin/google-talkplugin-1.8.0.0.ebuild
new file mode 100644
index 000000000000..a3e8c3388a56
--- /dev/null
+++ b/www-plugins/google-talkplugin/google-talkplugin-1.8.0.0.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-plugins/google-talkplugin/google-talkplugin-1.8.0.0.ebuild,v 1.1 2011/02/15 20:36:10 ottxor Exp $
+
+EAPI=3
+
+inherit nsplugins
+
+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"
+else
+ MY_URL="http://dl.google.com/linux/direct"
+ MY_PKG="${PN}_current_i386.deb"
+fi
+
+DESCRIPTION="Video chat browser plug-in for Google Talk"
+SRC_URI="x86? ( ${MY_URL}/${MY_PKG} )
+ amd64? ( ${MY_URL}/${MY_PKG/i386/amd64} )"
+
+HOMEPAGE="http://www.google.com/chat/video"
+IUSE="+system-libCg"
+SLOT="0"
+
+KEYWORDS="-* ~x86"
+LICENSE="google-talkplugin"
+RESTRICT="strip mirror"
+
+#to get these run:
+#for i in $(scanelf -n /opt/google/talkplugin/* | awk '/^ET/{gsub(/,/,"\n",$2);print $2}' | sort -u)
+#do
+# find /lib /usr/lib -maxdepth 1 -name $i -exec qfile -S {} \;
+#done | awk '{print $1}' | sort -u
+#also see debian control file
+NATIVE_DEPS="|| ( media-sound/pulseaudio media-libs/alsa-lib )
+ dev-libs/glib:2
+ media-libs/fontconfig
+ media-libs/freetype:2
+ media-libs/libpng:1.2
+ >=sys-libs/glibc-2.4
+ x11-libs/gtk+:2
+ x11-libs/libX11
+ x11-libs/libXfixes
+ x11-libs/libXt
+ system-libCg? ( media-gfx/nvidia-cg-toolkit )
+ sys-apps/lsb-release"
+
+DEPEND=""
+
+EMUL_DEPS=">=app-emulation/emul-linux-x86-baselibs-20100220
+ app-emulation/emul-linux-x86-gtklibs
+ app-emulation/emul-linux-x86-soundlibs
+ app-emulation/emul-linux-x86-xlibs"
+
+#amd64 always needs EMUL_DEPS GoogleTalkPlugin is always a 32-bit binary
+RDEPEND="x86? ( ${NATIVE_DEPS} )
+ amd64? ( ${NATIVE_DEPS} ${EMUL_DEPS} )"
+
+INSTALL_BASE="/opt/google/talkplugin"
+
+[ "${ARCH}" = "amd64" ] && SO_SUFFIX="64" || SO_SUFFIX=""
+
+QA_EXECSTACK="${INSTALL_BASE#/}/GoogleTalkPlugin"
+
+QA_TEXTRELS="${INSTALL_BASE#/}/libnpgtpo3dautoplugin.so
+ ${INSTALL_BASE#/}/libnpgoogletalk${SO_SUFFIX}.so"
+
+# nofetch means upstream bumped and thus needs version bump
+pkg_nofetch() {
+ 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!)."
+}
+
+src_unpack() {
+ unpack ${A} ./data.tar.gz ./usr/share/doc/google-talkplugin/changelog.Debian.gz || die
+}
+
+src_install() {
+ dodoc ./usr/share/doc/google-talkplugin/changelog.Debian
+
+ cd "./${INSTALL_BASE#/}" || die
+ exeinto "${INSTALL_BASE}" || die
+ doexe GoogleTalkPlugin libnpgtpo3dautoplugin.so libnpgoogletalk"${SO_SUFFIX}".so || die
+ inst_plugin "${INSTALL_BASE}"/libnpgtpo3dautoplugin.so || die
+ inst_plugin "${INSTALL_BASE}"/libnpgoogletalk"${SO_SUFFIX}".so || die
+
+ #install bundled libCg
+ if ! use system-libCg; then
+ cd lib || die
+ exeinto "${INSTALL_BASE}/lib" || die
+ doexe *.so || die
+ fi
+}
diff --git a/www-plugins/google-talkplugin/metadata.xml b/www-plugins/google-talkplugin/metadata.xml
new file mode 100644
index 000000000000..c8ebb8a1d818
--- /dev/null
+++ b/www-plugins/google-talkplugin/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>desktop-misc</herd>
+ <maintainer>
+ <email>ottxor@gentoo.org</email>
+ <name>Christoph Junghans</name>
+ </maintainer>
+ <use>
+ <flag name='system-libCg'>Use system libCg instead of bundled one</flag>
+ </use>
+</pkgmetadata>