summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-04-17 15:55:25 +0100
committerSam James <sam@gentoo.org>2022-04-17 16:18:32 +0100
commitc1b4b6be198ad2e5ce89c5f526f9de961c2e21a9 (patch)
treea0a8de345d165d444138f7e73b77a97a176bc80f /sci-geosciences/xtide
parentsys-fs/e2fsprogs: remove useless FreeBSD patch (diff)
downloadgentoo-c1b4b6be198ad2e5ce89c5f526f9de961c2e21a9.tar.gz
gentoo-c1b4b6be198ad2e5ce89c5f526f9de961c2e21a9.tar.bz2
gentoo-c1b4b6be198ad2e5ce89c5f526f9de961c2e21a9.zip
sci-geosciences/xtide: update EAPI 6 -> 8
Closes: https://bugs.gentoo.org/822816 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-geosciences/xtide')
-rw-r--r--sci-geosciences/xtide/xtide-2.15.1-r1.ebuild38
1 files changed, 38 insertions, 0 deletions
diff --git a/sci-geosciences/xtide/xtide-2.15.1-r1.ebuild b/sci-geosciences/xtide/xtide-2.15.1-r1.ebuild
new file mode 100644
index 000000000000..fdb13015ce5a
--- /dev/null
+++ b/sci-geosciences/xtide/xtide-2.15.1-r1.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="http://www.flaterco.com/xtide/"
+SRC_URI="ftp://ftp.flaterco.com/xtide/${P}.tar.bz2"
+
+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/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 || 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
+}