diff options
author | 2023-12-28 15:58:04 +0000 | |
---|---|---|
committer | 2023-12-28 17:24:35 +0000 | |
commit | 9320395a5b936d94aa07cdce8d0d3504307448fc (patch) | |
tree | 346197697152ed5fc1ea01fbc0a7251532321cc1 /games-util | |
parent | app-misc/anki-bin: drop 23.12 (diff) | |
download | guru-9320395a5b936d94aa07cdce8d0d3504307448fc.tar.gz guru-9320395a5b936d94aa07cdce8d0d3504307448fc.tar.bz2 guru-9320395a5b936d94aa07cdce8d0d3504307448fc.zip |
games-util/r2modman-bin: new package, add 3.1.45
Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com>
Diffstat (limited to 'games-util')
-rw-r--r-- | games-util/r2modman-bin/Manifest | 1 | ||||
-rw-r--r-- | games-util/r2modman-bin/files/r2modman-128x128.png | bin | 0 -> 4729 bytes | |||
-rw-r--r-- | games-util/r2modman-bin/files/r2modman-16x16.png | bin | 0 -> 630 bytes | |||
-rw-r--r-- | games-util/r2modman-bin/files/r2modman-192x192.png | bin | 0 -> 7319 bytes | |||
-rw-r--r-- | games-util/r2modman-bin/files/r2modman-24x24.png | bin | 0 -> 949 bytes | |||
-rw-r--r-- | games-util/r2modman-bin/files/r2modman-256x256.png | bin | 0 -> 6690 bytes | |||
-rw-r--r-- | games-util/r2modman-bin/files/r2modman-32x32.png | bin | 0 -> 1262 bytes | |||
-rw-r--r-- | games-util/r2modman-bin/files/r2modman-48x48.png | bin | 0 -> 1837 bytes | |||
-rw-r--r-- | games-util/r2modman-bin/files/r2modman-64x64.png | bin | 0 -> 2439 bytes | |||
-rw-r--r-- | games-util/r2modman-bin/files/r2modman-96x96.png | bin | 0 -> 3607 bytes | |||
-rw-r--r-- | games-util/r2modman-bin/files/r2modman.desktop | 15 | ||||
-rw-r--r-- | games-util/r2modman-bin/metadata.xml | 11 | ||||
-rw-r--r-- | games-util/r2modman-bin/r2modman-bin-3.1.45.ebuild | 46 |
13 files changed, 73 insertions, 0 deletions
diff --git a/games-util/r2modman-bin/Manifest b/games-util/r2modman-bin/Manifest new file mode 100644 index 000000000..4609b7b82 --- /dev/null +++ b/games-util/r2modman-bin/Manifest @@ -0,0 +1 @@ +DIST r2modman-bin-3.1.45.tar.gz 113307930 BLAKE2B 9986a264b1feae0bb3189c866734e193a4cfb674681e6f1b4c3c002a963d784aa02bada90598d386ea0a3a2dbbf1dcc0c838780605e8b9d3f3557648320c4920 SHA512 15703a27066f33f6f3945df06cbbd922e13f8eae018ca6dc94068fee4ecdb492472add5f53bc037fef404c8c10dc15de13e2e0de52338b2d33fd4490ad85ed53 diff --git a/games-util/r2modman-bin/files/r2modman-128x128.png b/games-util/r2modman-bin/files/r2modman-128x128.png Binary files differnew file mode 100644 index 000000000..3d9e99144 --- /dev/null +++ b/games-util/r2modman-bin/files/r2modman-128x128.png diff --git a/games-util/r2modman-bin/files/r2modman-16x16.png b/games-util/r2modman-bin/files/r2modman-16x16.png Binary files differnew file mode 100644 index 000000000..fb9f63ecd --- /dev/null +++ b/games-util/r2modman-bin/files/r2modman-16x16.png diff --git a/games-util/r2modman-bin/files/r2modman-192x192.png b/games-util/r2modman-bin/files/r2modman-192x192.png Binary files differnew file mode 100644 index 000000000..9c937ca8b --- /dev/null +++ b/games-util/r2modman-bin/files/r2modman-192x192.png diff --git a/games-util/r2modman-bin/files/r2modman-24x24.png b/games-util/r2modman-bin/files/r2modman-24x24.png Binary files differnew file mode 100644 index 000000000..57fd82aec --- /dev/null +++ b/games-util/r2modman-bin/files/r2modman-24x24.png diff --git a/games-util/r2modman-bin/files/r2modman-256x256.png b/games-util/r2modman-bin/files/r2modman-256x256.png Binary files differnew file mode 100644 index 000000000..7a00c3a48 --- /dev/null +++ b/games-util/r2modman-bin/files/r2modman-256x256.png diff --git a/games-util/r2modman-bin/files/r2modman-32x32.png b/games-util/r2modman-bin/files/r2modman-32x32.png Binary files differnew file mode 100644 index 000000000..e6bd65cec --- /dev/null +++ b/games-util/r2modman-bin/files/r2modman-32x32.png diff --git a/games-util/r2modman-bin/files/r2modman-48x48.png b/games-util/r2modman-bin/files/r2modman-48x48.png Binary files differnew file mode 100644 index 000000000..8858d5d19 --- /dev/null +++ b/games-util/r2modman-bin/files/r2modman-48x48.png diff --git a/games-util/r2modman-bin/files/r2modman-64x64.png b/games-util/r2modman-bin/files/r2modman-64x64.png Binary files differnew file mode 100644 index 000000000..3b20b0213 --- /dev/null +++ b/games-util/r2modman-bin/files/r2modman-64x64.png diff --git a/games-util/r2modman-bin/files/r2modman-96x96.png b/games-util/r2modman-bin/files/r2modman-96x96.png Binary files differnew file mode 100644 index 000000000..6e3503c04 --- /dev/null +++ b/games-util/r2modman-bin/files/r2modman-96x96.png diff --git a/games-util/r2modman-bin/files/r2modman.desktop b/games-util/r2modman-bin/files/r2modman.desktop new file mode 100644 index 000000000..5ca6a22fc --- /dev/null +++ b/games-util/r2modman-bin/files/r2modman.desktop @@ -0,0 +1,15 @@ +[Desktop Entry] +Comment=A simple and easy to use mod manager for several Unity games using Thunderstore. +Encoding=UTF-8 +Exec=env DESKTOPINTEGRATION=false GDK_BACKEND=x11 /opt/r2modman/r2modman +Icon=r2modman +StartupWMClass=r2modman +Name=r2modman +StartupNotify=true +Terminal=false +Type=Application +Version=pkgversion +X-AppImage-Version=pkgversion +X-KDE-SubstituteUID=false +MimeType=x-scheme-handler/ror2mm; +Categories=Game; diff --git a/games-util/r2modman-bin/metadata.xml b/games-util/r2modman-bin/metadata.xml new file mode 100644 index 000000000..04b876042 --- /dev/null +++ b/games-util/r2modman-bin/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>gonegrier.duarte@gmail.com</email> + <name>Gonçalo Negrier Duarte</name> + </maintainer> + <upstream> + <remote-id type="github">ebkr/r2modmanPlus</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-util/r2modman-bin/r2modman-bin-3.1.45.ebuild b/games-util/r2modman-bin/r2modman-bin-3.1.45.ebuild new file mode 100644 index 000000000..b01fad7c8 --- /dev/null +++ b/games-util/r2modman-bin/r2modman-bin-3.1.45.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +M_PN=r2modman + +inherit desktop xdg +SRC_URI="https://github.com/ebkr/${M_PN}Plus/releases/download/v${PV}/${M_PN}-${PV}.tar.gz -> ${P}.tar.gz" +DESCRIPTION="A simple and easy to use mod manager for several games using Thunderstore" +HOMEPAGE="https://github.com/ebkr/r2modmanPlus" + +LICENSE="GPL-3" +SLOT="0" + +KEYWORDS="~amd64 ~x86" + +S="${WORKDIR}/${M_PN}-${PV}" + +src_install() { + ## Install binaries file + cp -r "${S}" "${WORKDIR}/${M_PN}" #Fix folder name + insinto /opt + doins -r "${WORKDIR}/${M_PN}" + fperms 755 "/opt/${M_PN}/r2modman" + + ## Install desktop and icon file + # Copy and fix version on desktop file version + domenu "${FILESDIR}/${M_PN}".desktop + sed -i 's/Version=pkgversion/Version='${PV}'/g' "${D}/usr/share/applications/${M_PN}".desktop + sed -i 's/X-AppImage-Version=pkgversion/X-AppImage-Version='${PV}'/g' "${D}/usr/share/applications/${M_PN}".desktop + + # Install icons + newicon -s 16 "${FILESDIR}/${M_PN}"-16x16.png "${M_PN}".png + newicon -s 32 "${FILESDIR}/${M_PN}"-32x32.png "${M_PN}".png + newicon -s 48 "${FILESDIR}/${M_PN}"-48x48.png "${M_PN}".png + newicon -s 64 "${FILESDIR}/${M_PN}"-64x64.png "${M_PN}".png + newicon -s 96 "${FILESDIR}/${M_PN}"-96x96.png "${M_PN}".png + newicon -s 128 "${FILESDIR}/${M_PN}"-128x128.png "${M_PN}".png + newicon -s 192 "${FILESDIR}/${M_PN}"-192x192.png "${M_PN}".png + newicon -s 256 "${FILESDIR}/${M_PN}"-256x256.png "${M_PN}".png +} + +pkg_postinst() { + xdg_desktop_database_update +} |