diff options
Diffstat (limited to 'app-office')
-rw-r--r-- | app-office/hibiscus/Manifest | 2 | ||||
-rw-r--r-- | app-office/hibiscus/hibiscus-2.6.0.ebuild | 78 |
2 files changed, 79 insertions, 1 deletions
diff --git a/app-office/hibiscus/Manifest b/app-office/hibiscus/Manifest index c1e498f..00f10d2 100644 --- a/app-office/hibiscus/Manifest +++ b/app-office/hibiscus/Manifest @@ -7,4 +7,4 @@ DIST hibiscus-2.4.2.zip 5260678 SHA256 a410c0b79ee8fae3b12405332c81e8fa8908b51be DIST hibiscus-2.6.0.zip 6695238 SHA256 7be45416165e1a7f232b55f29e74b6e143c089232861f7cd015c4e6cac4b8957 SHA512 b0d33aab786c7b450dca01dd04aea985ec275902b541fef8b82c84ed69462a05ea1ea44172438f3b2f83e0b7343dc67992885029fa182179ed8712e80cc644cb WHIRLPOOL 3d00afb9a214e65849e3198865d959c66a1d337e31b49e3ceee1c64de6aa2050c11d44c1beeaaec610dd3b6559f7b0df44ec85a4477750d7736ba1d64e94f1df EBUILD hibiscus-2.2.1.ebuild 2445 SHA256 9a388dee18ee61e8bcb28281de8b741fca433509f29c778b5c8193315cc31cb8 SHA512 b8d96be8ddb7e196357931c0022e3f544574ec76942144f2a2347b06143699dc8b4faae787a77b2e15a999e278a8103092ec558cbb7ae377f1d540b647049cce WHIRLPOOL dd308bc0976123b521caf5408a45f31ee9cb4412ac3318bd6d97a78fc4d684cb408977412dbf8103952bc14da2ab0c3791812eb5ce3b9bead1a73bf5c5695503 EBUILD hibiscus-2.4.2.ebuild 2696 SHA256 32a02d502c11aca3be2f62da49fb73fbdef2ee219a2b3a78687ea00a0e8f28c1 SHA512 0e687939412638883b67221b930e1d22a6567a8d7bbabdf40dde14779ba73ccbd859f38cd133600f477b90d65ab7b353aa949288cc3f34e63a9d3d7a22a2b9bc WHIRLPOOL 99d1f0ecc9db5e4d33720aa8d19810dbdb9b48d187d1e6cf642cbe21e063f00d16e7523ff8d80dc755ac908a732e8813ff6f10a33be9bb90ffbde46f3c39212c -EBUILD hibiscus-2.6.0.ebuild 2696 SHA256 9f3353f5b3335174ee5a508cece945aa88879288ba03e7f960e0ff6e56e866ee SHA512 d3561a4d89d22fe9bfd960cb016874e173f81fb0ceaca916283de7ad8fffff79a4bc7ac50d34bbb52dc70faaeeef37f3927b2d09d9a75388f6f2939b0805ddcb WHIRLPOOL a5d66112beabd37df1444a8487659a3e9c377883b232f4dbdcdd1cba4e10110cd957ea66755925b6d4cf1b55244fedeaf58aca13e25d18499d7cd04f1eedc558 +EBUILD hibiscus-2.6.0.ebuild 2693 SHA256 7816cb64bd37f0df76ab69629758f39a50f5aa6c6657b16634b288f51ee6651c SHA512 fade0f824891ea2ad5851ca8751ce6e0aea14ece3355db5271e0f5978db4414e583ce7528ee88e52d1fc4677e2c639581d6f442ef4288950a53b296213f7a053 WHIRLPOOL 6174cfdf14b1ef2223f927f60a5ad5b343337d673975b84e38b59a910f77a15620b903cc8cfd900efa6c08cef2fa3c10cb60228f18a50eb69a72205f7d2dadc6 diff --git a/app-office/hibiscus/hibiscus-2.6.0.ebuild b/app-office/hibiscus/hibiscus-2.6.0.ebuild new file mode 100644 index 0000000..3592d35 --- /dev/null +++ b/app-office/hibiscus/hibiscus-2.6.0.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_p20131208 + >=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 +} |