summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2022-01-04 20:23:38 -0500
committerIonen Wolkens <ionen@gentoo.org>2022-01-04 20:34:55 -0500
commita6836bac5fd81a343561ecc525b1fc6a82fcd332 (patch)
tree6aa688cb92d07a637ede359c4388db6dc20cbe36 /games-fps
parentdev-scheme/racket: revbump due to readme.gentoo change (diff)
downloadgentoo-a6836bac5fd81a343561ecc525b1fc6a82fcd332.tar.gz
gentoo-a6836bac5fd81a343561ecc525b1fc6a82fcd332.tar.bz2
gentoo-a6836bac5fd81a343561ecc525b1fc6a82fcd332.zip
games-fps/quakeforge: minor live ebuild updates
Current HEAD has working tests with glibc-2.34 wrt bug #807319 (but the failure had no real consequence, runtime not affected). Not adding a new snapshot yet given there's been major refactoring of the input system and in-game key rebinding seem not re-implemented yet (this is fine if using .cfg directly, but is unintuitive). Removed dated postinst messages, vulkan backend seem to have improved a fair deal. Bug: https://bugs.gentoo.org/807319 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'games-fps')
-rw-r--r--games-fps/quakeforge/quakeforge-9999.ebuild31
1 files changed, 10 insertions, 21 deletions
diff --git a/games-fps/quakeforge/quakeforge-9999.ebuild b/games-fps/quakeforge/quakeforge-9999.ebuild
index 6013dac54d34..5a6d465477c4 100644
--- a/games-fps/quakeforge/quakeforge-9999.ebuild
+++ b/games-fps/quakeforge/quakeforge-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -9,9 +9,9 @@ if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/quakeforge/quakeforge.git"
else
- MY_COMMIT=""
- SRC_URI="https://github.com/quakeforge/quakeforge/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz"
- S="${WORKDIR}/${PN}-${MY_COMMIT}"
+ QUAKEFORGE_COMMIT=""
+ SRC_URI="https://github.com/quakeforge/quakeforge/archive/${QUAKEFORGE_COMMIT}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}/${PN}-${QUAKEFORGE_COMMIT}"
KEYWORDS="~amd64 ~x86"
fi
@@ -29,6 +29,8 @@ RDEPEND="
virtual/opengl
x11-libs/libX11
x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXi
x11-libs/libXxf86vm
alsa? ( media-libs/alsa-lib )
flac? ( media-libs/flac )
@@ -69,7 +71,7 @@ src_prepare() {
src_configure() {
qf_client() {
- echo $(usex client $(use_enable ${1}) --disable-${1})
+ usex client $(use_enable ${1}) --disable-${1}
}
local econfargs=(
@@ -116,9 +118,9 @@ src_install() {
find "${ED}" -name '*.la' -delete || die
- local DISABLE_AUTOFORMATTING="yes"
- local DOC_CONTENTS=\
-"Before you can play (using nq-x11 or qw-client-x11), you must ensure
+ local DISABLE_AUTOFORMATTING=yes
+ local DOC_CONTENTS="\
+Before you can play (using nq-x11 or qw-client-x11), you must ensure
that ${PN} can find your Quake pak0.pak (and optionally pak1.pak)
at one of these locations with lowercase filenames:
- '~/.local/share/${PN}/id1/pak0.pak'
@@ -148,17 +150,4 @@ Audio/Video notes:
pkg_postinst() {
readme.gentoo_print_elog
-
- if [[ ${REPLACING_VERSIONS} ]] && ver_test ${REPLACING_VERSIONS} -le 0.7.2-r1; then
- elog "Migration may be needed for ${PN}'s home paths, now using:"
- elog " ~/.${PN}rc -> ~/.config/${PN}/${PN}.conf"
- elog " ~/.${PN}/ -> ~/.local/share/${PN}/"
- elog "Also, nq-sdl / qw-client-sdl are no longer available (use -x11 instead)."
- fi
-
- if use vulkan; then
- ewarn "You've enabled the new vulkan support that is still experimental and yet"
- ewarn "used by default. If have issues, can use '+setrom vid_render gl' command"
- ewarn "line option to revert to GL."
- fi
}