Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added cura, mindustry and wondershaper #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions games-strategy/mindustry-bin/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
DIST mindustry-bin-126.2.jar 72294357 BLAKE2B 839168440671acff067b0ad498fd7dbb1573ca0d315b93707295d575fc7e62f66aea3a62f1c445732848a19aefecf4925295b802a49efb4bd7524dbe53e1fd29 SHA512 0deecf3016008e004f77fff3b9c019c8d25b99728e829380dedd45a1ed350dd81f30044903ad94fd034d52de14a9b6f785874b6b51d2acc4a1e24eb1af07d915
DIST mindustry-bin-135.jar 60093826 BLAKE2B b2c92865ff6404b8c58778f9d54d5f7a7c42e3c1d20a25ac256d7712131ee366f1a3bdacf13138da88d3902d7bc62e24ef94b7b5cd3845781fa15be1ba702e2d SHA512 e1da89be60802cc8dfeafafa4d37e00f81de8aa7d98a97890251ed0f4622a6e46defe94df9dcd21aed18e1ed66e4271e93110f14482eab7c3dfa16eaaf57bad1
DIST mindustry-bin-144.1.jar 72519307 BLAKE2B b288bd6776996991825d2e3e1ce1129c8ceaf5d42df2f81df17af11e6364a2128832a0e88478a20bc2f5de683255f5f30b98ab50e86ccf4cd0a69d47a603757e SHA512 197ea3b8d284d0f9e495fa7b0bf0806022cff0beda95dd100a326b9dfb41c8fc69467d3807e6e60783baff2d9adceb0c842fe8d8c4fe9b687474a80adf34f454
EBUILD mindustry-bin-126.2.ebuild 736 BLAKE2B 2d791c6a7991632e34b78671e0845cb858f5adb3b8893a84162bda2e1525b00904e4c765b9b5ffee68a00f6a926eb7a7a0430bd1b15b7cbee36340230ee0360f SHA512 3cf45903e4349796a53a23c352863f66c64578dc399feee6d6c051f2a45be1eabaab287e3f2880ce075d813c0dc16ff4f9e46920048bd96814cc574e96e717e3
EBUILD mindustry-bin-135.ebuild 736 BLAKE2B 2d791c6a7991632e34b78671e0845cb858f5adb3b8893a84162bda2e1525b00904e4c765b9b5ffee68a00f6a926eb7a7a0430bd1b15b7cbee36340230ee0360f SHA512 3cf45903e4349796a53a23c352863f66c64578dc399feee6d6c051f2a45be1eabaab287e3f2880ce075d813c0dc16ff4f9e46920048bd96814cc574e96e717e3
EBUILD mindustry-bin-144.1.ebuild 731 BLAKE2B 096f117c07fc353184fa41a353f0b332fae392814ec491ddb675c81b7d837ae5af0493ae4970406005c19d83de7ffd74532495a366b1b79f139e3d22e602c4f4 SHA512 1e59db2d4e884e20bb4eb01ce4e8748c62a8975135856aaeb2baddf6db33049dd288a6a5a23fcf5156ff592e3894f5d2278a9ea0891284f89b36f7e5f99a8780
MISC metadata.xml 358 BLAKE2B 94fe9db4ed7530912271002a4dde6ec3f268ed8d79904900c9e17fd36a15688b122d82481a0ac5ae46fa5737ffc4d49ae7cf6bfd56f5f291fd9a21a18d9b1b5d SHA512 37b6e9fced52b8cfe0cfd49859ade924a51d32ff6816bc3f05c445580ece6e70ce6d0ae59c3ecf8580cdc04e5072089f51f417bc12a14b6d8d4827db04ebcf8c
11 changes: 11 additions & 0 deletions games-strategy/mindustry-bin/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?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>Maciej Barć</name>
</maintainer>
<upstream>
<remote-id type="github">Anuken/Mindustry</remote-id>
</upstream>
</pkgmetadata>
36 changes: 36 additions & 0 deletions games-strategy/mindustry-bin/mindustry-bin-126.2.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

