-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
games-fps/prboom-plus: Bump to version 2.5.1.5.4540.1
The non-free USE flag is removed because non-free assets are no longer provided in the source tarball. The png USE flag is removed since sdl2-image provides that functionality now. The sdl-image and sdl-mixer USE flags are renamed to sdl2-image and sdl2-mixer respectively to match the use of the matching SDL2 libraries now. Closes: https://bugs.gentoo.org/703610 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com>
- Loading branch information
1 parent
834a179
commit 22a7bff
Showing
4 changed files
with
75 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
DIST prboom-plus-2.5.1.4.tar.gz 3007237 BLAKE2B 3dce8aad6fb521d13cf3e6b48a261f010b545bafa853860b284be0d0772f65b4fa0bfa965f7cb1869cc0d0eb21a4237e1873d08ff56d439cb3eed00f82bf12fb SHA512 625b75c5fe663bb3ba54bcd90f914ad7461c0860448f6f179180de26bea0a4d766739c50f96a8245687bc213742ec53bf6ffa26cde09772b3ae0bba91662213e | ||
DIST prboom-plus-2.5.1.5.4540.1.tar.xz 1023228 BLAKE2B 5b1c6aa80516cef4ced73701b640a261188c6eed818a204ef19f183061c0456f4af70dc8b466c240f5c8985903fe4daf0fed42cd32b47849c02b6c890fa807f0 SHA512 9fe207a395d92305dd3b89a38bc1376de6bd2a7bb29d454da42aea03a4ded82b49033d482d97c76377cbd1ecb7d8a65c9e0948af81ecd4e10bd49b0bad791bbc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
# Copyright 2019-2020 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=7 | ||
|
||
inherit autotools desktop xdg | ||
|
||
MY_PV=$(ver_rs 4 "+svn" 5 "+dfsg") | ||
MY_P=${PN}-${MY_PV} | ||
DESCRIPTION="An enhanced clone of the classic first-person shooter Doom" | ||
HOMEPAGE="https://prboom-plus.sourceforge.net" | ||
SRC_URI="http://deb.debian.org/debian/pool/main/p/prboom-plus/${PN}_${MY_PV}.orig.tar.xz -> ${P}.tar.xz" | ||
|
||
LICENSE="BSD BSD-with-disclosure GPL-2+ LGPL-2.1+ MIT public-domain" | ||
SLOT="0" | ||
KEYWORDS="~amd64 ~x86" | ||
IUSE="dumb fluidsynth mad net +opengl +pcre portmidi sdl2-image +sdl2-mixer vorbis" | ||
REQUIRED_USE="sdl2-image? ( opengl )" | ||
|
||
DEPEND=" | ||
media-libs/libsdl2[opengl?,joystick,sound,video] | ||
dumb? ( media-libs/dumb ) | ||
fluidsynth? ( media-sound/fluidsynth:= ) | ||
mad? ( media-libs/libmad ) | ||
net? ( media-libs/sdl2-net ) | ||
pcre? ( dev-libs/libpcre:3 ) | ||
portmidi? ( media-libs/portmidi ) | ||
sdl2-image? ( media-libs/sdl2-image ) | ||
sdl2-mixer? ( media-libs/sdl2-mixer[midi] ) | ||
vorbis? ( media-libs/libvorbis )" | ||
RDEPEND="${DEPEND}" | ||
|
||
S=${WORKDIR}/${MY_P} | ||
PATCHES="${FILESDIR}/${PN}-2.5.1.4-Remove-nonstandard-gamesdir-variable.patch" | ||
|
||
src_prepare(){ | ||
xdg_src_prepare | ||
eautoreconf | ||
} | ||
|
||
src_configure() { | ||
econf \ | ||
--disable-cpu-opt \ | ||
--disable-nonfree-graphics \ | ||
$(use_enable opengl gl) \ | ||
$(use_with dumb) \ | ||
$(use_with fluidsynth) \ | ||
$(use_with mad) \ | ||
$(use_with net) \ | ||
$(use_with pcre) \ | ||
$(use_with portmidi) \ | ||
$(use_with sdl2-image image) \ | ||
$(use_with sdl2-mixer mixer) \ | ||
$(use_with vorbis vorbisfile) \ | ||
--with-waddir="${EPREFIX}/usr/share/doom" | ||
} | ||
|
||
src_install(){ | ||
default | ||
doicon ICONS/${PN}.svg | ||
domenu ICONS/${PN}.desktop | ||
} |