summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2024-05-01 22:39:20 +0100
committerJames Le Cuirot <chewi@gentoo.org>2024-05-01 22:39:47 +0100
commit464c6025f0303dfa6e7bd4fc4583f8d3f59b544e (patch)
treeed22fb0986c23a827a51dcbae4475b4a078291f5 /games-fps/gzdoom
parentgames-fps/gzdoom: bump to 4.12.2 (diff)
downloadgentoo-464c6025f0303dfa6e7bd4fc4583f8d3f59b544e.tar.gz
gentoo-464c6025f0303dfa6e7bd4fc4583f8d3f59b544e.tar.bz2
gentoo-464c6025f0303dfa6e7bd4fc4583f8d3f59b544e.zip
games-fps/gzdoom: Move S, die for gitinfo.h
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'games-fps/gzdoom')
-rw-r--r--games-fps/gzdoom/gzdoom-4.12.2.ebuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/games-fps/gzdoom/gzdoom-4.12.2.ebuild b/games-fps/gzdoom/gzdoom-4.12.2.ebuild
index dcb9477e00de..b308fb3d0b50 100644
--- a/games-fps/gzdoom/gzdoom-4.12.2.ebuild
+++ b/games-fps/gzdoom/gzdoom-4.12.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -8,6 +8,7 @@ inherit cmake desktop xdg flag-o-matic
DESCRIPTION="A modder-friendly OpenGL source port based on the DOOM engine"
HOMEPAGE="https://zdoom.org"
SRC_URI="https://github.com/coelckers/${PN}/archive/g${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-g${PV}"
LICENSE="Apache-2.0 BSD BZIP2 GPL-3 LGPL-2.1+ LGPL-3 MIT
non-free? ( Activision ChexQuest3 DOOM-COLLECTORS-EDITION freedist WidePix )"
@@ -27,8 +28,6 @@ DEPEND="
gtk? ( x11-libs/gtk+:3 )"
RDEPEND="${DEPEND}"
-S="${WORKDIR}/${PN}-g${PV}"
-
PATCHES=(
"${FILESDIR}"/${PN}-4.7.1-Introduce-the-BUILD_NONFREE-option.patch
)
@@ -48,7 +47,7 @@ src_prepare() {
echo "#define GIT_DESCRIPTION \"g${PV}\""
echo "#define GIT_HASH \"0\""
echo "#define GIT_TIME \"\""
- } > "${S}/src/gitinfo.h"
+ } > "${S}/src/gitinfo.h" || die
cmake_src_prepare
}