mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 21:43:03 -04:00
games-emulation/dosbox-x: Ensure dep for file dialog is present
Signed-off-by: Yuan Liao <liaoyuan@gmail.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Copyright 2022-2023 Gentoo Authors
|
||||
# Copyright 2022-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -47,7 +47,7 @@ BDEPEND="
|
||||
# one available backend (https://bugs.gentoo.org/901303). Unconditionally
|
||||
# depending on media-libs/libsdl2[alsa] to satisfy this requirement since
|
||||
# this ebuild already unconditionally pulls in media-libs/alsa-lib.
|
||||
RDEPEND="
|
||||
COMMON_DEPEND="
|
||||
media-libs/alsa-lib
|
||||
media-libs/libsdl2[X,alsa,opengl?,sound,threads,video]
|
||||
media-libs/sdl2-net
|
||||
@@ -68,7 +68,25 @@ RDEPEND="
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
${COMMON_DEPEND}
|
||||
"
|
||||
|
||||
# DOSBox-X can still run normally without any of these dependencies --
|
||||
# it just cannot show a file dialog. However, upon the initial launch,
|
||||
# DOSBox-X will try to show a file dialog to let the user choose the
|
||||
# working directory; without one of these dependencies, the user would
|
||||
# see nothing when they launch DOSBox-X for the first time.
|
||||
FILE_DIALOG_DEPEND="
|
||||
|| (
|
||||
gnome-extra/zenity
|
||||
kde-apps/kdialog
|
||||
x11-misc/xdialog
|
||||
)
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
${FILE_DIALOG_DEPEND}
|
||||
"
|
||||
|
||||
pkg_pretend() {
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 2022-2023 Gentoo Authors
|
||||
# Copyright 2022-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -47,7 +47,7 @@ BDEPEND="
|
||||
# one available backend (https://bugs.gentoo.org/901303). Unconditionally
|
||||
# depending on media-libs/libsdl2[alsa] to satisfy this requirement since
|
||||
# this ebuild already unconditionally pulls in media-libs/alsa-lib.
|
||||
RDEPEND="
|
||||
COMMON_DEPEND="
|
||||
media-libs/alsa-lib
|
||||
media-libs/libsdl2[X,alsa,opengl?,sound,threads,video]
|
||||
media-libs/sdl2-net
|
||||
@@ -68,7 +68,25 @@ RDEPEND="
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
${COMMON_DEPEND}
|
||||
"
|
||||
|
||||
# DOSBox-X can still run normally without any of these dependencies --
|
||||
# it just cannot show a file dialog. However, upon the initial launch,
|
||||
# DOSBox-X will try to show a file dialog to let the user choose the
|
||||
# working directory; without one of these dependencies, the user would
|
||||
# see nothing when they launch DOSBox-X for the first time.
|
||||
FILE_DIALOG_DEPEND="
|
||||
|| (
|
||||
gnome-extra/zenity
|
||||
kde-apps/kdialog
|
||||
x11-misc/xdialog
|
||||
)
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
${FILE_DIALOG_DEPEND}
|
||||
"
|
||||
|
||||
pkg_pretend() {
|
||||
|
||||
Reference in New Issue
Block a user