commit:     edcdb2677a0afd134846622e91dbd748fd7f31c4
Author:     strategictraveler <strategictraveler <AT> proton <DOT> me>
AuthorDate: Sun Feb  2 11:28:08 2025 +0000
Commit:     strategictraveler <strategictraveler <AT> proton <DOT> me>
CommitDate: Sun Feb  2 11:38:00 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=edcdb267

games-roguelike/cataclysm-dda: Remove ebuild-specific bdep, add note

- only depend on app-arch/unzip if not live
- add license note for bump

Signed-off-by: strategictraveler <strategictraveler <AT> proton.me>

 games-roguelike/cataclysm-dda/cataclysm-dda-0h.ebuild   | 4 +++-
 games-roguelike/cataclysm-dda/cataclysm-dda-9999.ebuild | 2 ++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/games-roguelike/cataclysm-dda/cataclysm-dda-0h.ebuild 
b/games-roguelike/cataclysm-dda/cataclysm-dda-0h.ebuild
index 1e5149d87..d61890171 100644
--- a/games-roguelike/cataclysm-dda/cataclysm-dda-0h.ebuild
+++ b/games-roguelike/cataclysm-dda/cataclysm-dda-0h.ebuild
@@ -29,6 +29,7 @@ else
        KEYWORDS="~amd64"
 fi
 
+# NOTE: Add BSD license on bump
 LICENSE="CC-BY-SA-3.0 Apache-2.0 soundpack? ( CC-BY-SA-4.0 ) MIT OFL-1.1 
Unicode-3.0"
 IUSE="debug doc ncurses nls +sound +soundpack test +tiles"
 REQUIRED_USE="soundpack? ( sound ) sound? ( tiles ) \
@@ -50,10 +51,11 @@ RDEPEND="
 DEPEND="${RDEPEND}"
 BDEPEND="
        doc? ( app-text/doxygen[dot] )
-       soundpack? ( app-arch/unzip )
        nls? ( sys-devel/gettext )
        "
 
+[[ ${PV} != 9999 ]] && BDEPEND+=" soundpack? ( app-arch/unzip )"
+
 src_unpack() {
        if [[ ${PV} == 9999 ]]; then
                git-r3_src_unpack

diff --git a/games-roguelike/cataclysm-dda/cataclysm-dda-9999.ebuild 
b/games-roguelike/cataclysm-dda/cataclysm-dda-9999.ebuild
index 0b04fe840..943792391 100644
--- a/games-roguelike/cataclysm-dda/cataclysm-dda-9999.ebuild
+++ b/games-roguelike/cataclysm-dda/cataclysm-dda-9999.ebuild
@@ -53,6 +53,8 @@ BDEPEND="
        nls? ( sys-devel/gettext )
        "
 
+[[ ${PV} != 9999 ]] && BDEPEND+=" soundpack? ( app-arch/unzip )"
+
 src_unpack() {
        if [[ ${PV} == 9999 ]]; then
                git-r3_src_unpack

Reply via email to