public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:master commit in: games-util/ProtonUp-Qt/, games-util/ProtonUp-Qt/files/
@ 2023-07-08  2:43 Haelwenn Monnier
  0 siblings, 0 replies; 3+ messages in thread
From: Haelwenn Monnier @ 2023-07-08  2:43 UTC (permalink / raw
  To: gentoo-commits

commit:     b2787cc7e2997ee022813432ed8cea694d67ef7a
Author:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
AuthorDate: Fri Jul  7 17:04:42 2023 +0000
Commit:     Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Fri Jul  7 17:04:42 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b2787cc7

games-util/ProtonUp-Qt: new package, add 2.8.1, 9999

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

 games-util/ProtonUp-Qt/Manifest                  |  1 +
 games-util/ProtonUp-Qt/ProtonUp-Qt-2.8.1.ebuild  | 34 ++++++++++++++++++++++++
 games-util/ProtonUp-Qt/ProtonUp-Qt-9999.ebuild   | 32 ++++++++++++++++++++++
 games-util/ProtonUp-Qt/files/ProtonUp-Qt         |  2 ++
 games-util/ProtonUp-Qt/files/ProtonUp-Qt.desktop | 12 +++++++++
 games-util/ProtonUp-Qt/metadata.xml              |  7 +++++
 6 files changed, 88 insertions(+)

diff --git a/games-util/ProtonUp-Qt/Manifest b/games-util/ProtonUp-Qt/Manifest
new file mode 100644
index 000000000..2d8155143
--- /dev/null
+++ b/games-util/ProtonUp-Qt/Manifest
@@ -0,0 +1 @@
+DIST v2.8.1.tar.gz 753488 BLAKE2B 878bdf08d1098dbd3b2a5ae52bea347f23930fa20d356faf4bc0c74a79acc25fd22ea408bf81b1fe7f57a5266b6cdf56ae8729324dcdb27b291dae676d4c7c76 SHA512 2e1426b61c5c6f1bfc9814795ac4f0c0170235e43252403bb4b2ab4422d6b493c8c6c920ddace4dcbaee6379f747fc9953c8b7222e770541f694ad0f5be6e508

diff --git a/games-util/ProtonUp-Qt/ProtonUp-Qt-2.8.1.ebuild b/games-util/ProtonUp-Qt/ProtonUp-Qt-2.8.1.ebuild
new file mode 100644
index 000000000..86c1a0cf1
--- /dev/null
+++ b/games-util/ProtonUp-Qt/ProtonUp-Qt-2.8.1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop
+SRC_URI="https://github.com/DavidoTek/ProtonUp-Qt/archive/refs/tags/v${PV}.tar.gz"
+DESCRIPTION="Install and manage GE-Proton, Luxtorpeda & more for Steam and Wine-GE & more for Lutris with this graphical user interface."
+HOMEPAGE="https://davidotek.github.io/protonup-qt"
+
+LICENSE="GPL-3"
+SLOT="0"
+
+DEPEND="dev-python/steam
+        dev-python/requests
+        dev-python/pyside6[designer(+)]
+        dev-python/PyQt6
+        dev-python/vdf
+        dev-python/pyxdg
+        dev-python/pyaml
+        dev-python/zstandard
+"
+
+KEYWORDS="~amd64 ~x86"
+
+src_install() {
+    insinto /opt/ProtonUp-Qt && doins -r "${WORKDIR}/${P}/pupgui2" && doins -r "${WORKDIR}/${P}/pupgui2"
+
+    insinto /opt/bin/ && doins "${FILESDIR}/ProtonUp-Qt"
+    fperms +x /opt/bin/ProtonUp-Qt
+
+    domenu "${FILESDIR}/ProtonUp-Qt.desktop"
+    newicon "${WORKDIR}/${P}/share/icons/hicolor/64x64/apps/net.davidotek.pupgui2.png" ProtonUp-Qt.png
+}
\ No newline at end of file

diff --git a/games-util/ProtonUp-Qt/ProtonUp-Qt-9999.ebuild b/games-util/ProtonUp-Qt/ProtonUp-Qt-9999.ebuild
new file mode 100644
index 000000000..b4d5a4aa9
--- /dev/null
+++ b/games-util/ProtonUp-Qt/ProtonUp-Qt-9999.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit git-r3 qmake-utils desktop
+EGIT_REPO_URI="https://github.com/DavidoTek/ProtonUp-Qt.git"
+DESCRIPTION="Install and manage GE-Proton, Luxtorpeda & more for Steam and Wine-GE & more for Lutris with this graphical user interface."
+HOMEPAGE="https://davidotek.github.io/protonup-qt"
+
+LICENSE="GPL-3"
+SLOT="0"
+
+DEPEND="dev-python/steam
+        dev-python/requests
+        dev-python/pyside6[designer(+)]
+        dev-python/PyQt6
+        dev-python/vdf
+        dev-python/pyxdg
+        dev-python/pyaml
+        dev-python/zstandard
+"
+
+src_install() {
+    insinto /opt/ProtonUp-Qt && doins -r "${WORKDIR}/${P}/pupgui2" && doins -r "${WORKDIR}/${P}/pupgui2"
+
+    insinto /opt/bin/ && doins "${FILESDIR}/ProtonUp-Qt"
+    fperms +x /opt/bin/ProtonUp-Qt
+
+    domenu "${FILESDIR}/ProtonUp-Qt.desktop"
+    newicon "${WORKDIR}/${P}/share/icons/hicolor/64x64/apps/net.davidotek.pupgui2.png" ProtonUp-Qt.png
+}
\ No newline at end of file

diff --git a/games-util/ProtonUp-Qt/files/ProtonUp-Qt b/games-util/ProtonUp-Qt/files/ProtonUp-Qt
new file mode 100644
index 000000000..12a274a03
--- /dev/null
+++ b/games-util/ProtonUp-Qt/files/ProtonUp-Qt
@@ -0,0 +1,2 @@
+#!/bin/sh
+cd /opt/ProtonUp-Qt &&  python3 -m  pupgui2
\ No newline at end of file

diff --git a/games-util/ProtonUp-Qt/files/ProtonUp-Qt.desktop b/games-util/ProtonUp-Qt/files/ProtonUp-Qt.desktop
new file mode 100644
index 000000000..6e23b5725
--- /dev/null
+++ b/games-util/ProtonUp-Qt/files/ProtonUp-Qt.desktop
@@ -0,0 +1,12 @@
+[Desktop Entry]
+Name=ProtonUp-Qt
+Exec=sh -c "cd /opt/ProtonUp-Qt &&  python3 -m  pupgui2"
+Type=Application
+Comment=Install Wine and Proton-based Compatibility Tools
+Comment[de]=Wine und Proton Kompatibilitätstools installieren
+Comment[it]=Installa tool di compatibilità basati su Wine e Proton
+Comment[nl]=Installeer op Wine en Proton gebaseerde compatibiliteitshulpmiddelen
+Comment[pl]=Zainstaluj narzędzia kompatybilności oparte na Wine i Protonie
+Terminal=false
+Icon=ProtonUp-Qt
+Categories=Game;Utility;
\ No newline at end of file

diff --git a/games-util/ProtonUp-Qt/metadata.xml b/games-util/ProtonUp-Qt/metadata.xml
new file mode 100644
index 000000000..b981f65b5
--- /dev/null
+++ b/games-util/ProtonUp-Qt/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<upstream>
+		<remote-id type="github">DavidoTek/ProtonUp-Qt</remote-id>
+	</upstream>
+</pkgmetadata>


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

* [gentoo-commits] repo/proj/guru:master commit in: games-util/ProtonUp-Qt/, games-util/ProtonUp-Qt/files/
@ 2023-07-08  2:43 Haelwenn Monnier
  0 siblings, 0 replies; 3+ messages in thread
From: Haelwenn Monnier @ 2023-07-08  2:43 UTC (permalink / raw
  To: gentoo-commits

commit:     4570068cbf965d74747fb609d66057a02b88ba08
Author:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
AuthorDate: Fri Jul  7 21:26:03 2023 +0000
Commit:     Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Fri Jul  7 22:47:12 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4570068c

games-util/ProtonUp-Qt: remake ebuilds (now use python setuptools)

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

 games-util/ProtonUp-Qt/ProtonUp-Qt-2.8.1.ebuild  | 30 +++++++++++++++++-------
 games-util/ProtonUp-Qt/ProtonUp-Qt-9999.ebuild   | 27 ++++++++++++++-------
 games-util/ProtonUp-Qt/files/ProtonUp-Qt         |  5 ++--
 games-util/ProtonUp-Qt/files/ProtonUp-Qt.desktop |  2 +-
 4 files changed, 45 insertions(+), 19 deletions(-)

diff --git a/games-util/ProtonUp-Qt/ProtonUp-Qt-2.8.1.ebuild b/games-util/ProtonUp-Qt/ProtonUp-Qt-2.8.1.ebuild
index 99c19bbfd..3d9579406 100644
--- a/games-util/ProtonUp-Qt/ProtonUp-Qt-2.8.1.ebuild
+++ b/games-util/ProtonUp-Qt/ProtonUp-Qt-2.8.1.ebuild
@@ -2,8 +2,15 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
+_app_id=net.davidotek.pupgui2
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..12} )
+
+EPYTHON=python3
+
+inherit distutils-r1 desktop
 
