summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <chutzpah@gentoo.org>2007-01-08 02:28:26 +0000
committerPatrick McLean <chutzpah@gentoo.org>2007-01-08 02:28:26 +0000
commit45b21bc03d479e53e509763b2703f3faca9ef7f3 (patch)
tree379cd5de0f9df3d05016473b16f01538ad115c7b /net-www/nspluginwrapper/nspluginwrapper-0.9.90.4.ebuild
parentRemove TEXTREL line and delete old version. (diff)
downloadgentoo-2-45b21bc03d479e53e509763b2703f3faca9ef7f3.tar.gz
gentoo-2-45b21bc03d479e53e509763b2703f3faca9ef7f3.tar.bz2
gentoo-2-45b21bc03d479e53e509763b2703f3faca9ef7f3.zip
Remove TEXTREL line and delete old version.
(Portage version: 2.1.2_rc4-r6) (Unsigned Manifest commit)
Diffstat (limited to 'net-www/nspluginwrapper/nspluginwrapper-0.9.90.4.ebuild')
-rw-r--r--net-www/nspluginwrapper/nspluginwrapper-0.9.90.4.ebuild74
1 files changed, 0 insertions, 74 deletions
diff --git a/net-www/nspluginwrapper/nspluginwrapper-0.9.90.4.ebuild b/net-www/nspluginwrapper/nspluginwrapper-0.9.90.4.ebuild
deleted file mode 100644
index 6c59cdb89616..000000000000
--- a/net-www/nspluginwrapper/nspluginwrapper-0.9.90.4.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/nspluginwrapper/nspluginwrapper-0.9.90.4.ebuild,v 1.1 2006/11/20 20:51:14 chutzpah Exp $
-
-inherit nsplugins flag-o-matic multilib
-
-DESCRIPTION="Netscape Plugin Wrapper - Load 32bit plugins on 64bit browser"
-HOMEPAGE="http://www.gibix.net/projects/nspluginwrapper/"
-SRC_URI="http://www.gibix.net/projects/nspluginwrapper/files/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE=""
-
-RDEPEND=">=x11-libs/gtk+-2
- app-emulation/emul-linux-x86-xlibs
- app-emulation/emul-linux-x86-gtklibs
- sys-apps/setarch"
-DEPEND="${RDEPEND}
- dev-util/pkgconfig"
-
-# I don't know how to get rid of these textrels
-QA_TEXTRELS_amd64="usr/$(get_libdir)/nspluginwrapper/i386/npviewer.bin"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}"/${P}-gentoo.patch
-}
-
-src_compile() {
- econf --with-biarch \
- --with-lib32=$(ABI=x86 get_libdir) \
- --with-lib64=$(get_libdir) || die
- emake || die
-}
-
-src_install() {
- emake DESTDIR="${D}" DONT_STRIP=yes install || die
-
- inst_plugin /usr/$(get_libdir)/nspluginwrapper/x86_64/npwrapper.so
- dosym /usr/$(get_libdir)/nspluginwrapper/x86_64/npconfig /usr/bin/nspluginwrapper
-
- dodoc NEWS README TODO ChangeLog
-}
-
-pkg_postinst() {
- einfo "Auto installing 32bit plugins..."
- nspluginwrapper -a -i
- einfo "Any 32bit plugins you currently have installed have now been"
- einfo "configured to work in a 64bit browser. Any plugins you install in"
- einfo "the future will first need to be setup with:"
- einfo " \"nspluginwrapper -i <path-to-32bit-plugin>\""
- einfo "before they will function in a 64bit browser"
- einfo
-}
-
-# this is terribly ugly, but without a way to query portage as to whether
-# we are upgrading/reinstalling a package versus unmerging, I can't think of
-# a better way
-
-pkg_prerm() {
- einfo "Removing wrapper plugins..."
- nspluginwrapper -a -r
-}
-
-pkg_postrm() {
- if [[ -x /usr/bin/nspluginwrapper ]]; then
- einfo "Auto installing 32bit plugins..."
- nspluginwrapper -a -i
- fi
-}