summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-geosciences/xtide')
-rw-r--r--sci-geosciences/xtide/Manifest1
-rw-r--r--sci-geosciences/xtide/xtide-2.15.5.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/sci-geosciences/xtide/Manifest b/sci-geosciences/xtide/Manifest
index 8a0d05ae3763..f3d722d6a226 100644
--- a/sci-geosciences/xtide/Manifest
+++ b/sci-geosciences/xtide/Manifest
@@ -1 +1,2 @@
DIST xtide-2.15.1.tar.bz2 710182 BLAKE2B 31c336c16d855615bb3b33571f71cf47ff4ae524c1ca987e4b29a1c0a88844d9de7fa9f0340a07360c6e0299826e47d0c448dec074a3755a929300cc72cb6462 SHA512 3951d5c797981fd4a0396d21830241a700d0f6c7a21694addf7df14f4b3864fbeecb6d352f075a7ccd1c15f8c6b7ddee6ddd501a2699165a9432e8e8dcc0a448
+DIST xtide-2.15.5.tar.xz 574972 BLAKE2B b03a2d0b4c2616b0a81fc745a7781dba74e0d7977c84790ab5fc3aebaf3a04ae51fa9bd5b79166195e0b6cbe736efa3e31b5203a25bb6f60df385c0f357294f9 SHA512 314c3d256a873ae5862e83050937c72983e5ac0bc9dc2c1a9264d0285f73f681eae1451706c5c6c2829d980423044e83adff3fcf8975b33eb03eed8cb72f1f43
diff --git a/sci-geosciences/xtide/xtide-2.15.5.ebuild b/sci-geosciences/xtide/xtide-2.15.5.ebuild
new file mode 100644
index 000000000000..28ed3a79b08c
--- /dev/null
+++ b/sci-geosciences/xtide/xtide-2.15.5.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop xdg
+
+DESCRIPTION="XTide provides tide and current predictions in a wide variety of formats"
+HOMEPAGE="https://flaterco.com/xtide/"
+SRC_URI="https://flaterco.com/files/xtide/${P}.tar.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="media-libs/libpng:=
+ sci-geosciences/gpsd:=
+ >=sci-geosciences/libtcd-2.2.5_p2:=
+ x11-libs/libX11
+ x11-libs/libXaw3dXft
+ x11-libs/libXft
+ x11-libs/libXpm
+ x11-libs/libXt
+ sys-libs/zlib"
+RDEPEND="${DEPEND}
+ media-fonts/font-schumacher-misc"
+
+src_install() {
+ default
+
+ echo 'HFILE_PATH=/usr/share/harmonics' > 50xtide_harm || die
+ doenvd 50xtide_harm
+
+ newicon -s 48 iconsrc/icon_48x48_orig.png ${PN}.png
+ make_desktop_entry ${PN} 'Tide prediction' ${PN} 'Science'
+
+ find "${ED}" -name '*.la' -delete || die
+}