commit: 8f45f02b7b501a8383acfc533738a4f8298e4fb4 Author: William Breathitt Gray <vilhelm.gray <AT> gmail <DOT> com> AuthorDate: Tue Sep 22 12:42:34 2020 +0000 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> CommitDate: Tue Sep 22 12:42:34 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8f45f02b
games-fps/crispy-doom: Version bump to 5.9.2 Signed-off-by: William Breathitt Gray <vilhelm.gray <AT> gmail.com> games-fps/crispy-doom/Manifest | 1 + games-fps/crispy-doom/crispy-doom-5.9.2.ebuild | 71 ++++++++++++++++++++++++++ 2 files changed, 72 insertions(+) diff --git a/games-fps/crispy-doom/Manifest b/games-fps/crispy-doom/Manifest index 4532e0d5..dd942249 100644 --- a/games-fps/crispy-doom/Manifest +++ b/games-fps/crispy-doom/Manifest @@ -1,2 +1,3 @@ +DIST crispy-doom-5.9.2.tar.gz 2642419 BLAKE2B 63d9a89d6099485c79ff4cad69975de790b32a4ece4bded172ebf771a2bf1b4dcd21ab58383ca3c5eea32a4eff72e65ec0e3a283c85f1bc62be680de04f88e52 SHA512 bcd48a75d80b963e1b00b5acc5fc863c014cfde39f67efec50852667ed80545c78b4ed3f82b28762806f0aa3999ed26018dd6ccb34149c395409cd3c47509273 DIST crispy-doom-5.9.1.tar.gz 2640684 BLAKE2B 2bf862d8134689afba101abeed5cf1e1695378f235718941bf9fc2717bc93dd848173bb758e8bf0bc4a8ab1bfa75533c2ae838210326451f7c4285b0acb2e08b SHA512 1f9ed3520fe3d0fd176d3bcd6a2a3f5e730c29312ad20a4c1f692cc69881069efbf35d758dfcdafd402a499333dd2ae54764f4ec007375138ecf9cab84ebdbcd DIST crispy-doom-5.9.0.tar.gz 2641211 BLAKE2B a97bb7d9bda0c4e984054a0051cadfcaba7c758829bec9e615801bbf91dc1c8063decfedf5b76056cd2fb05e8fcf4113f19c10d72604399b715011d994af3e8b SHA512 9970291f374003ac2a1d9e4c44db18b97a41ae3348a5e100ec369affc162d681d15ce61846480667c8a7418700b78a4380bedab1e3acae77976eb4271a22b644 diff --git a/games-fps/crispy-doom/crispy-doom-5.9.2.ebuild b/games-fps/crispy-doom/crispy-doom-5.9.2.ebuild new file mode 100644 index 00000000..cb2ce132 --- /dev/null +++ b/games-fps/crispy-doom/crispy-doom-5.9.2.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8} ) + +inherit autotools prefix python-any-r1 xdg + +DESCRIPTION="A limit-removing enhanced-resolution Doom source port based on Chocolate Doom" +HOMEPAGE="https://github.com/fabiangreffrath/crispy-doom" +SRC_URI="https://github.com/fabiangreffrath/${PN}/archive/${P}.tar.gz" + +LICENSE="BSD GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="bash-completion doc libsamplerate +midi png truecolor vorbis zlib" + +DEPEND=" + media-libs/libsdl2[video] + media-libs/sdl2-mixer[midi?,vorbis?] + media-libs/sdl2-net + libsamplerate? ( media-libs/libsamplerate ) + png? ( media-libs/libpng:= ) + zlib? ( sys-libs/zlib )" +RDEPEND="${DEPEND}" +BDEPEND=" + bash-completion? ( ${PYTHON_DEPS} ) + doc? ( ${PYTHON_DEPS} )" + +S="${WORKDIR}"/${PN}-${P} + +DOCS=( + "AUTHORS" + "ChangeLog" + "NEWS.md" + "NOT-BUGS.md" + "PHILOSOPHY.md" + "README.md" + "README.Music.md" + "README.Strife.md" +) + +src_prepare() { + default + + hprefixify src/d_iwad.c + + eautoreconf +} + +src_configure() { + econf \ + $(use_enable bash-completion) \ + $(use_enable doc) \ + --disable-fonts \ + --disable-icons \ + $(use_with libsamplerate) \ + $(use_with png libpng) \ + $(use_enable truecolor) \ + $(use_with zlib) +} + +src_install() { + emake DESTDIR="${D}" install + + # Remove redundant documentation files + rm -r "${ED}/usr/share/doc/"* || die + + einstalldocs +}