diff options
author | layman <layman@localhost> | 2014-04-02 10:36:48 +0200 |
---|---|---|
committer | layman <layman@localhost> | 2014-04-02 10:36:48 +0200 |
commit | b3449f70a576cb93695c67d8d12886fa728262b1 (patch) | |
tree | 9c67c1621ce3438dcb04d2c2d4d2b28683da7aa2 | |
parent | Gentoo SWT causes Jameica to crash in same cases, use bundled SWT 4.3 (diff) | |
download | hibiscus-b3449f70a576cb93695c67d8d12886fa728262b1.tar.gz hibiscus-b3449f70a576cb93695c67d8d12886fa728262b1.tar.bz2 hibiscus-b3449f70a576cb93695c67d8d12886fa728262b1.zip |
Bump
-rw-r--r-- | app-office/hibiscus/hibiscus-2.6.5.ebuild | 78 | ||||
-rw-r--r-- | net-libs/willuhn-hbci4java/willuhn-hbci4java-2.5.12_p20140325.ebuild | 69 |
2 files changed, 147 insertions, 0 deletions
diff --git a/app-office/hibiscus/hibiscus-2.6.5.ebuild b/app-office/hibiscus/hibiscus-2.6.5.ebuild new file mode 100644 index 0000000..b864522 --- /dev/null +++ b/app-office/hibiscus/hibiscus-2.6.5.ebuild @@ -0,0 +1,78 @@ +EAPI="2" +JAVA_PKG_IUSE="doc source" +WANT_ANT_TASKS="ant-nodeps" + +inherit eutils java-pkg-2 java-ant-2 versionator + +MY_PV="$(get_version_component_range 1-2)" + +DESCRIPTION="A HBCI homebanking application based on hbci4java" +HOMEPAGE="http://www.willuhn.de/products/hibiscus/" +SRC_URI="http://www.willuhn.de/products/hibiscus/releases/${MY_PV}/hibiscus.src.zip -> ${P}.zip" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +COMMON_DEP="=dev-java/jameica-${MY_PV}* + >=net-libs/willuhn-hbci4java-2.5.12_p20140325 + >=dev-java/obantoo-2.0.9 + >=dev-java/super-csv-1.31:0 + >=dev-java/swt-chart-0.7.0" + +RDEPEND=">=virtual/jre-1.6 + ${COMMON_DEP}" + +DEPEND=">=virtual/jdk-1.6 + ${COMMON_DEP}" + +S=${WORKDIR}/${PN} + +java_prepare() { + #epatch "${FILESDIR}/${PV}-hbci4java-api.patch" + epatch "${FILESDIR}/2.4.2-hbci4java-so-filename.patch" + + #rm -v ${S}/lib/*.{jar,so,dll,jnilib} || die + #rm -rv ${S}/lib/swtchart + rm -rv -v ${S}/lib/* + + #rm -v ${S}/lib/{itext-2.0.1.jar,obantoo-bin-1.5.1.jar,postgresql-8.3-604.jdbc3.jar,supercsv-1.31.jar,libct.so,libhbci4java-card-freebsd-64.so,libhbci4java-card-linux-32.so,libhbci4java-card-linux-64.so,libhbci4java-sizrdh-linux-gcc2.so,libhbci4java-sizrdh-linux-gcc3.so,libtowitoko-2.0.7-amd64.so,libtowitoko-2.0.7.so,hbci4java-card-win32.dll,hbci4java-card-win32_x86-64.dll,hbci4java-sizrdh-win32.dll,libhbci4java-card-mac-os-x-10.6.jnilib,libhbci4java-card-mac.jnilib} || die + + java-pkg_jar-from --with-dependencies --into ${S}/lib/ willuhn-hbci4java,obantoo,jameica,super-csv,swt-chart +} + +src_compile() { + eant -f build/build.xml jar $(use_doc javadoc) +} + +src_install() { + + local plugin_dir=/usr/share/jameica/plugins/hibiscus + + dodir ${plugin_dir} + insinto ${plugin_dir} + + doins plugin.xml + doins releases/${PV}-0/${PN}/${PN}.jar + + cp -R "${S}/updates" "${D}${plugin_dir}" || die "Install failed!" + cp -R "${S}/sql" "${D}${plugin_dir}" || die "Install failed!" + + dodir ${plugin_dir}/lib + + dosym "$(java-pkg_getjars willuhn-hbci4java)" ${plugin_dir}/lib/ + dosym "$(java-pkg_getjars obantoo)" ${plugin_dir}/lib/ + dosym "$(java-pkg_getjars super-csv)" ${plugin_dir}/lib/ + dosym "$(java-pkg_getjars itext-5)" ${plugin_dir}/lib/ + + dosym "$(java-pkg_getjar swt-chart org.swtchart.jar)" ${plugin_dir}/lib/ + dosym "$(java-pkg_getjar swt-chart org.swtchart.ext.jar)" ${plugin_dir}/lib/ + + newicon icons/${PN}-icon-16x16.png ${PN}-icon-16x16.png || die "newicon failed" + newicon icons/${PN}-icon-32x32.png ${PN}-icon-32x32.png || die "newicon failed" + newicon icons/${PN}-icon-64x64.png ${PN}-icon-64x64.png || die "newicon failed" + + use doc && java-pkg_dojavadoc releases/${PV}-0/javadoc + use source && java-pkg_dosrc src/de +} diff --git a/net-libs/willuhn-hbci4java/willuhn-hbci4java-2.5.12_p20140325.ebuild b/net-libs/willuhn-hbci4java/willuhn-hbci4java-2.5.12_p20140325.ebuild new file mode 100644 index 0000000..3a56062 --- /dev/null +++ b/net-libs/willuhn-hbci4java/willuhn-hbci4java-2.5.12_p20140325.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" +JAVA_PKG_IUSE="doc source" + +WANT_ANT_TASKS="ant-nodeps" +inherit eutils java-pkg-2 java-ant-2 + +COMMIT="31e9842347aa13893a252bad54d6a7ee8e4789cd" + +DESCRIPTION="A Java Library for HBCI/FinTS (Hibiscus Branch)" +HOMEPAGE="https://github.com/willuhn/hbci4java" +SRC_URI="https://github.com/willuhn/hbci4java/archive/${COMMIT}.zip -> ${P}.zip" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="ctapi +smartcard" + +S="${WORKDIR}/hbci4java-${COMMIT}" + +COMMON_DEP=" + dev-java/xerces:2 + >=dev-java/log4j-1.2.8:0 + !net-libs/hbci4java + ctapi? ( sys-libs/pcsc-ctapi-wrapper )" + +RDEPEND=">=virtual/jre-1.6 + ${COMMON_DEP}" + +DEPEND=">=virtual/jdk-1.6 + app-arch/unzip + ${COMMON_DEP}" + +# JNI libraries don't need SONAME +QA_SONAME="usr/$(get_libdir)/lib${PN}-chipcard-linux.so" + +EANT_BUILD_TARGET="package" + +#pkg_setup() { +# use smartcard && EANT_BUILD_TARGET="compile-chipcard ${EANT_BUILD_TARGET}" +#} + +src_unpack() { + unpack ${A} + mv ${PN}-* "${S}" +} + +java_prepare() { + epatch ${FILESDIR}/java_home.patch + eant clean + rm -f chipcard/lib/* +} + +src_install() { + java-pkg_newjar dist/jar/hbci4java.jar + + if use smartcard; then + dolib chipcard/lib/libhbci4java-card-linux.so || "dolib failed" + use amd64 && dosym libhbci4java-card-linux.so /usr/$(get_libdir)/libhbci4java-card-linux-64.so + fi + + dodoc readme.md || die "dodoc failed" + + use doc && java-pkg_dojavadoc doc/javadoc + use source && java-pkg_dosrc src/org +} |