public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: games-util/r2modman-bin/files/, games-util/r2modman-bin/
@ 2023-12-28 17:24 Gonçalo Negrier Duarte
  0 siblings, 0 replies; 2+ messages in thread
From: Gonçalo Negrier Duarte @ 2023-12-28 17:24 UTC (permalink / raw
  To: gentoo-commits

commit:     9320395a5b936d94aa07cdce8d0d3504307448fc
Author:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
AuthorDate: Thu Dec 28 15:58:04 2023 +0000
Commit:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
CommitDate: Thu Dec 28 17:24:35 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9320395a

games-util/r2modman-bin: new package, add 3.1.45

Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail.com>

 games-util/r2modman-bin/Manifest                   |   1 +
 games-util/r2modman-bin/files/r2modman-128x128.png | Bin 0 -> 4729 bytes
 games-util/r2modman-bin/files/r2modman-16x16.png   | Bin 0 -> 630 bytes
 games-util/r2modman-bin/files/r2modman-192x192.png | Bin 0 -> 7319 bytes
 games-util/r2modman-bin/files/r2modman-24x24.png   | Bin 0 -> 949 bytes
 games-util/r2modman-bin/files/r2modman-256x256.png | Bin 0 -> 6690 bytes
 games-util/r2modman-bin/files/r2modman-32x32.png   | Bin 0 -> 1262 bytes
 games-util/r2modman-bin/files/r2modman-48x48.png   | Bin 0 -> 1837 bytes
 games-util/r2modman-bin/files/r2modman-64x64.png   | Bin 0 -> 2439 bytes
 games-util/r2modman-bin/files/r2modman-96x96.png   | Bin 0 -> 3607 bytes
 games-util/r2modman-bin/files/r2modman.desktop     |  15 +++++++
 games-util/r2modman-bin/metadata.xml               |  11 +++++
 games-util/r2modman-bin/r2modman-bin-3.1.45.ebuild |  46 +++++++++++++++++++++
 13 files changed, 73 insertions(+)

diff --git a/games-util/r2modman-bin/Manifest b/games-util/r2modman-bin/Manifest
new file mode 100644
index 0000000000..4609b7b82d
--- /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
new file mode 100644
index 0000000000..3d9e99144c
Binary files /dev/null and b/games-util/r2modman-bin/files/r2modman-128x128.png differ

diff --git a/games-util/r2modman-bin/files/r2modman-16x16.png b/games-util/r2modman-bin/files/r2modman-16x16.png
new file mode 100644
index 0000000000..fb9f63ecdc
Binary files /dev/null and b/games-util/r2modman-bin/files/r2modman-16x16.png differ

diff --git a/games-util/r2modman-bin/files/r2modman-192x192.png b/games-util/r2modman-bin/files/r2modman-192x192.png
new file mode 100644
index 0000000000..9c937ca8bc
Binary files /dev/null and b/games-util/r2modman-bin/files/r2modman-192x192.png differ

diff --git a/games-util/r2modman-bin/files/r2modman-24x24.png b/games-util/r2modman-bin/files/r2modman-24x24.png
new file mode 100644
index 0000000000..57fd82aec7
Binary files /dev/null and b/games-util/r2modman-bin/files/r2modman-24x24.png differ

diff --git a/games-util/r2modman-bin/files/r2modman-256x256.png b/games-util/r2modman-bin/files/r2modman-256x256.png
new file mode 100644
index 0000000000..7a00c3a48f
Binary files /dev/null and b/games-util/r2modman-bin/files/r2modman-256x256.png differ

diff --git a/games-util/r2modman-bin/files/r2modman-32x32.png b/games-util/r2modman-bin/files/r2modman-32x32.png
new file mode 100644
index 0000000000..e6bd65cec8
Binary files /dev/null and b/games-util/r2modman-bin/files/r2modman-32x32.png differ

diff --git a/games-util/r2modman-bin/files/r2modman-48x48.png b/games-util/r2modman-bin/files/r2modman-48x48.png
new file mode 100644
index 0000000000..8858d5d198
Binary files /dev/null and b/games-util/r2modman-bin/files/r2modman-48x48.png differ

diff --git a/games-util/r2modman-bin/files/r2modman-64x64.png b/games-util/r2modman-bin/files/r2modman-64x64.png
new file mode 100644
index 0000000000..3b20b02132
Binary files /dev/null and b/games-util/r2modman-bin/files/r2modman-64x64.png differ

diff --git a/games-util/r2modman-bin/files/r2modman-96x96.png b/games-util/r2modman-bin/files/r2modman-96x96.png
new file mode 100644
index 0000000000..6e3503c04f
Binary files /dev/null and b/games-util/r2modman-bin/files/r2modman-96x96.png differ

diff --git a/games-util/r2modman-bin/files/r2modman.desktop b/games-util/r2modman-bin/files/r2modman.desktop
new file mode 100644
index 0000000000..5ca6a22fc0
--- /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 0000000000..04b8760425
--- /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 0000000000..b01fad7c8a
--- /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
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: games-util/r2modman-bin/files/, games-util/r2modman-bin/
@ 2023-12-28 19:03 Gonçalo Negrier Duarte
  0 siblings, 0 replies; 2+ messages in thread
From: Gonçalo Negrier Duarte @ 2023-12-28 19:03 UTC (permalink / raw
  To: gentoo-commits

commit:     c99ffc0cfac71ea43f6159a48b15e0218d97dfe5
Author:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
AuthorDate: Thu Dec 28 19:01:58 2023 +0000
Commit:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
CommitDate: Thu Dec 28 19:02:40 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c99ffc0c

games-util/r2modman-bin: update SRC_URI
* get icons from repo instead

Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail.com>

 games-util/r2modman-bin/Manifest                   |   8 ++++++
 games-util/r2modman-bin/files/r2modman-128x128.png | Bin 4729 -> 0 bytes
 games-util/r2modman-bin/files/r2modman-16x16.png   | Bin 630 -> 0 bytes
 games-util/r2modman-bin/files/r2modman-192x192.png | Bin 7319 -> 0 bytes
 games-util/r2modman-bin/files/r2modman-24x24.png   | Bin 949 -> 0 bytes
 games-util/r2modman-bin/files/r2modman-256x256.png | Bin 6690 -> 0 bytes
 games-util/r2modman-bin/files/r2modman-32x32.png   | Bin 1262 -> 0 bytes
 games-util/r2modman-bin/files/r2modman-48x48.png   | Bin 1837 -> 0 bytes
 games-util/r2modman-bin/files/r2modman-64x64.png   | Bin 2439 -> 0 bytes
 games-util/r2modman-bin/files/r2modman-96x96.png   | Bin 3607 -> 0 bytes
 games-util/r2modman-bin/r2modman-bin-3.1.45.ebuild |  28 ++++++++++++++-------
 11 files changed, 27 insertions(+), 9 deletions(-)

diff --git a/games-util/r2modman-bin/Manifest b/games-util/r2modman-bin/Manifest
index 4609b7b82d..197d284eb7 100644
--- a/games-util/r2modman-bin/Manifest
+++ b/games-util/r2modman-bin/Manifest
@@ -1 +1,9 @@
+DIST r2modman-128x128.png 4729 BLAKE2B bf7050ad2f512634331f4fd993a19f985835d6f63a0afe51b8e66bc205edf7401faccd03ada8cc898cee099d6a31c7086252425755acc6129dad101bbdb1fe7e SHA512 8dd26f80dd682c8be63af237062337c43e99fdc70497056aa709d37a106ef49862e3017348b6facd65eb480696c628c575e3aecb1ff054523bee119d4db63ab9
+DIST r2modman-16x16.png 630 BLAKE2B babe2fd2e48f18b5584fcfba4453b4cfee3c45c81ff4c54058d20752e392d1f09c0df5d111ec9f8daae871fd9ec322a64ee2a0a236abfd478364aa833c71a954 SHA512 e89f06ab89ffec2899c49115329ae43c6a12338bbc15c8e786d66287fd224e2d478f70076878591b4ea5f3c18dd6779011ab21bd64d3bd2b697ca933e4081fc9
+DIST r2modman-192x192.png 7319 BLAKE2B 378899c12ce58942539c354b652a302d1fd3c91387e2645892b161f035cef8396f0d92c753918d945112a96da5daa4ccfbed2144fc7edfbdf56ba7e72121c6c0 SHA512 c6392c415034c61545f401287a4b445a116211edefb5f55e5cf5ccfaf6ca5f9be535a5b8bd781ddeeed44e7097e774cc8c2f294ba5a4713ab506b037e99dd212
+DIST r2modman-256x256.png 6690 BLAKE2B c0e62dc9d3bc7b261751a46e1fef35d2b6cf0ca06ee6c5b6f6ed61c3fe91e9f82b9d67a7641cf40f5724f5a0b6f109e370c9d2330728be3ff35ccc0a3b2f0f90 SHA512 bc67772e00d404816ab5d737b7d5dfbd093f1f457ca72863356dd5a3da8625535e7ed3f724275bc74356073f9d35b3b56bc392479561e33c8cc63a583762f2a1
+DIST r2modman-32x32.png 1262 BLAKE2B 76f1205935009b55afe63812ef8bb2b9a3a307c16343359c5a15de70745f587f50834dba73cf98b06b9d2a11ec3e1b58617168ce67a19b9e13d5a19aac65af66 SHA512 9778da7bd19d569fe65f4f44984bf1213f8161013f9820be577154559a8dfff4cc165d494e303d4f6595f9eafd2d502a1088e522cbba4993aaaa58ebac3bf29d
+DIST r2modman-48x48.png 1837 BLAKE2B 5956f438170d3ba3d30ebc7d7cf57b21d5b7d3ee7552b7beb51a59ac4619dc1b721a57a18b7798c64f35238dcd23ffeabfb12bafde02b45a67126236b5755325 SHA512 265bc260f4eefb2fc7b0e770999b5932b84200d76b5ca2afa97f5d5b446dab5dfa0a744e0585ccbef93703441300817c61159f9adff420784bfad95ae3557947
+DIST r2modman-64x64.png 2439 BLAKE2B 2d44448882fb73db2b503cf41593531e856b3b2280a79fc0c8722338c25d4b92dd8fb7d21aa37a544156edf96185cc46ca53eb653a8e1d904c3531470f27d1ef SHA512 0f8bee1b874531e57889889d0f230d91a1a3c0a2f158b40d3d12c6f1891bd9982f850b69ea6cdcafe878df58b3e36c00c80c0ff9457584d6f1e14564afc2541c
+DIST r2modman-96x96.png 3607 BLAKE2B 1e86a115e2f90ea3a39e3f2dfb61036b47f20c67897bbc268c512910433f04ee3dac505b0dd4f97f07ca11568e65df4c58b497fc9eef04ea3597665e56656cc1 SHA512 5ca72dc1069660f7deb92e7046f56e2ac216b8e3bce77fb68b67e0f8d79849ce3521ea0afff5702726c4f709a9d006e5d90ec8aab8b26782b57e2564f3fba231
 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
deleted file mode 100644
index 3d9e99144c..0000000000
Binary files a/games-util/r2modman-bin/files/r2modman-128x128.png and /dev/null differ

diff --git a/games-util/r2modman-bin/files/r2modman-16x16.png b/games-util/r2modman-bin/files/r2modman-16x16.png
deleted file mode 100644
index fb9f63ecdc..0000000000
Binary files a/games-util/r2modman-bin/files/r2modman-16x16.png and /dev/null differ

diff --git a/games-util/r2modman-bin/files/r2modman-192x192.png b/games-util/r2modman-bin/files/r2modman-192x192.png
deleted file mode 100644
index 9c937ca8bc..0000000000
Binary files a/games-util/r2modman-bin/files/r2modman-192x192.png and /dev/null differ

diff --git a/games-util/r2modman-bin/files/r2modman-24x24.png b/games-util/r2modman-bin/files/r2modman-24x24.png
deleted file mode 100644
index 57fd82aec7..0000000000
Binary files a/games-util/r2modman-bin/files/r2modman-24x24.png and /dev/null differ

diff --git a/games-util/r2modman-bin/files/r2modman-256x256.png b/games-util/r2modman-bin/files/r2modman-256x256.png
deleted file mode 100644
index 7a00c3a48f..0000000000
Binary files a/games-util/r2modman-bin/files/r2modman-256x256.png and /dev/null differ

diff --git a/games-util/r2modman-bin/files/r2modman-32x32.png b/games-util/r2modman-bin/files/r2modman-32x32.png
deleted file mode 100644
index e6bd65cec8..0000000000
Binary files a/games-util/r2modman-bin/files/r2modman-32x32.png and /dev/null differ

diff --git a/games-util/r2modman-bin/files/r2modman-48x48.png b/games-util/r2modman-bin/files/r2modman-48x48.png
deleted file mode 100644
index 8858d5d198..0000000000
Binary files a/games-util/r2modman-bin/files/r2modman-48x48.png and /dev/null differ

diff --git a/games-util/r2modman-bin/files/r2modman-64x64.png b/games-util/r2modman-bin/files/r2modman-64x64.png
deleted file mode 100644
index 3b20b02132..0000000000
Binary files a/games-util/r2modman-bin/files/r2modman-64x64.png and /dev/null differ

diff --git a/games-util/r2modman-bin/files/r2modman-96x96.png b/games-util/r2modman-bin/files/r2modman-96x96.png
deleted file mode 100644
index 6e3503c04f..0000000000
Binary files a/games-util/r2modman-bin/files/r2modman-96x96.png and /dev/null differ

diff --git a/games-util/r2modman-bin/r2modman-bin-3.1.45.ebuild b/games-util/r2modman-bin/r2modman-bin-3.1.45.ebuild
index 5d99b06713..0ed315fd7a 100644
--- a/games-util/r2modman-bin/r2modman-bin-3.1.45.ebuild
+++ b/games-util/r2modman-bin/r2modman-bin-3.1.45.ebuild
@@ -7,7 +7,17 @@ M_PN=r2modman
 M_PK=${PN::-3}
 
 inherit desktop xdg
-SRC_URI="https://github.com/ebkr/${M_PN}Plus/releases/download/v${PV}/${M_PN}-${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="
+	https://github.com/ebkr/${M_PN}Plus/releases/download/v${PV}/${M_PN}-${PV}.tar.gz -> ${P}.tar.gz
+	https://raw.githubusercontent.com/ebkr/r2modmanPlus/v3.1.45/src/assets/icon/16x16.png -> "${M_PN}"-16x16.png
+	https://raw.githubusercontent.com/ebkr/r2modmanPlus/v3.1.45/src/assets/icon/32x32.png -> "${M_PN}"-32x32.png
+	https://raw.githubusercontent.com/ebkr/r2modmanPlus/v3.1.45/src/assets/icon/48x48.png -> "${M_PN}"-48x48.png
+	https://raw.githubusercontent.com/ebkr/r2modmanPlus/v3.1.45/src/assets/icon/64x64.png -> "${M_PN}"-64x64.png
+	https://raw.githubusercontent.com/ebkr/r2modmanPlus/v3.1.45/src/assets/icon/96x96.png -> "${M_PN}"-96x96.png
+	https://raw.githubusercontent.com/ebkr/r2modmanPlus/v3.1.45/src/assets/icon/128x128.png -> "${M_PN}"-128x128.png
+	https://raw.githubusercontent.com/ebkr/r2modmanPlus/v3.1.45/src/assets/icon/192x192.png -> "${M_PN}"-192x192.png
+	https://raw.githubusercontent.com/ebkr/r2modmanPlus/v3.1.45/src/assets/icon/256x256.png -> "${M_PN}"-256x256.png
+"
 DESCRIPTION="A simple and easy to use mod manager for several games using Thunderstore"
 HOMEPAGE="https://github.com/ebkr/r2modmanPlus"
 
@@ -29,14 +39,14 @@ src_install() {
 	domenu "${FILESDIR}/${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
+	newicon -s 16 "${DISTDIR}/${M_PN}"-16x16.png "${M_PN}".png
+	newicon -s 32 "${DISTDIR}/${M_PN}"-32x32.png "${M_PN}".png
+	newicon -s 48 "${DISTDIR}/${M_PN}"-48x48.png "${M_PN}".png
+	newicon -s 64 "${DISTDIR}/${M_PN}"-64x64.png "${M_PN}".png
+	newicon -s 96 "${DISTDIR}/${M_PN}"-96x96.png "${M_PN}".png
+	newicon -s 128 "${DISTDIR}/${M_PN}"-128x128.png "${M_PN}".png
+	newicon -s 192 "${DISTDIR}/${M_PN}"-192x192.png "${M_PN}".png
+	newicon -s 256 "${DISTDIR}/${M_PN}"-256x256.png "${M_PN}".png
 }
 
 pkg_postinst() {


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-12-28 19:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-28 19:03 [gentoo-commits] repo/proj/guru:dev commit in: games-util/r2modman-bin/files/, games-util/r2modman-bin/ Gonçalo Negrier Duarte
  -- strict thread matches above, loose matches on Subject: below --
2023-12-28 17:24 Gonçalo Negrier Duarte

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox