public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Viorel Munteanu" <ceamac@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: games-emulation/duckstation/
Date: Fri, 18 Aug 2023 06:21:35 +0000 (UTC)	[thread overview]
Message-ID: <1692305931.3cbffff4d177930d0dc750c7a9942152d859347b.ceamac@gentoo> (raw)

commit:     3cbffff4d177930d0dc750c7a9942152d859347b
Author:     Alexander Barker <alex <AT> 1stleg <DOT> com>
AuthorDate: Sat Jul  8 17:54:54 2023 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Thu Aug 17 20:58:51 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3cbffff4

games-emulation/duckstation: Fix discord cmake flag and install filenames

Note from lanodan: While this commit isn't signed off properly, I believe it
is too small a change to be copyrightable anyway.

Closes: https://github.com/gentoo/guru/pull/99
Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me>

 games-emulation/duckstation/duckstation-9999.ebuild | 17 +++++++----------
 1 file changed, 7 insertions(+), 10 deletions(-)

diff --git a/games-emulation/duckstation/duckstation-9999.ebuild b/games-emulation/duckstation/duckstation-9999.ebuild
index e6a8c28cfb..355e99caa9 100644
--- a/games-emulation/duckstation/duckstation-9999.ebuild
+++ b/games-emulation/duckstation/duckstation-9999.ebuild
@@ -50,7 +50,7 @@ src_configure() {
 		-DBUILD_NOGUI_FRONTEND=$(usex nogui)
 		-DBUILD_QT_FRONTEND=$(usex qt5)
 		-DENABLE_CHEEVOS=$(usex retroachievements)
-		–DENABLE_DISCORD_PRESENCE=$(usex discord)
+		-DENABLE_DISCORD_PRESENCE=$(usex discord)
 		-DUSE_DRMKMS=$(usex gbm)
 		-DUSE_EGL=$(usex egl)
 		-DUSE_EVDEV=$(usex evdev)
@@ -68,13 +68,12 @@ src_install() {
 
 	# Binary and resources files must be in same directory – installing in /opt
 	insinto /opt/${PN}
-	doins -r "${BUILD_DIR}"/bin/{database,inputprofiles,resources,shaders,translations}
+	doins -r "${BUILD_DIR}"/bin/resources
+	doins -r "${BUILD_DIR}"/bin/translations
 
 	if use nogui; then
-		for i in {16,32,48,64,128,256}; do
-			newicon -s ${i} extras/icons/icon-${i}px.png duckstation-nogui.png
-		done
-		domenu extras/linux-desktop-files/duckstation-nogui.desktop
+		newicon "${BUILD_DIR}"/bin/resources/images/duck.png duckstation-nogui.png
+		make_desktop_entry "${PN}-nogui %f" "DuckStation NoGUI" "${PN}-nogui" "Game"
 
 		doins "${BUILD_DIR}"/bin/duckstation-nogui
 		dosym ../../opt/${PN}/duckstation-nogui usr/bin/duckstation-nogui
@@ -82,10 +81,8 @@ src_install() {
 	fi
 
 	if use qt5; then
-		for i in {16,32,48,64,128,256}; do
-			newicon -s ${i} extras/icons/icon-${i}px.png duckstation-qt.png
-		done
-		domenu extras/linux-desktop-files/duckstation-qt.desktop
+		newicon "${BUILD_DIR}"/bin/resources/images/duck.png duckstation-qt.png
+		make_desktop_entry "${PN}-qt %f" "DuckStation Qt" "${PN}-qt" "Game"
 
 		doins "${BUILD_DIR}"/bin/duckstation-qt
 		dosym ../../opt/${PN}/duckstation-qt usr/bin/duckstation-qt


             reply	other threads:[~2023-08-18  6:21 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-18  6:21 Viorel Munteanu [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-15 21:45 [gentoo-commits] repo/proj/guru:master commit in: games-emulation/duckstation/ Julien Roy
2024-05-26 12:44 Julien Roy
2023-11-21 15:05 David Roman
2023-09-05 22:35 Haelwenn Monnier
2023-08-18  6:21 Viorel Munteanu
2023-08-18  6:21 Viorel Munteanu
2021-06-04  7:59 Andrew Ammerlaan
2021-06-02 16:00 Andrew Ammerlaan
2021-04-09 12:53 Andrew Ammerlaan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1692305931.3cbffff4d177930d0dc750c7a9942152d859347b.ceamac@gentoo \
    --to=ceamac@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox