This commit is contained in:
Mario Fetka
2022-12-14 13:50:35 +01:00
parent f90a215a8d
commit ad534e78da
29 changed files with 359 additions and 20 deletions

View File

@@ -0,0 +1,3 @@
DIST freeroute-1.4.6-jar-with-dependencies-linux.jar 13871977 BLAKE2B 2b9327b1fbf585960c223906e59d5b1829ce55cc2d18ee8cea5e7c4b0a727acc224c61633e391ffc262dbb6efac0e8d20daf69007c504587f73e4208324859a5 SHA512 94714b17142c075e8c5cd11d79581c4233894d7a4eb426450e674cecc5ff1957557839525662f9efb5a2f48d77e3d9cc15437fe602b7ebd326b68912c01bedf4
DIST system-run.png 1211 BLAKE2B 472fb70aaff7a01aef3d5997c7eafea3666034fddef184da26aa2242ee1d9a8e2fe37376d34f7a53d8520d3cf1c7be27ba71cb42e3f40a18fb882565839897be SHA512 e1cf3e25d0f9d0c9553d95cdbe2c8468a99488f0d3f15f734c74ef7c449b84a35cf5b1b0a62639eb0d9e89390ed0bf81040b6c94b8c0af03afc6539cb6ed2bae
EBUILD freeroute-1.4.6.ebuild 1006 BLAKE2B 81d3928be61494df38f6fe8b3d3b50736d7bcbf4907f021f8bef9479f2f8a35b869ffe13a175a51317a8b1d637e6e714d1be6e866e3e83f1d9526a6ed5952c68 SHA512 549467d261ec9a57ec193f94d45ba9d2047791cd3fff8793e89aa0b2c0a4a8e90eb8373d3c61dadf71eb6464d55df4fc5673846cce6b500605b6ce98576d9108

View File

@@ -0,0 +1,34 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit eutils java-pkg-2 java-ant-2 desktop
DESCRIPTION="popular PCB routing and autorouting program"
HOMEPAGE="http://freerouting.net/"
SRC_URI="https://github.com/rbuj/FreeRouting/releases/download/v${PV}/freeroute-${PV}-jar-with-dependencies-linux.jar
https://raw.githubusercontent.com/rbuj/FreeRouting/master/src/main/resources/icons/32/actions/system-run.png"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="java nls"
DEPEND=">=virtual/jre-11:*"
RDEPEND="${DEPEND}"
S="${WORKDIR}/${P}"
src_unpack() {
mkdir -p "${S}"
cp "${DISTDIR}"/freeroute-${PV}-jar-with-dependencies-linux.jar "${S}"/freeroute.jar
}
src_install() {
java-pkg_newjar freeroute.jar ${PN}.jar
java-pkg_dojar freeroute.jar
java-pkg_dolauncher freeroute -jar freeroute.jar
newicon "${DISTDIR}"/system-run.png ${PN}.png
make_desktop_entry ${PN} "FreeRouting" ${PN} "Science;Electricity;ComputerScience"
}