Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/xtide/
Date: Sat, 13 Oct 2018 16:47:27
Message-Id: 1539449218.bbb446248a266ea5de790a0962891a62bd1a0cda.pacho@gentoo
1 commit: bbb446248a266ea5de790a0962891a62bd1a0cda
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 13 16:46:58 2018 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 13 16:46:58 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbb44624
7
8 sci-geosciences/xtide: Bump to 2.15.1, fix deps (#563418)
9
10 Closes: https://bugs.gentoo.org/563418
11 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
12 Package-Manager: Portage-2.3.51, Repoman-2.3.11
13
14 sci-geosciences/xtide/Manifest | 1 +
15 sci-geosciences/xtide/xtide-2.15.1.ebuild | 51 +++++++++++++++++++++++++++++++
16 2 files changed, 52 insertions(+)
17
18 diff --git a/sci-geosciences/xtide/Manifest b/sci-geosciences/xtide/Manifest
19 index 183edc706b5..cf6dd7af201 100644
20 --- a/sci-geosciences/xtide/Manifest
21 +++ b/sci-geosciences/xtide/Manifest
22 @@ -1 +1,2 @@
23 DIST xtide-2.13.2.tar.bz2 481183 BLAKE2B b9d294ef1e212ecf2a9850082f0861efd85a8e151da265e3faf06e51a77c2769f68135cad4751edb3517a9dacfc75d45b43f2dc1810351e6d7788228c46ccbfc SHA512 31b35190932413bf5021c82c640ec3f03424807ffd5295abd8ab9554febbe495896bc0d08f901e70e11b04d92c0d1991b8214dcdd5e95e04173f3e7bbf5faec0
24 +DIST xtide-2.15.1.tar.bz2 710182 BLAKE2B 31c336c16d855615bb3b33571f71cf47ff4ae524c1ca987e4b29a1c0a88844d9de7fa9f0340a07360c6e0299826e47d0c448dec074a3755a929300cc72cb6462 SHA512 3951d5c797981fd4a0396d21830241a700d0f6c7a21694addf7df14f4b3864fbeecb6d352f075a7ccd1c15f8c6b7ddee6ddd501a2699165a9432e8e8dcc0a448
25
26 diff --git a/sci-geosciences/xtide/xtide-2.15.1.ebuild b/sci-geosciences/xtide/xtide-2.15.1.ebuild
27 new file mode 100644
28 index 00000000000..351bc65c9bc
29 --- /dev/null
30 +++ b/sci-geosciences/xtide/xtide-2.15.1.ebuild
31 @@ -0,0 +1,51 @@
32 +# Copyright 1999-2018 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +inherit desktop gnome2-utils
37 +
38 +DESCRIPTION="XTide provides tide and current predictions in a wide variety of formats"
39 +HOMEPAGE="http://www.flaterco.com/xtide/"
40 +SRC_URI="ftp://ftp.flaterco.com/xtide/${P}.tar.bz2"
41 +
42 +LICENSE="GPL-3"
43 +SLOT="0"
44 +KEYWORDS="~amd64 ~x86"
45 +IUSE=""
46 +
47 +DEPEND="
48 + media-libs/libpng:0=
49 + sci-geosciences/gpsd
50 + >=sci-geosciences/libtcd-2.2.5_p2
51 + x11-libs/libX11
52 + x11-libs/libXaw3d[unicode]
53 + x11-libs/libXaw3dXft
54 + x11-libs/libXft
55 + x11-libs/libXpm
56 + x11-libs/libXt
57 +"
58 +RDEPEND="${DEPEND}
59 + media-fonts/font-schumacher-misc
60 +"
61 +
62 +src_install() {
63 + default
64 +
65 + echo 'HFILE_PATH=/usr/share/harmonics' > 50xtide_harm
66 + doenvd 50xtide_harm
67 +
68 + newicon -s 48 iconsrc/icon_48x48_orig.png ${PN}.png
69 + make_desktop_entry ${PN} 'Tide prediction' ${PN} 'Science'
70 +}
71 +
72 +pkg_preinst() {
73 + gnome2_icon_savelist
74 +}
75 +
76 +pkg_postinst() {
77 + gnome2_icon_cache_update
78 +}
79 +
80 +pkg_postrm() {
81 + gnome2_icon_cache_update
82 +}