Compare commits
2 Commits
fbbc79fb22
...
bbd6902e21
Author | SHA1 | Date | |
---|---|---|---|
bbd6902e21 | |||
a59e47716b |
@ -1,4 +1,6 @@
|
||||
AUX gzdoom-4.7.1-Introduce-the-BUILD_NONFREE-option.patch 1209 BLAKE2B b3cf80ab4d6328dbcb14ceb9514883ed58b8086dab02182f4cf8964140095dd8d6ac0503c68a4c7442c0f9cc92b4bb6b3e084eee026be52842413e15118a13be SHA512 a08c29fe6b867dbbe60035c99c31d1bce73c1ff37ca2c15f659e060b77366f6fcdc11d2319dee3331d9874115e92566b9c0a6364604869f3815fbb0ee7179ef6
|
||||
DIST gzdoom-4.11.3.tar.gz 24354699 BLAKE2B 3ff436ad477a379f4ebeb68c211a85f77b446130687f754f5835a3e82044dd641d0301fda4d5e2fcf35d8eeb4cf511147ea8842ec377576b5ed840a6c59ec4aa SHA512 0abe69f85e2f0946e92d6ae2bbc4710c1e184a6748d4ef8a5f0c0daf31b67779b9085154877467144da650314e6c8dcde429cd47db06b17ec1ea66c63759568d
|
||||
DIST gzdoom-4.13.2.tar.gz 25950370 BLAKE2B f9f04076b06cef6c9f0277dade1d51a67f220e1118c5f701889f5201e6987d6d3f10a3fa6108d88665b1052e8118ed21b23917e708531bc40e049029da2d5561 SHA512 4d22c9298a6bb69ebbf55cb52137b2c3d34c1e5e77409e5f271ddcf31fce60d93a41701803771018dc479a43b5de7252bb83b60a3592bdce263b757541206026
|
||||
EBUILD gzdoom-4.11.3.ebuild 2304 BLAKE2B 9e4acf494f257f47348bfcf94d10005b966fc367c3a151f3ace71e0a04fcc45264e650f6e07f790c62a7affe119b522d2718e9ba7cc70d90c63ca0ab9c70975e SHA512 833ead6d3e102383869217d8a2e49fb9d0b6ca15543102a41676e36996aff88d25ec142d4a1535fb85df407d67f558efb9b172cb1ce38c47484a99e96a429f17
|
||||
EBUILD gzdoom-4.13.2.ebuild 2304 BLAKE2B 9e4acf494f257f47348bfcf94d10005b966fc367c3a151f3ace71e0a04fcc45264e650f6e07f790c62a7affe119b522d2718e9ba7cc70d90c63ca0ab9c70975e SHA512 833ead6d3e102383869217d8a2e49fb9d0b6ca15543102a41676e36996aff88d25ec142d4a1535fb85df407d67f558efb9b172cb1ce38c47484a99e96a429f17
|
||||
MISC metadata.xml 244 BLAKE2B c868d151b81a299adb629476d8a1cf4aef25f0bfe22a0d3d1d0522dda5b9f18b7b6628655a1cea8a0ecf22c1284230b7fda98ee78eec53338d73e93d4df232d3 SHA512 e8dd6eabe095c2a205abbec715ce1d5ac0bd4209a78189b0141d2472165ca7dbee91cd49555f6861efa7a437ba621ae421308522b4dea9b5c6299721819fdafa
|
||||
|
90
games-fps/gzdoom/gzdoom-4.13.2.ebuild
Normal file
90
games-fps/gzdoom/gzdoom-4.13.2.ebuild
Normal file
@ -0,0 +1,90 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
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/ZDoom/${PN}/archive/g${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 BSD BZIP2 GPL-3 LGPL-2.1+ LGPL-3 MIT
|
||||
non-free? ( Activision ChexQuest3 DOOM-COLLECTORS-EDITION freedist WidePix )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64"
|
||||
IUSE="debug gles2 gtk +non-free openmp +swr telemetry vulkan"
|
||||
|
||||
DEPEND="
|
||||
app-arch/bzip2
|
||||
media-libs/libjpeg-turbo:0=
|
||||
media-libs/libsdl2[gles2?,opengl,vulkan?]
|
||||
media-libs/libvpx:=
|
||||
media-libs/openal
|
||||
media-libs/zmusic
|
||||
sys-libs/zlib
|
||||
media-libs/libwebp
|
||||
gtk? ( x11-libs/gtk+:3 )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${PN}-g${PV}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-4.7.1-Introduce-the-BUILD_NONFREE-option.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
rm -rf docs/licenses || die
|
||||
rm -rf libraries/{bzip2,jpeg,zlib} || die
|
||||
if ! use non-free ; then
|
||||
rm -rf wadsrc_bm wadsrc_extra wadsrc_widepix || die
|
||||
fi
|
||||
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# https://bugs.gentoo.org/858749
|
||||
filter-lto
|
||||
append-flags -fno-strict-aliasing
|
||||
|
||||
local mycmakeargs=(
|
||||
-DBUILD_SHARED_LIBS=OFF
|
||||
-DINSTALL_DOCS_PATH="${EPREFIX}/usr/share/doc/${PF}"
|
||||
-DINSTALL_PK3_PATH="${EPREFIX}/usr/share/doom"
|
||||
-DINSTALL_SOUNDFONT_PATH="${EPREFIX}/usr/share/doom"
|
||||
-DDYN_OPENAL=OFF
|
||||
-DNO_GTK="$(usex !gtk)"
|
||||
-DNO_OPENAL=OFF
|
||||
-DHAVE_VULKAN="$(usex vulkan)"
|
||||
-DHAVE_GLES2="$(usex gles2)"
|
||||
-DNO_OPENMP="$(usex !openmp)"
|
||||
-DZDOOM_ENABLE_SWR="$(usex swr)"
|
||||
-DBUILD_NONFREE="$(usex non-free)"
|
||||
)
|
||||
|
||||
use debug || append-cppflags -DNDEBUG
|
||||
use telemetry || append-cppflags -DNO_SEND_STATS
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
newicon src/posix/zdoom.xpm "${PN}.xpm"
|
||||
make_desktop_entry "${PN}" "GZDoom" "${PN}" "Game;ActionGame"
|
||||
cmake_src_install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
|
||||
if ! use non-free ; then
|
||||
ewarn
|
||||
ewarn "GZDoom installed without non-free components."
|
||||
ewarn "Note: The non-free game_support.pk3 file is needed to play"
|
||||
ewarn " games natively supported by GZDoom."
|
||||
ewarn "A list of games natively supported by GZDoom is available"
|
||||
ewarn "on the ZDoom wiki: https://zdoom.org/wiki/IWAD"
|
||||
ewarn
|
||||
fi
|
||||
}
|
@ -12,5 +12,5 @@ LICENSE=Apache-2.0 BSD BZIP2 GPL-3 LGPL-2.1+ LGPL-3 MIT non-free? ( Activision C
|
||||
RDEPEND=app-arch/bzip2 media-libs/libjpeg-turbo:0= media-libs/libsdl2[gles2?,opengl,vulkan?] media-libs/libvpx:= media-libs/openal media-libs/zmusic sys-libs/zlib media-libs/libwebp gtk? ( x11-libs/gtk+:3 )
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/ZDoom/gzdoom/archive/g4.11.3.tar.gz -> gzdoom-4.11.3.tar.gz
|
||||
_eclasses_=toolchain-funcs e56c7649b804f051623c8bc1a1c44084 multilib c19072c3cd7ac5cb21de013f7e9832e0 flag-o-matic 288c54efeb5e2aa70775e39032695ad4 multiprocessing 30ead54fa2e2b5f9cd4e612ffc34d0fe ninja-utils 2df4e452cea39a9ec8fb543ce059f8d6 xdg-utils baea6080dd821f5562d715887954c9d3 cmake c7c9a62d6232cac66d4ea32d575c3e7c desktop 021728fdc1b03b36357dbc89489e0f0d xdg 4a14c5c24f121e7da66e5aab4a168c6e
|
||||
_eclasses_=toolchain-funcs d3d42b22a610ce81c267b644bcec9b87 multilib b2a329026f2e404e9e371097dda47f96 flag-o-matic f14aba975c94ccaa9f357a27e3b17ffe multiprocessing 1e32df7deee68372153dca65f4a7c21f ninja-utils 2df4e452cea39a9ec8fb543ce059f8d6 xdg-utils 42869b3c8d86a70ef3cf75165a395e09 cmake 10a50dfaf728b802fcfd37f8d0da9056 desktop 3a72ffe0d8e1dd73af3a1c8c15a59fed xdg 3ef49a87c52c8b77c476351195dfe575
|
||||
_md5_=8d13885a5b5231365bdc611a3be0b304
|
||||
|
16
metadata/md5-cache/games-fps/gzdoom-4.13.2
Normal file
16
metadata/md5-cache/games-fps/gzdoom-4.13.2
Normal file
@ -0,0 +1,16 @@
|
||||
BDEPEND=app-alternatives/ninja >=dev-build/cmake-3.20.5
|
||||
DEFINED_PHASES=compile configure install postinst postrm preinst prepare test
|
||||
DEPEND=app-arch/bzip2 media-libs/libjpeg-turbo:0= media-libs/libsdl2[gles2?,opengl,vulkan?] media-libs/libvpx:= media-libs/openal media-libs/zmusic sys-libs/zlib media-libs/libwebp gtk? ( x11-libs/gtk+:3 )
|
||||
DESCRIPTION=A modder-friendly OpenGL source port based on the DOOM engine
|
||||
EAPI=8
|
||||
HOMEPAGE=https://zdoom.org
|
||||
IDEPEND=dev-util/desktop-file-utils x11-misc/shared-mime-info
|
||||
INHERIT=cmake desktop xdg flag-o-matic
|
||||
IUSE=debug gles2 gtk +non-free openmp +swr telemetry vulkan
|
||||
KEYWORDS=~amd64 ~arm64 ~ppc64
|
||||
LICENSE=Apache-2.0 BSD BZIP2 GPL-3 LGPL-2.1+ LGPL-3 MIT non-free? ( Activision ChexQuest3 DOOM-COLLECTORS-EDITION freedist WidePix )
|
||||
RDEPEND=app-arch/bzip2 media-libs/libjpeg-turbo:0= media-libs/libsdl2[gles2?,opengl,vulkan?] media-libs/libvpx:= media-libs/openal media-libs/zmusic sys-libs/zlib media-libs/libwebp gtk? ( x11-libs/gtk+:3 )
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/ZDoom/gzdoom/archive/g4.13.2.tar.gz -> gzdoom-4.13.2.tar.gz
|
||||
_eclasses_=toolchain-funcs d3d42b22a610ce81c267b644bcec9b87 multilib b2a329026f2e404e9e371097dda47f96 flag-o-matic f14aba975c94ccaa9f357a27e3b17ffe multiprocessing 1e32df7deee68372153dca65f4a7c21f ninja-utils 2df4e452cea39a9ec8fb543ce059f8d6 xdg-utils 42869b3c8d86a70ef3cf75165a395e09 cmake 10a50dfaf728b802fcfd37f8d0da9056 desktop 3a72ffe0d8e1dd73af3a1c8c15a59fed xdg 3ef49a87c52c8b77c476351195dfe575
|
||||
_md5_=8d13885a5b5231365bdc611a3be0b304
|
Loading…
Reference in New Issue
Block a user