-inherit desktop
 SRC_URI="https://github.com/DavidoTek/ProtonUp-Qt/archive/refs/tags/v${PV}.tar.gz"
 DESCRIPTION="Install and manage GE-Proton, Luxtorpeda & more for Steam and Wine-GE & more for Lutris with this graphical user interface."
 HOMEPAGE="https://davidotek.github.io/protonup-qt"
@@ -19,16 +26,23 @@ DEPEND="dev-python/steam
         dev-python/pyxdg
         dev-python/pyaml
         dev-python/zstandard
+        dev-util/desktop-file-utils
+        dev-libs/appstream-glib
 "
 
 KEYWORDS="~amd64"
 
-src_install() {
-    insinto /opt/ProtonUp-Qt && doins -r "${WORKDIR}/${P}/pupgui2" && doins -r "${WORKDIR}/${P}/pupgui2"
-
-    insinto /opt/bin/ && doins "${FILESDIR}/ProtonUp-Qt"
-    fperms +x /opt/bin/ProtonUp-Qt
+src_compile() {
+    appstream-util validate-relax --nonet "share/metainfo/$_app_id.appdata.xml"
+    desktop-file-validate "share/applications/$_app_id.desktop"
+	distutils-r1_src_compile
+}
 
+src_install() {
+	distutils-r1_src_install
     domenu "${FILESDIR}/ProtonUp-Qt.desktop"
-    newicon "${WORKDIR}/${P}/share/icons/hicolor/64x64/apps/net.davidotek.pupgui2.png" ProtonUp-Qt.png
-}
\ No newline at end of file
+    dobin  "${FILESDIR}/ProtonUp-Qt"
+    newicon -s 64 "${WORKDIR}/${P}/share/icons/hicolor/64x64/apps/net.davidotek.pupgui2.png" ProtonUp-Qt.png
+    newicon -s 128 "${WORKDIR}/${P}/share/icons/hicolor/128x128/apps/net.davidotek.pupgui2.png" ProtonUp-Qt.png
+    newicon -s 256 "${WORKDIR}/${P}/share/icons/hicolor/256x256/apps/net.davidotek.pupgui2.png" ProtonUp-Qt.png
+}

