Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 376052 Details for
Bug 509116
www-plugins/google-talkplugin-5.2.4.0 - ppapi plugins should be symlinked to chrome/chromium plugin directories
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Ebuild modifications to install ppapi symlinks
google-talkplugin-5.2.4.0.ebuild.diff (text/plain), 1.52 KB, created by
Thomas Kear
on 2014-04-30 00:25:42 UTC
(
hide
)
Description:
Ebuild modifications to install ppapi symlinks
Filename:
MIME Type:
Creator:
Thomas Kear
Created:
2014-04-30 00:25:42 UTC
Size:
1.52 KB
patch
obsolete
>--- /root/google-talkplugin-5.2.4.0.ebuild 2014-04-04 04:31:37.000000000 +1300 >+++ google-talkplugin-5.2.4.0.ebuild 2014-04-30 11:55:14.019479273 +1200 >@@ -23,7 +23,7 @@ > DESCRIPTION="Video chat browser plug-in for Google Talk" > > HOMEPAGE="http://www.google.com/chat/video" >-IUSE="libnotify" >+IUSE="libnotify +npapi +ppapi" > SLOT="0" > > KEYWORDS="-* ~amd64 ~x86" >@@ -64,6 +64,12 @@ > IUSE="${IUSE} linguas_${X}" > done > >+pkg_setup() { >+ if ! use npapi && ! use ppapi; then >+ ewarn "Neither NPAPI or pepper plugin is enabled, plugin will not be installed for any browsers" >+ fi >+} >+ > # nofetch means upstream bumped and thus needs version bump > pkg_nofetch() { > if [[ ${OBSOLETE} = yes ]]; then >@@ -90,6 +96,11 @@ > unpacker ${pkg} > } > >+ppapi_plugindirs=( >+ /opt/google/chrome{,-beta,-unstable}/pepper >+ /usr/lib/chromium-browser/pepper >+) >+ > src_install() { > unpacker usr/share/doc/google-talkplugin/changelog.Debian.gz > dodoc changelog.Debian >@@ -97,8 +108,15 @@ > exeinto "/${INSTALL_BASE}" > doexe "${INSTALL_BASE}"/GoogleTalkPlugin > for i in "${INSTALL_BASE}"/lib*.so; do >- doexe "${i}" >- [[ ${i##*/} = libnp* ]] && inst_plugin "/${i}" >+ doexe "${i}" >+ if [[ ${i##*/} = libnp* ]] && use npapi; then >+ inst_plugin "/${i}" >+ fi >+ if [[ ${i##*/} = libpp* ]] && use ppapi; then >+ for plugindir in "${ppapi_plugindirs[@]}"; do >+ dosym "${i}" "${plugindir}/$(basename "${i}")" >+ done >+ fi > done > > #install screen-sharing stuff - bug #397463
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 509116
: 376052