summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sci-visualization/ggobi/Manifest1
-rw-r--r--sci-visualization/ggobi/ggobi-2.1.12.ebuild59
2 files changed, 60 insertions, 0 deletions
diff --git a/sci-visualization/ggobi/Manifest b/sci-visualization/ggobi/Manifest
index b6808716cc84..a25cf60f5039 100644
--- a/sci-visualization/ggobi/Manifest
+++ b/sci-visualization/ggobi/Manifest
@@ -1 +1,2 @@
+DIST ggobi-2.1.12.tar.gz 1730589 BLAKE2B 11ce66d66fc11ed3b7e7dde20e978348eaf8e8d42f46d99de014cd7efb23109d5e50ad2702fb492cdc4939b2c04bb17ff775918f26467e28eb2a1841117709ab SHA512 f4096bf7acc05cf300f4b67f02d7ee7b942fc21cfa26203440f5fe47600b3bf3a9029b8005d757b32cbe047d6a4ec6bd375cdf6d791fa8e1658918f8655dca1c
DIST ggobi_2.1.11.orig.tar.bz2 2787709 BLAKE2B e4b853f3212abda00150e6a3b3a344638225bdc564c109632c7ca2f9cb8cc41d35af9df1ee153d2ede3bd3191d9219e2bdd6bd6bc9c64f42447dfe17562361f1 SHA512 d34c6569d05d1e680101b62745012940c1e18c1588cd37b89b26b89e9eed9bab8fc53e0585a595b6cb4c9f2bb7d603ca4252cb6a6ba344bbc24e5cc5fd8a6dc1
diff --git a/sci-visualization/ggobi/ggobi-2.1.12.ebuild b/sci-visualization/ggobi/ggobi-2.1.12.ebuild
new file mode 100644
index 000000000000..ec5c7c800e29
--- /dev/null
+++ b/sci-visualization/ggobi/ggobi-2.1.12.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit xdg
+
+DESCRIPTION="Visualization program for exploring high-dimensional data"
+HOMEPAGE="http://www.ggobi.org/"
+# source code release is not well published
+#SRC_URI="http://www.ggobi.org/downloads/${P}.tar.bz2"
+SRC_URI="https://github.com/ggobi/ggobi/releases/download/${PV}/${P}.tar.gz"
+
+LICENSE="CPL-1.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc minimal nls"
+
+RDEPEND="
+ dev-libs/libxml2:2
+ media-gfx/graphviz
+ x11-libs/gtk+:2"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-2.1.10-desktop.patch
+)
+
+src_prepare() {
+ default
+
+ # need the ${S} for recursivity lookup
+ #AT_M4DIR="${S}"/m4 eautoreconf
+}
+
+src_configure() {
+ econf \
+ --disable-rpath \
+ $(use_enable nls)
+}
+
+src_compile() {
+ emake all ggobirc
+}
+
+src_install() {
+ default
+
+ insinto /etc/xdg/ggobi
+ doins ggobirc
+
+ if ! use doc; then
+ rm "${ED}"/usr/share/doc/${PF}/*.pdf || die
+ fi
+
+ # no static archives
+ find "${ED}" -name '*.la' -delete || die
+}