diff --git a/games-util/ProtonUp-Qt/ProtonUp-Qt-9999.ebuild b/games-util/ProtonUp-Qt/ProtonUp-Qt-9999.ebuild
index b4d5a4aa9..f25c104cc 100644
--- a/games-util/ProtonUp-Qt/ProtonUp-Qt-9999.ebuild
+++ b/games-util/ProtonUp-Qt/ProtonUp-Qt-9999.ebuild
@@ -2,8 +2,14 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
+_app_id=net.davidotek.pupgui2
 
-inherit git-r3 qmake-utils desktop
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..12} )
+
+EPYTHON=python3
+
+inherit git-r3 distutils-r1 desktop
 EGIT_REPO_URI="https://github.com/DavidoTek/ProtonUp-Qt.git"
 DESCRIPTION="Install and manage GE-Proton, Luxtorpeda & more for Steam and Wine-GE & more for Lutris with this graphical user interface."
 HOMEPAGE="https://davidotek.github.io/protonup-qt"
@@ -21,12 +27,17 @@ DEPEND="dev-python/steam
         dev-python/zstandard
 "
 
-src_install() {
-    insinto /opt/ProtonUp-Qt && doins -r "${WORKDIR}/${P}/pupgui2" && doins -r "${WORKDIR}/${P}/pupgui2"
-
-    insinto /opt/bin/ && doins "${FILESDIR}/ProtonUp-Qt"
-    fperms +x /opt/bin/ProtonUp-Qt
+src_compile() {
+    appstream-util validate-relax --nonet "share/metainfo/$_app_id.appdata.xml"
+    desktop-file-validate "share/applications/$_app_id.desktop"
+	distutils-r1_src_compile
+}
 
+src_install() {
+	distutils-r1_src_install
     domenu "${FILESDIR}/ProtonUp-Qt.desktop"
-    newicon "${WORKDIR}/${P}/share/icons/hicolor/64x64/apps/net.davidotek.pupgui2.png" ProtonUp-Qt.png
-}
\ No newline at end of file
+    dobin  "${FILESDIR}/ProtonUp-Qt"
+    newicon -s 64 "${WORKDIR}/${P}/share/icons/hicolor/64x64/apps/net.davidotek.pupgui2.png" ProtonUp-Qt.png
+    newicon -s 128 "${WORKDIR}/${P}/share/icons/hicolor/128x128/apps/net.davidotek.pupgui2.png" ProtonUp-Qt.png
+    newicon -s 256 "${WORKDIR}/${P}/share/icons/hicolor/256x256/apps/net.davidotek.pupgui2.png" ProtonUp-Qt.png
+}

