mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 23:23:00 -04:00
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@gmail.com>
This commit is contained in:
1
media-gfx/gephi-bin/Manifest
Normal file
1
media-gfx/gephi-bin/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST gephi-0.9.2-linux.tar.gz 80846981 BLAKE2B fccf8bc9ce1e1d422582ba5ac223c0608ac130150cb76eb079409f2357a24d097487d5b05d63c34a607757c2fb11d822202618c331fe3148c20a545ad36504cf SHA512 ea90a2f7c8e4cb63364dd0245bde68527048e5d2a807422c4ab3bf7d05373af982c4cde50774131d0a810ef0c31a7cbfaef3f4b1c46e458c7696c856072d20cd
|
||||
47
media-gfx/gephi-bin/gephi-bin-0.9.2.ebuild
Normal file
47
media-gfx/gephi-bin/gephi-bin-0.9.2.ebuild
Normal file
@@ -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"
|
||||
}
|
||||
22
media-gfx/gephi-bin/metadata.xml
Normal file
22
media-gfx/gephi-bin/metadata.xml
Normal file
@@ -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>lssndrbarbieri@gmail.com</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>
|
||||
Reference in New Issue
Block a user