mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-20 20:43:09 -04:00
games-emulation/duckstation: improve live
Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: Octiabrina Terrien-Puig <octiabrina@myrvogna.net>
This commit is contained in:
@@ -13,7 +13,7 @@ EGIT_SUBMODULES=()
|
|||||||
|
|
||||||
LICENSE="GPL-3"
|
LICENSE="GPL-3"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
IUSE="discord egl evdev fbdev +gamepad gbm +nogui qt5 retroachievements wayland X"
|
IUSE="discord +egl +evdev fbdev +gamepad gbm +nogui qt5 retroachievements wayland X"
|
||||||
|
|
||||||
# Either or both frontends must be built
|
# Either or both frontends must be built
|
||||||
REQUIRED_USE="
|
REQUIRED_USE="
|
||||||
@@ -43,7 +43,6 @@ DEPEND="
|
|||||||
"
|
"
|
||||||
RDEPEND="${DEPEND}"
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
# Set working directory to checkout directory
|
|
||||||
S="${WORKDIR}/${PN}"
|
S="${WORKDIR}/${PN}"
|
||||||
|
|
||||||
src_configure() {
|
src_configure() {
|
||||||
@@ -59,10 +58,8 @@ src_configure() {
|
|||||||
-DUSE_SDL2=$(usex gamepad)
|
-DUSE_SDL2=$(usex gamepad)
|
||||||
-DUSE_WAYLAND=$(usex wayland)
|
-DUSE_WAYLAND=$(usex wayland)
|
||||||
-DUSE_X11=$(usex X)
|
-DUSE_X11=$(usex X)
|
||||||
|
|
||||||
-DBUILD_SHARED_LIBS=OFF
|
-DBUILD_SHARED_LIBS=OFF
|
||||||
)
|
)
|
||||||
|
|
||||||
cmake_src_configure
|
cmake_src_configure
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -80,8 +77,8 @@ src_install() {
|
|||||||
newicon -s 64 dist/icon-64px.png duckstation-nogui
|
newicon -s 64 dist/icon-64px.png duckstation-nogui
|
||||||
newicon -s 128 dist/icon-128px.png duckstation-nogui
|
newicon -s 128 dist/icon-128px.png duckstation-nogui
|
||||||
newicon -s 256 dist/icon-256px.png duckstation-nogui
|
newicon -s 256 dist/icon-256px.png duckstation-nogui
|
||||||
domenu "${FILESDIR}"/duckstation-nogui.desktop
|
|
||||||
doins "${BUILD_DIR}"/bin/duckstation-nogui
|
doins "${BUILD_DIR}"/bin/duckstation-nogui
|
||||||
|
dosym ../../opt/${PN}/duckstation-qt usr/bin/duckstation-qt
|
||||||
fperms +x /opt/${PN}/duckstation-nogui
|
fperms +x /opt/${PN}/duckstation-nogui
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -92,8 +89,8 @@ src_install() {
|
|||||||
newicon -s 64 dist/icon-64px.png duckstation-qt
|
newicon -s 64 dist/icon-64px.png duckstation-qt
|
||||||
newicon -s 128 dist/icon-128px.png duckstation-qt
|
newicon -s 128 dist/icon-128px.png duckstation-qt
|
||||||
newicon -s 256 dist/icon-256px.png duckstation-qt
|
newicon -s 256 dist/icon-256px.png duckstation-qt
|
||||||
domenu "${FILESDIR}"/duckstation-qt.desktop
|
|
||||||
doins "${BUILD_DIR}"/bin/duckstation-qt
|
doins "${BUILD_DIR}"/bin/duckstation-qt
|
||||||
|
dosym ../../opt/${PN}/duckstation-qt usr/bin/duckstation-qt
|
||||||
fperms +x /opt/${PN}/duckstation-qt
|
fperms +x /opt/${PN}/duckstation-qt
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,9 +0,0 @@
|
|||||||
[Desktop Entry]
|
|
||||||
Type=Application
|
|
||||||
Name=DuckStation NoGUI
|
|
||||||
GenericName=PlayStation 1 Emulator
|
|
||||||
Comment=Fast-ish PlayStation 1 emulator
|
|
||||||
Icon=duckstation-nogui
|
|
||||||
TryExec=/opt/duckstation/duckstation-nogui
|
|
||||||
Exec=/opt/duckstation/duckstation-nogui %f
|
|
||||||
Categories=Game;Emulator;
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
[Desktop Entry]
|
|
||||||
Type=Application
|
|
||||||
Name=DuckStation Qt
|
|
||||||
GenericName=PlayStation 1 Emulator
|
|
||||||
Comment=Fast-ish PlayStation 1 emulator
|
|
||||||
Icon=duckstation-qt
|
|
||||||
TryExec=/opt/duckstation/duckstation-qt
|
|
||||||
Exec=/opt/duckstation/duckstation-qt %f
|
|
||||||
Categories=Game;Emulator;Qt;
|
|
||||||
Reference in New Issue
Block a user