Diff quakeforge-0.7.2_p20210722-r1 with a quakeforge-9999

/usr/portage/games-fps/quakeforge/quakeforge-9999.ebuild 2023-10-09 14:52:31.100368391 +0300
9 9
	inherit git-r3
10 10
	EGIT_REPO_URI="https://github.com/quakeforge/quakeforge.git"
11 11
else
12
	MY_COMMIT="e799a7ae45b0ab2ad7b642953277db8ccf256cf8"
13
	SRC_URI="https://github.com/quakeforge/quakeforge/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz"
14
	S="${WORKDIR}/${PN}-${MY_COMMIT}"
12
	QUAKEFORGE_COMMIT=""
13
	SRC_URI="https://github.com/quakeforge/quakeforge/archive/${QUAKEFORGE_COMMIT}.tar.gz -> ${P}.tar.gz"
14
	S="${WORKDIR}/${PN}-${QUAKEFORGE_COMMIT}"
15 15
	KEYWORDS="~amd64 ~x86"
16 16
fi
17 17

  
......
29 29
		virtual/opengl
30 30
		x11-libs/libX11
31 31
		x11-libs/libXext
32
		x11-libs/libXfixes
33
		x11-libs/libXi
32 34
		x11-libs/libXxf86vm
33 35
		alsa? ( media-libs/alsa-lib )
34 36
		flac? ( media-libs/flac:= )
......
56 58
		media-gfx/transfig
57 59
	)"
58 60

  
59
PATCHES=(
60
	"${FILESDIR}"/${P}-skipped-tests.patch
61
)
62

  
63 61
src_prepare() {
64 62
	default
65 63

  
64
	# These seem to fail at high precision and shouldn't affect normal use.
65
	# quat/simd: may fail with -mavx, sebvf: random? (likely hardware related)
66
	sed -i '/test-\(quat\|simd\|sebvf\)/d' libs/util/test/Makemodule.am || die
67

  
66 68
	echo ${PV} > .tarball-version || die
67 69
	eautoreconf
68 70
}
......
72 74
	unset LEX YACC #902997,884287
73 75

  
74 76
	qf_client() {
75
		echo $(usex client $(use_enable ${1}) --disable-${1})
77
		usex client $(use_enable ${1}) --disable-${1}
76 78
	}
77 79

  
78 80
	local econfargs=(
......
93 95
		$(use_with client x)
94 96
		--disable-Werror
95 97
		--disable-dga
98
		--disable-simd # all this does is append -mavx2 and similar
96 99
		--enable-xdg
97 100
		# non-x11 clients are mostly abandoned/broken (SDL1 still useful for pulseaudio)
98 101
		--with-clients=$(usev client x11)
......
118 121

  
119 122
	find "${ED}" -name '*.la' -delete || die
120 123

  
121
	local DISABLE_AUTOFORMATTING="yes"
122
	local DOC_CONTENTS=\
123
"Before you can play (using nq-x11 or qw-client-x11), you must ensure
124
	local DISABLE_AUTOFORMATTING=yes
125
	local DOC_CONTENTS="\
126
Before you can play (using nq-x11 or qw-client-x11), you must ensure
124 127
that ${PN} can find your Quake pak0.pak (and optionally pak1.pak)
125 128
at one of these locations with lowercase filenames:
126 129
	- '~/.local/share/${PN}/id1/pak0.pak'
......
150 153

  
151 154
pkg_postinst() {
152 155
	readme.gentoo_print_elog
153

  
154
	if [[ ${REPLACING_VERSIONS} ]] && ver_test ${REPLACING_VERSIONS} -le 0.7.2-r1; then
155
		elog "Migration may be needed for ${PN}'s home paths, now using:"
156
		elog "    ~/.${PN}rc -> ~/.config/${PN}/${PN}.conf"
157
		elog "    ~/.${PN}/  -> ~/.local/share/${PN}/"
158
		elog "Also, nq-sdl / qw-client-sdl are no longer available (use -x11 instead)."
159
	fi
160

  
161
	if use vulkan; then
162
		ewarn "You've enabled the new vulkan support that is still experimental and yet"
163
		ewarn "used by default. If have issues, can use '+setrom vid_render gl' command"
164
		ewarn "line option to revert to GL."
165
	fi
166 156
}
Thank you!