mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-05 02:50:26 +02:00
google-talkplugin: in the main tree now
This commit is contained in:
parent
bb2c91d614
commit
6e0a58e693
2 changed files with 0 additions and 99 deletions
|
|
@ -1,3 +0,0 @@
|
|||
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 2895 RMD160 68b0f87954cf0f1ce75b5181b4f35f9bddbdc9c3 SHA1 dc350d64a7d393c70a909a2fcf476e0f957b14f9 SHA256 8944462df5ef5544616d9e80cf46af37525a2229516c31fbb2b40940b1c8ccbd
|
||||
|
|
@ -1,96 +0,0 @@
|
|||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
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="-* ~amd64 ~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
|
||||
}
|
||||
Loading…
Reference in a new issue