diff options
author | Fabian Köster <fabian.koester@posteo.de> | 2015-02-03 09:34:24 +0100 |
---|---|---|
committer | Fabian Köster <fabian.koester@posteo.de> | 2015-02-03 09:34:24 +0100 |
commit | e75b7785283c326ec2b722ff15e44fd0120082b7 (patch) | |
tree | c37d78c2af3e4553f3c6c6ac8303da096cf0f6c6 | |
parent | Version bump (diff) | |
download | hibiscus-e75b7785283c326ec2b722ff15e44fd0120082b7.tar.gz hibiscus-e75b7785283c326ec2b722ff15e44fd0120082b7.tar.bz2 hibiscus-e75b7785283c326ec2b722ff15e44fd0120082b7.zip |
Version bump
-rw-r--r-- | app-office/hibiscus/hibiscus-2.6.11.ebuild | 78 | ||||
-rw-r--r-- | dev-java/jameica/jameica-2.6.2.ebuild | 90 |
2 files changed, 168 insertions, 0 deletions
diff --git a/app-office/hibiscus/hibiscus-2.6.11.ebuild b/app-office/hibiscus/hibiscus-2.6.11.ebuild new file mode 100644 index 0000000..e23f85b --- /dev/null +++ b/app-office/hibiscus/hibiscus-2.6.11.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_p20140731 + >=dev-java/obantoo-2.1.6 + >=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/dev-java/jameica/jameica-2.6.2.ebuild b/dev-java/jameica/jameica-2.6.2.ebuild new file mode 100644 index 0000000..599fa83 --- /dev/null +++ b/dev-java/jameica/jameica-2.6.2.ebuild @@ -0,0 +1,90 @@ +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 Java Framework and Runtime Environment" +HOMEPAGE="http://www.willuhn.de/products/jameica/" +SRC_URI="http://www.willuhn.de/products/${PN}/releases/${MY_PV}/${PN}/${PN}.src.zip -> ${P}.zip" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +COMMON_DEP="~dev-java/willuhn-util-${MY_PV} + ~dev-java/willuhn-datasource-${MY_PV}_p20131229 + >=dev-java/nanoxml-2.2.3 + >=dev-java/velocity-1.5 + >=dev-java/xmlrpc-3.1 + >=dev-java/commons-cli-1.1 + >=dev-java/commons-collections-3.2.1 + >=dev-java/commons-lang-2.6 + >=dev-java/commons-logging-1.1.1 + dev-java/swtcalendar + >=dev-java/bcprov-1.44 + >=dev-java/h2-1.2.145 + >=dev-java/commons-lang-2.6 + >=dev-java/swt-paperclips-1.0.4 + dev-java/eclipse-jface:3.1 + dev-java/eclipse-core-runtime:3.1 + dev-java/eclipse-osgi:3.1 + dev-java/eclipse-ui-forms:3.1" + +RDEPEND=">=virtual/jre-1.5 + ${COMMON_DEP}" + +DEPEND=">=virtual/jdk-1.5 + app-arch/unzip + ${COMMON_DEP}" + +S=${WORKDIR}/${PN} + +java_prepare() { + #rm -vr ${S}/lib/* + cd ${S}/lib + + rm -vr apache_xmlrpc bouncycastle de_willuhn_ds de_willuhn_util h2 jakarta_commons mckoi mysql nanoxml paperclips splash.jar swtcalendar velocity + #rm -vr swt/linux swt/linux64 swt/macos swt/macos64 swt/win32 swt/win64 + + mkdir gentoo + local xmlrpc + xmlrpc="xmlrpc" + if has_version ">=dev-java/xmlrpc-3"; then + #TODO: How to reference slot instead of version ? + xmlrpc="xmlrpc-3" + fi + + EANT_GENTOO_CLASSPATH="willuhn-util,willuhn-datasource,nanoxml,velocity,${xmlrpc},commons-cli-1,commons-collections,commons-lang-2.1,commons-logging,swtcalendar,bcprov,h2,swt-paperclips,eclipse-jface-3.1,eclipse-osgi-3.1,eclipse-ui-forms-3.1,eclipse-core-runtime-3.1" + + java-pkg_jar-from --with-dependencies --into gentoo "${EANT_GENTOO_CLASSPATH}" +} + +src_compile() { + eant -f build/build.xml jar $(use_doc javadoc) +} + +src_install() { + java-pkg_newjar releases/${PV}-0/jameica/jameica.jar + + #java-pkg_newjar lib/swt/org.eclipse.core.runtime*.jar org.eclipse.core.runtime.jar + #java-pkg_newjar lib/swt/org.eclipse.jface*.jar org.eclipse.jface.jar + #java-pkg_newjar lib/swt/org.eclipse.osgi*.jar org.eclipse.osgi.jar + #java-pkg_newjar lib/swt/org.eclipse.ui.forms*.jar org.eclipse.ui.forms.jar + java-pkg_newjar lib/swt/linux64/swt.jar swt.jar + + insinto /usr/share/${PN} + doins plugin.xml + dodir /usr/share/${PN}/plugins + + java-pkg_dolauncher ${PN} --main de.willuhn.jameica.Main --pwd /usr/share/jameica/ + + newicon build/${PN}-icon.png ${PN}-icon.png || die "newicon failed" + make_desktop_entry jameica "Jameica" ${PN}-icon "Office;Finance" + + use doc && java-pkg_dojavadoc releases/${PV}-0/javadoc + use source && java-pkg_dosrc src/de +} |