diff --git a/games-util/ProtonUp-Qt/files/ProtonUp-Qt b/games-util/ProtonUp-Qt/files/ProtonUp-Qt
index 12a274a03..f2b298357 100644
--- a/games-util/ProtonUp-Qt/files/ProtonUp-Qt
+++ b/games-util/ProtonUp-Qt/files/ProtonUp-Qt
@@ -1,2 +1,3 @@
-#!/bin/sh
-cd /opt/ProtonUp-Qt &&  python3 -m  pupgui2
\ No newline at end of file
+#!/bin/bash
+
+/usr/bin/python -m pupgui2 "$@"
\ No newline at end of file

diff --git a/games-util/ProtonUp-Qt/files/ProtonUp-Qt.desktop b/games-util/ProtonUp-Qt/files/ProtonUp-Qt.desktop
index 6e23b5725..812107139 100644
--- a/games-util/ProtonUp-Qt/files/ProtonUp-Qt.desktop
+++ b/games-util/ProtonUp-Qt/files/ProtonUp-Qt.desktop
@@ -1,6 +1,6 @@
 [Desktop Entry]
 Name=ProtonUp-Qt
-Exec=sh -c "cd /opt/ProtonUp-Qt &&  python3 -m  pupgui2"
+Exec=/usr/bin/ProtonUp-Qt
 Type=Application
 Comment=Install Wine and Proton-based Compatibility Tools
 Comment[de]=Wine und Proton Kompatibilitätstools installieren


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

* [gentoo-commits] repo/proj/guru:master commit in: games-util/ProtonUp-Qt/, games-util/ProtonUp-Qt/files/
@ 2025-01-14 13:21 Julien Roy
  0 siblings, 0 replies; 3+ messages in thread
