summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Asseburg (Zoominee) <christianasseburg@yahoo.co.uk>2009-05-01 16:50:18 +0000
committerChristian Asseburg (Zoominee) <christianasseburg@yahoo.co.uk>2009-05-01 16:50:18 +0000
commitec1395806fb649ff1ada13e4ff645e51fbc32ab5 (patch)
treec84d0e441459eda92168dcb1c33026f483894231 /www-plugins
parentAutomatic update to use.local.desc (diff)
downloadsunrise-reviewed-ec1395806fb649ff1ada13e4ff645e51fbc32ab5.tar.gz
sunrise-reviewed-ec1395806fb649ff1ada13e4ff645e51fbc32ab5.tar.bz2
sunrise-reviewed-ec1395806fb649ff1ada13e4ff645e51fbc32ab5.zip
www-plugins/nexus_personal_SE-bin: Initial import for bug 268117. Thanks to lots of clever people on the Gentoo Sunrise IRC
svn path=/sunrise/; revision=8474
Diffstat (limited to 'www-plugins')
-rw-r--r--www-plugins/nexus_personal_SE-bin/ChangeLog9
-rw-r--r--www-plugins/nexus_personal_SE-bin/Manifest4
-rw-r--r--www-plugins/nexus_personal_SE-bin/metadata.xml8
-rw-r--r--www-plugins/nexus_personal_SE-bin/nexus_personal_SE-bin-4.10.0.21-r1.ebuild103
4 files changed, 124 insertions, 0 deletions
diff --git a/www-plugins/nexus_personal_SE-bin/ChangeLog b/www-plugins/nexus_personal_SE-bin/ChangeLog
new file mode 100644
index 000000000..64a797a6a
--- /dev/null
+++ b/www-plugins/nexus_personal_SE-bin/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for www-plugins/nexus_personal_SE-bin
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 01 May 2009; Christian Asseburg (Zoominee) <christian@asseburg.com>
+ +nexus_personal_SE-bin-4.10.0.21-r1.ebuild, +metadata.xml:
+ Initial import for bug 268117. Thanks to lots of clever people on the Gentoo
+ Sunrise IRC
+
diff --git a/www-plugins/nexus_personal_SE-bin/Manifest b/www-plugins/nexus_personal_SE-bin/Manifest
new file mode 100644
index 000000000..f75b89225
--- /dev/null
+++ b/www-plugins/nexus_personal_SE-bin/Manifest
@@ -0,0 +1,4 @@
+DIST LinuxPersonal-4.10.0.21.tgz 2867707 RMD160 0ddad8ff72e2598f2ee0802cb4d9c3878c9fd422 SHA1 2d01ea221c6ab76dc0c9fa7e98ca43aa24722cce SHA256 a76d8aa5e8d20d59b5b01143941e7644e8b3d0f0579eef3522ccfb367650dde1
+EBUILD nexus_personal_SE-bin-4.10.0.21-r1.ebuild 2493 RMD160 4026c9a9dc54450f68cf6ebddf393731d82e0c07 SHA1 eef70982661a44fd26e5075a29f24ca3818c2e9a SHA256 fca25062f583e7f654f57ddc49f3f8a2a8382e73679436f7a237520441d121df
+MISC ChangeLog 359 RMD160 e0c83807faa4766c9b5ea13d8378f995f9b826ba SHA1 b2c823297c77856700c6a8e7c316c31755a4a2f4 SHA256 7dce5a2563be645efcf5969c51228b68a4b2c9ba4b9ac01d9f84dc06b6e96173
+MISC metadata.xml 263 RMD160 55c5e06f431b1e6741ba885e033f2f744e11e044 SHA1 773fd0b7e323ff8b5a2e1c96d2472337ddbe7303 SHA256 7632995a3213d86c1bf9e99fb2f8a3c06fbafa681b6b40681ed6ae8f737eee24
diff --git a/www-plugins/nexus_personal_SE-bin/metadata.xml b/www-plugins/nexus_personal_SE-bin/metadata.xml
new file mode 100644
index 000000000..dccd1212a
--- /dev/null
+++ b/www-plugins/nexus_personal_SE-bin/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>maintainer-wanted</herd>
+<use>
+ <flag name='epiphany'>Enable support for <pkg>www-client/epiphany</pkg></flag>
+</use>
+</pkgmetadata>
diff --git a/www-plugins/nexus_personal_SE-bin/nexus_personal_SE-bin-4.10.0.21-r1.ebuild b/www-plugins/nexus_personal_SE-bin/nexus_personal_SE-bin-4.10.0.21-r1.ebuild
new file mode 100644
index 000000000..4ced10247
--- /dev/null
+++ b/www-plugins/nexus_personal_SE-bin/nexus_personal_SE-bin-4.10.0.21-r1.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+inherit eutils multilib
+
+DESCRIPTION="Internet banking plugin for technology by BankID company"
+SRC_URI="http://install.bankid.com/InstallBankidCom/InstallFiles/LinuxPersonal.tgz -> LinuxPersonal-${PV}.tgz"
+HOMEPAGE="http://bankid.com/"
+
+KEYWORDS="~x86"
+SLOT="0"
+LICENSE="as-is"
+
+# Works with these browsers
+BROWSERS="epiphany firefox mozilla seamonkey"
+IUSE="doc ${BROWSERS}"
+
+S=${WORKDIR}/personal-${PV}
+
+RDEPEND="app-crypt/mit-krb5
+ dev-libs/atk
+ dev-libs/expat
+ dev-libs/glib:2
+ media-libs/libpng
+ net-misc/curl[gnutls,kerberos]
+ x11-libs/gtk+
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXinerama
+ x11-libs/pango
+ virtual/jre"
+DEPEND=""
+
+RESTRICT="strip"
+
+QA_TEXTRELS="opt/${P}/*.so"
+
+#This could be done for amd64 support.
+#pkg_setup() {
+# if ! has_multilib_profile && use amd64; then
+# die "Requires multilib on amd64."
+# fi
+#}
+
+src_install() {
+ local id=/opt/${P}
+ local ubin=/usr/local/bin
+
+ exeinto ${id}
+ doexe *.so personal.bin persadm || die "doexe failed."
+ make_wrapper personal ${id}/personal.bin \
+ ${id} ${id} || die "make_wrapper failed."
+ make_wrapper persadm "${id}/persadm" \
+ ${id} ${id} || die "make_wrapper failed."
+ dosym /usr/bin/personal ${ubin}/personal || die "dosym failed."
+ dosym /usr/bin/persadm ${ubin}/persadm || die "dosym failed."
+
+ insinto ${id}
+ doins res.zip || die "doins failed."
+
+ if use doc; then
+ dohtml *.htm || die "dohtml failed."
+ dodoc *.txt || die "dodoc failed."
+ fi
+
+ insinto ${id}/config
+ doins Personal.cfg || die "doins failed."
+
+ newicon nexus_logo_32x32.png ${PN}.png || die "newicon failed."
+ dosym /usr/share/pixmaps/${PN}.png ${id}/icons/nexus_logo_32x32.png
+
+ make_desktop_entry personal "Nexus Personal" ${PN} Utility
+
+ local ld=lib
+# amd64
+# if has_multilib_profile; then
+# local ld=$(get_abi_LIBDIR x86)
+# fi
+ dosym ${id}/libplugins.so \
+ /usr/${ld}/nsbrowser/plugins/libnexuspersonal.so \
+ || die "dosym failed."
+
+ dosym /usr/${ld}/libcurl.so ${id}/libcurl-gnutls.so.4 \
+ || die "dosym failed."
+
+ for i in ${BROWSERS}; do
+ if use $i; then
+ make_wrapper $i-nexus $i \
+ ${id} ${id}
+ fi
+ done
+}
+
+pkg_postinst() {
+ for i in ${BROWSERS}; do
+ if use $i; then
+ einfo "Start $i-nexus for BankID plugin support."
+ fi
+ done
+ einfo "For all other browsers, export LD_LIBRARY_PATH=\$\{LD_LIBRARY_PATH\}\$\{LD_LIBRARY_PATH:+:\}${id} for BankID plugin support, then start your browser."
+}