commit: ca3401a4a560a67573282577c2cf3dd6dc193378
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Wed Mar 17 02:17:19 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Wed Mar 17 02:17:40 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ca3401a4
media-gfx/gephi-bin: new package
uses maven so it's binary for now
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
media-gfx/gephi-bin/Manifest | 1 +
media-gfx/gephi-bin/gephi-bin-0.9.2.ebuild | 47 ++++++++++++++++++++++++++++++
media-gfx/gephi-bin/metadata.xml | 22 ++++++++++++++
3 files changed, 70 insertions(+)
diff --git a/media-gfx/gephi-bin/Manifest b/media-gfx/gephi-bin/Manifest
new file mode 100644
index 00000000..76e18d1c
--- /dev/null
+++ b/media-gfx/gephi-bin/Manifest
@@ -0,0 +1 @@
+DIST gephi-0.9.2-linux.tar.gz 80846981 BLAKE2B
fccf8bc9ce1e1d422582ba5ac223c0608ac130150cb76eb079409f2357a24d097487d5b05d63c34a607757c2fb11d822202618c331fe3148c20a545ad36504cf
SHA512
ea90a2f7c8e4cb63364dd0245bde68527048e5d2a807422c4ab3bf7d05373af982c4cde50774131d0a810ef0c31a7cbfaef3f4b1c46e458c7696c856072d20cd
diff --git a/media-gfx/gephi-bin/gephi-bin-0.9.2.ebuild
b/media-gfx/gephi-bin/gephi-bin-0.9.2.ebuild
new file mode 100644
index 00000000..08701750
--- /dev/null
+++ b/media-gfx/gephi-bin/gephi-bin-0.9.2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+MYPN="${PN/-bin/}"
+MYP="${MYPN}-${PV}"
+
+DESCRIPTION="The Open Graph Viz Platform"
+HOMEPAGE="https://gephi.org/"
+SRC_URI="https://github.com/gephi/gephi/releases/download/v${PV}/${MYP}-linux.tar.gz"
+
+LICENSE="CDDL GPL-3"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+RESTRICT="strip"
+RDEPEND="virtual/jre:1.8"
+
+S="${WORKDIR}"
+
+QA_PREBUILT="
+ /opt/${MYPN}/platform/modules/lib/amd64/linux/libjnidispatch-422.so
+ /opt/${MYPN}/platform/modules/lib/i386/linux/libjnidispatch-422.so
+"
+
+src_prepare() {
+ #remove windows things
+ rm -r "${S}/${MYP}"/bin/*.exe || die
+ rm -r "${S}/${MYP}"/platform/lib/*.exe || die
+ rm -r "${S}/${MYP}"/platform/lib/*.dll || die
+ rm -r "${S}/${MYP}/platform/modules/lib/x86" || die #windows only
+ rm -r "${S}/${MYP}"/platform/modules/lib/amd64/*.dll || die
+
+ use amd64 && rm -rf "${S}/${MYP}/platform/modules/lib/i386"
+ use x86 && rm -rf "${S}/${MYP}/platform/modules/lib/amd64"
+
+ eapply_user
+}
+
+src_install() {
+ insinto "/opt/${MYPN}"
+ doins -r "${MYP}"/*
+ keepdir "/opt/${MYPN}/etc"
+ fperms a+x "/opt/${MYPN}/bin/gephi"
+ fperms a+x "/opt/${MYPN}/platform/lib/nbexec"
+ dosym "../../opt/${MYPN}/bin/gephi" "${EPREFIX}/usr/bin/gephi"
+}
diff --git a/media-gfx/gephi-bin/metadata.xml b/media-gfx/gephi-bin/metadata.xml
new file mode 100644
index 00000000..f600f36b
--- /dev/null
+++ b/media-gfx/gephi-bin/metadata.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>[email protected]</email>
+ <name>Alessandro Barbieri</name>
+ </maintainer>
+ <upstream>
+ <bugs-to>https://github.com/gephi/gephi/issues</bugs-to>
+ <changelog>https://github.com/gephi/gephi/wiki/Releases</changelog>
+ <remote-id type="github">gephi/gephi</remote-id>
+ </upstream>
+ <longdescription lang="en">
+Gephi is an award-winning open-source platform for visualizing and
manipulating large graphs. It runs on Windows, Mac OS X and Linux. Localization
is available in English, French, Spanish, Japanese, Russian, Brazilian
Portuguese, Chinese, Czech and German.
+
+Fast Powered by a built-in OpenGL engine, Gephi is able to push the envelope
with very large networks. Visualize networks up to a million elements. All
actions (e.g. layout, filter, drag) run in real-time.
+
+Simple Easy to install and get started. An UI that is centered around the
visualization. Like Photoshop™ for graphs.
+
+Modular Extend Gephi with plug-ins. The architecture is built on top of
Netbeans Platform and can be extended or reused easily through well-written
APIs.
+ </longdescription>
+</pkgmetadata>