aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOctiabrina Terrien-Puig <octiabrina@myrvogna.net>2021-05-31 17:51:16 +0200
committerOctiabrina Terrien-Puig <octiabrina@myrvogna.net>2021-05-31 17:51:16 +0200
commit3462d155dc4243f08f6daddeece36c5e70361424 (patch)
tree27cf8ae714255d0fe73fa896e9a22d3eb087552a /games-emulation/duckstation/duckstation-9999.ebuild
parentsys-process/nvtop: drop 1.1.0 (diff)
downloadguru-3462d155dc4243f08f6daddeece36c5e70361424.tar.gz
guru-3462d155dc4243f08f6daddeece36c5e70361424.tar.bz2
guru-3462d155dc4243f08f6daddeece36c5e70361424.zip
games-emulation/duckstation: fix desktop files and wrong ver being installed
Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: Octiabrina Terrien-Puig <octiabrina@myrvogna.net>
Diffstat (limited to 'games-emulation/duckstation/duckstation-9999.ebuild')
-rw-r--r--games-emulation/duckstation/duckstation-9999.ebuild24
1 files changed, 11 insertions, 13 deletions
diff --git a/games-emulation/duckstation/duckstation-9999.ebuild b/games-emulation/duckstation/duckstation-9999.ebuild
index 502d782dd..7e5bbfc58 100644
--- a/games-emulation/duckstation/duckstation-9999.ebuild
+++ b/games-emulation/duckstation/duckstation-9999.ebuild
@@ -71,24 +71,22 @@ src_install() {
doins -r "${BUILD_DIR}"/bin/{database,inputprofiles,resources,shaders,translations}
if use nogui; then
- newicon -s 16 dist/icon-16px.png duckstation-nogui
- newicon -s 32 dist/icon-32px.png duckstation-nogui
- newicon -s 48 dist/icon-48px.png duckstation-nogui
- newicon -s 64 dist/icon-64px.png duckstation-nogui
- newicon -s 128 dist/icon-128px.png duckstation-nogui
- newicon -s 256 dist/icon-256px.png duckstation-nogui
+ for i in {16,32,48,64,128,256}; do
+ newicon -s ${i} dist/icon-${i}px.png duckstation-nogui
+ done
+ domenu dist/duckstation-nogui.desktop
+
doins "${BUILD_DIR}"/bin/duckstation-nogui
- dosym ../../opt/${PN}/duckstation-qt usr/bin/duckstation-qt
+ dosym ../../opt/${PN}/duckstation-nogui usr/bin/duckstation-nogui
fperms +x /opt/${PN}/duckstation-nogui
fi
if use qt5; then
- newicon -s 16 dist/icon-16px.png duckstation-qt
- newicon -s 32 dist/icon-32px.png duckstation-qt
- newicon -s 48 dist/icon-48px.png duckstation-qt
- newicon -s 64 dist/icon-64px.png duckstation-qt
- newicon -s 128 dist/icon-128px.png duckstation-qt
- newicon -s 256 dist/icon-256px.png duckstation-qt
+ for i in {16,32,48,64,128,256}; do
+ newicon -s ${i} dist/icon-${i}px.png duckstation-qt
+ done
+ domenu dist/duckstation-qt.desktop
+
doins "${BUILD_DIR}"/bin/duckstation-qt
dosym ../../opt/${PN}/duckstation-qt usr/bin/duckstation-qt
fperms +x /opt/${PN}/duckstation-qt