MY_PN="${PN/-bin/}"

inherit wrapper desktop xdg

DESCRIPTION="A sandbox tower defense game"
HOMEPAGE="https://mindustrygame.github.io"
SRC_URI="https://github.com/Anuken/${MY_PN^}/releases/download/v${PV}/${MY_PN^}.jar -> ${P}.jar"

RESTRICT="bindist mirror strip test"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND="
>=virtual/jre-1.7:*
"

S="${DISTDIR}"

src_unpack() {
:
}

src_install() {
insinto "/opt/${PN}"
newins "${P}.jar" "${PN}.jar"

make_wrapper "${PN}" "java -jar /opt/${PN}/${PN}.jar"
# FIXME: don't relay on 3rd party icons
make_desktop_entry "${PN}" "${PN^}" "${MY_PN}" "Game;StrategyGame;"
}
36 changes: 36 additions & 0 deletions games-strategy/mindustry-bin/mindustry-bin-135.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

MY_PN="${PN/-bin/}"

inherit wrapper desktop xdg

DESCRIPTION="A sandbox tower defense game"
HOMEPAGE="https://mindustrygame.github.io"
SRC_URI="https://github.com/Anuken/${MY_PN^}/releases/download/v${PV}/${MY_PN^}.jar -> ${P}.jar"

RESTRICT="bindist mirror strip test"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND="
>=virtual/jre-1.7:*
"

S="${DISTDIR}"

src_unpack() {
:
}

src_install() {
insinto "/opt/${PN}"
newins "${P}.jar" "${PN}.jar"

make_wrapper "${PN}" "java -jar /opt/${PN}/${PN}.jar"
# FIXME: don't relay on 3rd party icons
make_desktop_entry "${PN}" "${PN^}" "${MY_PN}" "Game;StrategyGame;"
}
36 changes: 36 additions & 0 deletions games-strategy/mindustry-bin/mindustry-bin-144.1.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

MY_PN="${PN/-bin/}"

inherit wrapper desktop xdg

DESCRIPTION="A sandbox tower defense game"
HOMEPAGE="https://mindustrygame.github.io"
SRC_URI="https://github.com/Anuken/${MY_PN^}/releases/download/v${PV}/${MY_PN^}.jar -> ${P}.jar"

RESTRICT="bindist mirror strip test"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="*"

RDEPEND="
>=virtual/jre-1.7:*
"

S="${DISTDIR}"

src_unpack() {
:
}

src_install() {
insinto "/opt/${PN}"
newins "${P}.jar" "${PN}.jar"

make_wrapper "${PN}" "java -jar /opt/${PN}/${PN}.jar"
# FIXME: don't relay on 3rd party icons
make_desktop_entry "${PN}" "${PN^}" "${MY_PN}" "Game;StrategyGame;"
}
4 changes: 4 additions & 0 deletions media-gfx/cura-bin/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
DIST Cura-5.2.2.Appimage 234951872 BLAKE2B 4fd634789ca2a7b5655d83866f030cb64d15005d991b84dc211a1f4f3000c5387a186a243377c4c002ea9d06c85251b6315af403716cd0cddff0702e74952544 SHA512 3b3a1b674eb390a53f382c4ae10cc877f471ba7efbabf00330238d53baeb47a1c510c3414811840cb45a438f23fe42b50402c7c78a20d0e77e6cedaa92bdccd6
DIST Cura-5.3.0.Appimage 240215232 BLAKE2B 4459b8863369828a84e7ebeebfea0b3f28d738e86a09b010d693e53a9e1e00a6f04b9fb52f76776d3597f716efa6a3e11ea3d244d3e7e23afe0f42e4b4ea4574 SHA512 1227dcba8ddb81e224f9812c3226f984469e3d0a2cac67a733f8213f50e2debc8731f7b30efc915e97c3df739d2df11c893b2db5e3502289435ccb02d86ae742
EBUILD cura-bin-5.2.2.ebuild 613 BLAKE2B 2f09469cb8068962b5274fa9e47e11ad4abd25ba9ecc71ebcffc3356bf6d29a9c74558536ca8a6af1c4b3f311abcade4eec60216c8a520fe103df91db6a8bd63 SHA512 d493a002129e9f85fb12bae877b91370977dbfdc684f17f6ea51ed2aec28b641d27b51ec9258e23c12f45c64f7f1943d3068fb3a7d9d4d924e5b7b928266255a
EBUILD cura-bin-5.3.0.ebuild 613 BLAKE2B 2f09469cb8068962b5274fa9e47e11ad4abd25ba9ecc71ebcffc3356bf6d29a9c74558536ca8a6af1c4b3f311abcade4eec60216c8a520fe103df91db6a8bd63 SHA512 d493a002129e9f85fb12bae877b91370977dbfdc684f17f6ea51ed2aec28b641d27b51ec9258e23c12f45c64f7f1943d3068fb3a7d9d4d924e5b7b928266255a
29 changes: 29 additions & 0 deletions media-gfx/cura-bin/cura-bin-5.2.2.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Copyright 2020-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8
inherit desktop

MY_PN="Cura-${PV}.Appimage"

DESCRIPTION="Open-source version of Google Chrome web browser"
HOMEPAGE="https://chromium.org/"
SRC_URI="https://github.com/Ultimaker/Cura/releases/download/${PV}/UltiMaker-Cura-${PV}-linux-modern.AppImage -> ${MY_PN}"

LICENSE="GPL-3.0"
SLOT="0"
KEYWORDS="amd64"

RDEPEND="sys-apps/xdg-desktop-portal-gtk"

RESTRICT="binchecks strip"

S=${WORKDIR}

src_install() {
cp ${DISTDIR}/${MY_PN} cura
dobin cura
make_desktop_entry cura Cura cura Graphics
}


29 changes: 29 additions & 0 deletions media-gfx/cura-bin/cura-bin-5.3.0.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Copyright 2020-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8
inherit desktop

MY_PN="Cura-${PV}.Appimage"

DESCRIPTION="Open-source version of Google Chrome web browser"
HOMEPAGE="https://chromium.org/"
SRC_URI="https://github.com/Ultimaker/Cura/releases/download/${PV}/UltiMaker-Cura-${PV}-linux-modern.AppImage -> ${MY_PN}"

LICENSE="GPL-3.0"
SLOT="0"
KEYWORDS="amd64"

RDEPEND="sys-apps/xdg-desktop-portal-gtk"

RESTRICT="binchecks strip"

S=${WORKDIR}

src_install() {
cp ${DISTDIR}/${MY_PN} cura
dobin cura
make_desktop_entry cura Cura cura Graphics
}


1 change: 1 addition & 0 deletions net-nntp/wondershaper/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
EBUILD wondershaper-9999.ebuild 517 BLAKE2B 788362336af3743f4d161119264a15bd7d04d8bdd627e135fba3dac412cb5051ebfa5c6d31655156be2508b62ee1543e64b93c740b5aabe73f3ee02581e82a26 SHA512 cf1ae2c1e285cfd7014d9ab4935261e9c1687d902d22d89f8a3f87b80e2efe3afd0a4952f22f103d765d8675ab8c0eac638b19b3097fc1b4225ec31c42269529
25 changes: 25 additions & 0 deletions net-nntp/wondershaper/wondershaper-9999.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Copyright 2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7
inherit systemd git-r3


DESCRIPTION="Command-line utility for limiting an adapter's bandwidth"
HOMEPAGE="https://github.com/magnific0/wondershaper"
EGIT_REPO_URI="https://github.com/magnific0/${PN}"

LICENSE="GPL-2.0"
SLOT="0"
KEYWORDS="*"
IUSE=""

DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND=""

src_install() {
dobin wondershaper
systemd_dounit wondershaper.service
newconfd wondershaper.conf wondershaper.conf
}