diff options
| author | 1024x2 | 2024-12-06 16:23:25 +0000 | 
|---|---|---|
| committer | 1024x2 | 2024-12-06 16:23:25 +0000 | 
| commit | f3a53d36915a9b7f33ff19a089fbfa6813bd43fd (patch) | |
| tree | 0967b434102774fc75698ec73a06e62a6b96cad6 /games-fps | |
| parent | a666f673b7cb396f1245f821aae2ffdd4010b305 (diff) | |
games-fps/vkQuake: new package, add 1.31.3, 9999
Diffstat (limited to 'games-fps')
| -rw-r--r-- | games-fps/vkQuake/Manifest | 1 | ||||
| -rw-r--r-- | games-fps/vkQuake/vkQuake-1.31.3.ebuild | 72 | ||||
| -rw-r--r-- | games-fps/vkQuake/vkQuake-9999.ebuild | 72 | 
3 files changed, 145 insertions, 0 deletions
| diff --git a/games-fps/vkQuake/Manifest b/games-fps/vkQuake/Manifest new file mode 100644 index 0000000..9f4d884 --- /dev/null +++ b/games-fps/vkQuake/Manifest @@ -0,0 +1 @@ +DIST vkQuake-1.31.3.tar.gz 28655729 BLAKE2B 707d49973217790400460ba9f259f8d7409ea8f1d9c8011473008e5f64db1586db4c12f1e65fcc295194201decbe1e61a113f5351132e051b372b2023328f3d6 SHA512 97109b810272cd3534287a651f0947fb45a9db6cff7afe31200c944e48252237efa75faed142bc115f44123b4c7a694aca14da88c8f21d6eaa9e5b897ff8566c diff --git a/games-fps/vkQuake/vkQuake-1.31.3.ebuild b/games-fps/vkQuake/vkQuake-1.31.3.ebuild new file mode 100644 index 0000000..86290ef --- /dev/null +++ b/games-fps/vkQuake/vkQuake-1.31.3.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson + +DESCRIPTION="Vulkan Quake port based on QuakeSpasm" +HOMEPAGE="https://github.com/Novum/vkQuake" + +if [[ ${PV} == 9999 ]]; then +	inherit git-r3 +	EGIT_REPO_URI="https://github.com/Novum/vkQuake.git" +else +	SRC_URI="https://github.com/Novum/vkQuake/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" +	KEYWORDS="~amd64" +fi + +LICENSE="GPL-2" +SLOT="0" + +IUSE="mp3 mad flac vorbis tremor opus" + +RDEPEND=" +	media-libs/libsdl2 +	media-libs/vulkan-loader +	mp3? ( +		mad? ( media-libs/libmad ) +		!mad? ( media-sound/mpg123 ) +	) +	flac? ( media-libs/flac ) +	vorbis? ( +		tremor? ( media-libs/tremor ) +		!tremor? ( media-libs/libvorbis ) +	) +	opus? ( +		media-libs/opus +		media-libs/opusfile +	) +" + +# Build-time dependencies that need to be binary compatible with the system +# being built (CHOST). These include libraries that we link against. +# The below is valid if the same run-time depends are required to compile. +DEPEND=" +	${RDEPEND} +	dev-util/vulkan-headers +" + +# Build-time dependencies that are executed during the emerge process, and +# only need to be present in the native build system (CBUILD). Example: +BDEPEND=" +	dev-util/glslang +	dev-util/spirv-tools +" + +src_configure() { +	local emesonargs=( +		-Dvorbis_lib=$(usex tremor tremor vorbis) +		-Dmp3_lib=$(usex mad mad libmpg123) +		$(meson_feature mp3 use_codec_mp3) +		$(meson_feature flac use_codec_flac) +		$(meson_feature vorbis use_codec_vorbis) +		$(meson_feature opus use_codec_opus) +	) +	meson_src_configure +} + +src_install() { +	cd "${BUILD_DIR}" || die +	dobin vkquake +} diff --git a/games-fps/vkQuake/vkQuake-9999.ebuild b/games-fps/vkQuake/vkQuake-9999.ebuild new file mode 100644 index 0000000..86290ef --- /dev/null +++ b/games-fps/vkQuake/vkQuake-9999.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson + +DESCRIPTION="Vulkan Quake port based on QuakeSpasm" +HOMEPAGE="https://github.com/Novum/vkQuake" + +if [[ ${PV} == 9999 ]]; then +	inherit git-r3 +	EGIT_REPO_URI="https://github.com/Novum/vkQuake.git" +else +	SRC_URI="https://github.com/Novum/vkQuake/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" +	KEYWORDS="~amd64" +fi + +LICENSE="GPL-2" +SLOT="0" + +IUSE="mp3 mad flac vorbis tremor opus" + +RDEPEND=" +	media-libs/libsdl2 +	media-libs/vulkan-loader +	mp3? ( +		mad? ( media-libs/libmad ) +		!mad? ( media-sound/mpg123 ) +	) +	flac? ( media-libs/flac ) +	vorbis? ( +		tremor? ( media-libs/tremor ) +		!tremor? ( media-libs/libvorbis ) +	) +	opus? ( +		media-libs/opus +		media-libs/opusfile +	) +" + +# Build-time dependencies that need to be binary compatible with the system +# being built (CHOST). These include libraries that we link against. +# The below is valid if the same run-time depends are required to compile. +DEPEND=" +	${RDEPEND} +	dev-util/vulkan-headers +" + +# Build-time dependencies that are executed during the emerge process, and +# only need to be present in the native build system (CBUILD). Example: +BDEPEND=" +	dev-util/glslang +	dev-util/spirv-tools +" + +src_configure() { +	local emesonargs=( +		-Dvorbis_lib=$(usex tremor tremor vorbis) +		-Dmp3_lib=$(usex mad mad libmpg123) +		$(meson_feature mp3 use_codec_mp3) +		$(meson_feature flac use_codec_flac) +		$(meson_feature vorbis use_codec_vorbis) +		$(meson_feature opus use_codec_opus) +	) +	meson_src_configure +} + +src_install() { +	cd "${BUILD_DIR}" || die +	dobin vkquake +} | 