From: Julien Roy @ 2025-01-14 13:21 UTC (permalink / raw
  To: gentoo-commits

commit:     5c982167249a069ab2bd23bbe31b8f62b15e24a2
Author:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Tue Jan 14 11:44:03 2025 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Tue Jan 14 11:47:15 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5c982167

games-util/ProtonUp-Qt: drop 2.9.2

Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>

 games-util/ProtonUp-Qt/Manifest                  |  1 -
 games-util/ProtonUp-Qt/ProtonUp-Qt-2.9.2.ebuild  | 53 ------------------------
 games-util/ProtonUp-Qt/files/ProtonUp-Qt         |  3 --
 games-util/ProtonUp-Qt/files/ProtonUp-Qt.desktop | 12 ------
 4 files changed, 69 deletions(-)

diff --git a/games-util/ProtonUp-Qt/Manifest b/games-util/ProtonUp-Qt/Manifest
index 2f20823f8..02521d180 100644
--- a/games-util/ProtonUp-Qt/Manifest
+++ b/games-util/ProtonUp-Qt/Manifest
@@ -1,2 +1 @@
 DIST ProtonUp-Qt-2.11.1.tar.gz 944076 BLAKE2B bf2c1bd63e81b8fef15e78132b652e9b2ea44fe837ebaccd5eb12a719ef8199f013865f92dcf57e40bf5464f39d6fe7d69dc4e7eb4c5f9edc4d59d4fcace3087 SHA512 b839880656e8957c1b7d5d99a68b2809e208308ceb45df907e04bd1bd0ee24f695f79b3c7ba7c3ed12b9ed7e8106aed68afb361ff81181a556000c5717b25de7
-DIST ProtonUp-Qt-2.9.2.tar.gz 915872 BLAKE2B a644c2b29b45cf925a9692c6f0e244d9bc1f22b74ab588f328bc0c2f8e2b07a9ca31e0e61bfde33aa24745e95d13f32e05308a22a4d393adaf888390c72e1095 SHA512 27c31c9b2e41f27deb71ca6c2a6d566ccd82fb0c8496b376ebb515239922425e15dd09b7582daf0a2da6e60dacbe22eab0854c96f4d1f665df840541d2bbfed7

diff --git a/games-util/ProtonUp-Qt/ProtonUp-Qt-2.9.2.ebuild b/games-util/ProtonUp-Qt/ProtonUp-Qt-2.9.2.ebuild
deleted file mode 100644
index 28faa3832..000000000
--- a/games-util/ProtonUp-Qt/ProtonUp-Qt-2.9.2.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=(python3_{9..12})
-
-EPYTHON=python3
-
-inherit distutils-r1 desktop xdg-utils
-
-_app_id=net.davidotek.pupgui2
-
-DESCRIPTION="Install and manage GE-Proton, Luxtorpeda & more for Steam Lutris and Heroic."
-HOMEPAGE="https://davidotek.github.io/protonup-qt"
-SRC_URI="https://github.com/DavidoTek/ProtonUp-Qt/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64"
-
-RDEPEND="dev-python/steam
-	dev-python/requests
-	dev-python/pyside6[gui,uitools,widgets]
-	dev-python/vdf
-	dev-python/pyxdg
-	dev-python/pyaml
-	dev-python/zstandard
-"
-DEPEND="${RDEPEND}
-	dev-util/desktop-file-utils
-	dev-libs/appstream-glib
-"
-
-src_compile() {
-	appstream-util validate-relax --nonet "share/metainfo/$_app_id.appdata.xml"
-	desktop-file-validate "share/applications/$_app_id.desktop"
-	distutils-r1_src_compile
-}
-
-src_install() {
-	distutils-r1_src_install
-	domenu "${FILESDIR}/ProtonUp-Qt.desktop"
-	dobin "${FILESDIR}/ProtonUp-Qt"
-	newicon -s 64 "${WORKDIR}/${P}/share/icons/hicolor/64x64/apps/net.davidotek.pupgui2.png" ProtonUp-Qt.png
-	newicon -s 128 "${WORKDIR}/${P}/share/icons/hicolor/128x128/apps/net.davidotek.pupgui2.png" ProtonUp-Qt.png
-	newicon -s 256 "${WORKDIR}/${P}/share/icons/hicolor/256x256/apps/net.davidotek.pupgui2.png" ProtonUp-Qt.png
-}
-
-pkg_postinst() {
-	xdg_icon_cache_update
-}

diff --git a/games-util/ProtonUp-Qt/files/ProtonUp-Qt b/games-util/ProtonUp-Qt/files/ProtonUp-Qt
deleted file mode 100644
index f2b298357..000000000
--- a/games-util/ProtonUp-Qt/files/ProtonUp-Qt
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/bash
-
-/usr/bin/python -m pupgui2 "$@"
\ No newline at end of file

diff --git a/games-util/ProtonUp-Qt/files/ProtonUp-Qt.desktop b/games-util/ProtonUp-Qt/files/ProtonUp-Qt.desktop
deleted file mode 100644
index 812107139..000000000
--- a/games-util/ProtonUp-Qt/files/ProtonUp-Qt.desktop
+++ /dev/null
@@ -1,12 +0,0 @@
-[Desktop Entry]
-Name=ProtonUp-Qt
-Exec=/usr/bin/ProtonUp-Qt
-Type=Application
-Comment=Install Wine and Proton-based Compatibility Tools
-Comment[de]=Wine und Proton Kompatibilitätstools installieren
-Comment[it]=Installa tool di compatibilità basati su Wine e Proton
-Comment[nl]=Installeer op Wine en Proton gebaseerde compatibiliteitshulpmiddelen
-Comment[pl]=Zainstaluj narzędzia kompatybilności oparte na Wine i Protonie
-Terminal=false
-Icon=ProtonUp-Qt
-Categories=Game;Utility;
\ No newline at end of file


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

end of thread, other threads:[~2025-01-14 13:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-08  2:43 [gentoo-commits] repo/proj/guru:master commit in: games-util/ProtonUp-Qt/, games-util/ProtonUp-Qt/files/ Haelwenn Monnier
  -- strict thread matches above, loose matches on Subject: below --
2023-07-08  2:43 Haelwenn Monnier
2025-01-14 13:21 Julien Roy

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