commit: 03d93e5440f7d66e890df712ae240de325232ff5 Author: William Breathitt Gray <vilhelm.gray <AT> gmail <DOT> com> AuthorDate: Fri Sep 4 12:51:42 2020 +0000 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> CommitDate: Fri Sep 4 12:51:42 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=03d93e54
games-fps/crispy-doom: Version bump to 5.9.1 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.1.ebuild | 71 ++++++++++++++++++++++++++ 2 files changed, 72 insertions(+) diff --git a/games-fps/crispy-doom/Manifest b/games-fps/crispy-doom/Manifest index 1798910..4532e0d 100644 --- a/games-fps/crispy-doom/Manifest +++ b/games-fps/crispy-doom/Manifest @@ -1 +1,2 @@ +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.1.ebuild b/games-fps/crispy-doom/crispy-doom-5.9.1.ebuild new file mode 100644 index 0000000..cb2ce13 --- /dev/null +++ b/games-fps/crispy-doom/crispy-doom-5.9.1.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 +}