Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-office/moneydance/
Date: Tue, 29 Jan 2019 23:00:20
Message-Id: 1548802793.641ed6a66b458b4c83517c01d8ce16ef1ac82eab.monsieurp@gentoo
1 commit: 641ed6a66b458b4c83517c01d8ce16ef1ac82eab
2 Author: Conrad Kostecki <conrad <AT> kostecki <DOT> com>
3 AuthorDate: Sun Jan 27 16:57:40 2019 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 29 22:59:53 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=641ed6a6
7
8 app-office/moneydance: bump to version 2017.10.
9
10 This is the latest x86 release.
11 Future versions dropped x86 support.
12
13 Package-Manager: Portage-2.3.56, Repoman-2.3.12
14 Signed-off-by: Conrad Kostecki <conrad <AT> kostecki.com>
15 Closes: https://github.com/gentoo/gentoo/pull/10918
16 Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
17
18 app-office/moneydance/Manifest | 2 +
19 app-office/moneydance/moneydance-2017.10.ebuild | 63 +++++++++++++++++++++++++
20 2 files changed, 65 insertions(+)
21
22 diff --git a/app-office/moneydance/Manifest b/app-office/moneydance/Manifest
23 index 00c1b8726d4..96430802f6e 100644
24 --- a/app-office/moneydance/Manifest
25 +++ b/app-office/moneydance/Manifest
26 @@ -1,2 +1,4 @@
27 +DIST moneydance-2017.10-amd64.tar.gz 132116528 BLAKE2B f5ba44a89944657c6c1380226dc512729825b084783e6d70dd7b2b731411294c7333bae858b2be3d5321e5145230257b325dc2b72a22744a877673c1c934d854 SHA512 175ff470b5fb5c3851eae708cc641777d7bdf1ede40366ccf5a135d6c813c08d9ce32665a2307c3aefa63eeb2206ad0874cb989aa998415abb86184a2b114ce8
28 +DIST moneydance-2017.10-x86.tar.gz 134860964 BLAKE2B 92181a6c6a81063377823b0fd9ed652036cf1f633c2cab57f19d1dbb18a2542361fc2bafab8852c11b941a24532f662351ea2d05bc928818db24a4cf3cae7112 SHA512 18d9d4ce7b0b65566ac81fea66ba34d66173559ca90ac166cc9b90631400845ae1c9d92ae781a618cacc57cd4f630f079736101d29b66d9c6cee7d32c7c15c22
29 DIST moneydance-2017.8-amd64.tar.gz 132109962 BLAKE2B 4984b6266eed96337ab284168db1a167121daa6b454a338f348d1d724587e6dfd6a52c25ff739ca0e09a9c0441b1b582e59a571f001e8b2ddc6c5e10917100cd SHA512 53e46ee63ee89b86f3108045e9a16fdda637effb5edb719ccf7192632e6ebace607f40871ee54b5c5bde40821fdf2cbf89a5abd6eba0698618a8db8d848971c6
30 DIST moneydance-2017.8-x86.tar.gz 134851425 BLAKE2B 4c40f30798b66d01b5abacc5cfbfa584a107f351de8bd2eb8c291aea6d96c122a36feb5ed092ea0aec4a99be7e1507f79551a1c6a1cd79365b8dfc52892a57bc SHA512 434fbd0c941a455c862963e572b7c1489fa19ccf30efb315af33eac3974acdad57292943d129433e6a59d3f233cd797b6697c0e82d9293ce0464d25ab8c32912
31
32 diff --git a/app-office/moneydance/moneydance-2017.10.ebuild b/app-office/moneydance/moneydance-2017.10.ebuild
33 new file mode 100644
34 index 00000000000..bce4b6c2cfa
35 --- /dev/null
36 +++ b/app-office/moneydance/moneydance-2017.10.ebuild
37 @@ -0,0 +1,63 @@
38 +# Copyright 2018-2019 Gentoo Authors
39 +# Distributed under the terms of the GNU General Public License v2
40 +
41 +EAPI=6
42 +
43 +inherit desktop eapi7-ver gnome2-utils java-pkg-2
44 +
45 +MY_PN="Moneydance"
46 +MY_PV="$(ver_cut 1)"
47 +
48 +DESCRIPTION="A cross-platform personal finance application"
49 +HOMEPAGE="https://moneydance.com/"
50 +SRC_URI="
51 + amd64? ( https://infinitekind.com/stabledl/${MY_PV}/${MY_PN}_linux_amd64.tar.gz -> ${P}-amd64.tar.gz )
52 + x86? ( https://infinitekind.com/stabledl/${MY_PV}/${MY_PN}_linux_x86.tar.gz -> ${P}-x86.tar.gz )
53 +"
54 +
55 +LICENSE="Apache-1.0 Apache-2.0 BSD CPAL-1.0 CPL-1.0 CSL-2.0 LGPL-2 MIT TIK"
56 +SLOT="0"
57 +KEYWORDS="~amd64 ~x86"
58 +
59 +RDEPEND="
60 + >=virtual/jre-1.8"
61 +
62 +DEPEND="
63 + >=virtual/jdk-1.8"
64 +
65 +S="${WORKDIR}/${MY_PN}"
66 +
67 +RESTRICT="bindist fetch mirror"
68 +
69 +pkg_nofetch() {
70 + elog "Please download ${A} from"
71 + elog "https://infinitekind.com/stabledl/${MY_PV}/${MY_PN}_linux_$(usex amd64 amd64 x86).tar.gz -> ${P}-$(usex amd64 amd64 x86).tar.gz"
72 + elog "and place it in your DISTDIR directory."
73 +}
74 +
75 +src_prepare() {
76 + default
77 +
78 + # Modify .desktop file, to fix QA errors
79 + sed -e 's/Application;//g' -e 's/.png//g' -i resources/moneydance.desktop || die
80 +}
81 +
82 +src_compile() {
83 + :;
84 +}
85 +
86 +src_install() {
87 + java-pkg_dojar jars/*.jar
88 + java-pkg_dolauncher moneydance --main "Moneydance" --java_args "-client -Dawt.useSystemAAFontSettings=gasp -Dawt.useSystemAAFontSettings=on -Xmx1024m"
89 +
90 + doicon resources/*.png
91 + domenu resources/moneydance.desktop
92 +}
93 +
94 +pkg_postinst() {
95 + gnome2_icon_cache_update
96 +}
97 +
98 +pkg_postrm() {
99 + gnome2_icon_cache_update
100 +}