summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2018-10-13 18:46:58 +0200
committerPacho Ramos <pacho@gentoo.org>2018-10-13 18:46:58 +0200
commitbbb446248a266ea5de790a0962891a62bd1a0cda (patch)
treeb0f03fec51aba019316a7fe93579c879d9041f7d /sci-geosciences/xtide
parentapp-misc/zisofs-tools: Rely on tarball from our mirrors (#574142) (diff)
downloadgentoo-bbb446248a266ea5de790a0962891a62bd1a0cda.tar.gz
gentoo-bbb446248a266ea5de790a0962891a62bd1a0cda.tar.bz2
gentoo-bbb446248a266ea5de790a0962891a62bd1a0cda.zip
sci-geosciences/xtide: Bump to 2.15.1, fix deps (#563418)
Closes: https://bugs.gentoo.org/563418 Signed-off-by: Pacho Ramos <pacho@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'sci-geosciences/xtide')
-rw-r--r--sci-geosciences/xtide/Manifest1
-rw-r--r--sci-geosciences/xtide/xtide-2.15.1.ebuild51
2 files changed, 52 insertions, 0 deletions
diff --git a/sci-geosciences/xtide/Manifest b/sci-geosciences/xtide/Manifest
index 183edc706b5..cf6dd7af201 100644
--- a/sci-geosciences/xtide/Manifest
+++ b/sci-geosciences/xtide/Manifest
@@ -1 +1,2 @@
DIST xtide-2.13.2.tar.bz2 481183 BLAKE2B b9d294ef1e212ecf2a9850082f0861efd85a8e151da265e3faf06e51a77c2769f68135cad4751edb3517a9dacfc75d45b43f2dc1810351e6d7788228c46ccbfc SHA512 31b35190932413bf5021c82c640ec3f03424807ffd5295abd8ab9554febbe495896bc0d08f901e70e11b04d92c0d1991b8214dcdd5e95e04173f3e7bbf5faec0
+DIST xtide-2.15.1.tar.bz2 710182 BLAKE2B 31c336c16d855615bb3b33571f71cf47ff4ae524c1ca987e4b29a1c0a88844d9de7fa9f0340a07360c6e0299826e47d0c448dec074a3755a929300cc72cb6462 SHA512 3951d5c797981fd4a0396d21830241a700d0f6c7a21694addf7df14f4b3864fbeecb6d352f075a7ccd1c15f8c6b7ddee6ddd501a2699165a9432e8e8dcc0a448
diff --git a/sci-geosciences/xtide/xtide-2.15.1.ebuild b/sci-geosciences/xtide/xtide-2.15.1.ebuild
new file mode 100644
index 00000000000..351bc65c9bc
--- /dev/null
+++ b/sci-geosciences/xtide/xtide-2.15.1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit desktop gnome2-utils
+
+DESCRIPTION="XTide provides tide and current predictions in a wide variety of formats"
+HOMEPAGE="http://www.flaterco.com/xtide/"
+SRC_URI="ftp://ftp.flaterco.com/xtide/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+ media-libs/libpng:0=
+ sci-geosciences/gpsd
+ >=sci-geosciences/libtcd-2.2.5_p2
+ x11-libs/libX11
+ x11-libs/libXaw3d[unicode]
+ x11-libs/libXaw3dXft
+ x11-libs/libXft
+ x11-libs/libXpm
+ x11-libs/libXt
+"
+RDEPEND="${DEPEND}
+ media-fonts/font-schumacher-misc
+"
+
+src_install() {
+ default
+
+ echo 'HFILE_PATH=/usr/share/harmonics' > 50xtide_harm
+ doenvd 50xtide_harm
+
+ newicon -s 48 iconsrc/icon_48x48_orig.png ${PN}.png
+ make_desktop_entry ${PN} 'Tide prediction' ${PN} 'Science'
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}