From cb834fc8be99edd71d1a6ba81cda288f2e56f312 Mon Sep 17 00:00:00 2001 From: Conrad Kostecki Date: Sun, 27 Jan 2019 17:59:22 +0100 Subject: [PATCH] app-office/moneydance: bump to version 2019.0. This release needs Java 11 at minimum. Package-Manager: Portage-2.3.56, Repoman-2.3.12 Signed-off-by: Conrad Kostecki Signed-off-by: Patrice Clement --- app-office/moneydance/Manifest | 1 + .../moneydance/moneydance-2019.0.ebuild | 56 +++++++++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 app-office/moneydance/moneydance-2019.0.ebuild diff --git a/app-office/moneydance/Manifest b/app-office/moneydance/Manifest index 96430802f6e6..f3be23e0f753 100644 --- a/app-office/moneydance/Manifest +++ b/app-office/moneydance/Manifest @@ -2,3 +2,4 @@ DIST moneydance-2017.10-amd64.tar.gz 132116528 BLAKE2B f5ba44a89944657c6c1380226 DIST moneydance-2017.10-x86.tar.gz 134860964 BLAKE2B 92181a6c6a81063377823b0fd9ed652036cf1f633c2cab57f19d1dbb18a2542361fc2bafab8852c11b941a24532f662351ea2d05bc928818db24a4cf3cae7112 SHA512 18d9d4ce7b0b65566ac81fea66ba34d66173559ca90ac166cc9b90631400845ae1c9d92ae781a618cacc57cd4f630f079736101d29b66d9c6cee7d32c7c15c22 DIST moneydance-2017.8-amd64.tar.gz 132109962 BLAKE2B 4984b6266eed96337ab284168db1a167121daa6b454a338f348d1d724587e6dfd6a52c25ff739ca0e09a9c0441b1b582e59a571f001e8b2ddc6c5e10917100cd SHA512 53e46ee63ee89b86f3108045e9a16fdda637effb5edb719ccf7192632e6ebace607f40871ee54b5c5bde40821fdf2cbf89a5abd6eba0698618a8db8d848971c6 DIST moneydance-2017.8-x86.tar.gz 134851425 BLAKE2B 4c40f30798b66d01b5abacc5cfbfa584a107f351de8bd2eb8c291aea6d96c122a36feb5ed092ea0aec4a99be7e1507f79551a1c6a1cd79365b8dfc52892a57bc SHA512 434fbd0c941a455c862963e572b7c1489fa19ccf30efb315af33eac3974acdad57292943d129433e6a59d3f233cd797b6697c0e82d9293ce0464d25ab8c32912 +DIST moneydance-2019.0-amd64.tar.gz 132467602 BLAKE2B d58df88166f73c80b755863bd9ea18fdadf192ac9f0016313ab59c209c895ef8c1203d0b7627004521a9569343c3269bc1854e4e7925ec6e438148059d8adaf3 SHA512 2ee22626b0b3918c3ebd80f7ca4ce9c1ad39716fb837887ca84a970f2f3d64d7daff36eff31eaa22753e55e0dcfc49ccb2f10e5c8dfbf21e67e8627b17d9de59 diff --git a/app-office/moneydance/moneydance-2019.0.ebuild b/app-office/moneydance/moneydance-2019.0.ebuild new file mode 100644 index 000000000000..e205b32533bf --- /dev/null +++ b/app-office/moneydance/moneydance-2019.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 2018-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit desktop eapi7-ver gnome2-utils java-pkg-2 + +MY_PN="Moneydance" +MY_PV="$(ver_cut 1)" + +DESCRIPTION="A cross-platform personal finance application" +HOMEPAGE="https://moneydance.com/" +SRC_URI="https://infinitekind.com/stabledl/${MY_PV}/${MY_PN}_linux_amd64.tar.gz -> ${P}-amd64.tar.gz" + +LICENSE="Apache-1.0 Apache-2.0 BSD CPAL-1.0 CPL-1.0 CSL-2.0 LGPL-2 MIT TIK" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="|| ( + >=dev-java/openjdk-bin-11.0 + >=dev-java/openjdk-11.0 + >=dev-java/oracle-jdk-bin-11.0 + ) +" + +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${MY_PN}" + +RESTRICT="bindist fetch mirror" + +pkg_nofetch() { + elog "Please download ${A} from" + elog "https://infinitekind.com/stabledl/${MY_PV}/${MY_PN}_linux_amd64.tar.gz" + elog "and place it in your DISTDIR directory." +} + +src_compile() { + :; +} + +src_install() { + java-pkg_dojar lib/*.jar + java-pkg_dolauncher moneydance --main "Moneydance" --java_args "-client -Dawt.useSystemAAFontSettings=gasp -Dawt.useSystemAAFontSettings=on -Xmx1024m" + + doicon resources/*.png + make_desktop_entry "moneydance" "Moneydance" moneydance Office +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} -- 2.26.2