mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 22:47:14 -08:00
games-fps/prboom-plus: drop 2.6
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST prboom-plus-2.6.1.tar.gz 1555792 BLAKE2B accb919039b966952340a18b3a37b9c2401a20c1f9562829ba531bf4dafc5e876d7d1212e9ba58886c7469a86b3170c48973cbd8af8ab03d1f2d685813c39607 SHA512 6ae628a453930d4fe3901d186a7c450276d023db6b38e678463f52d463a697819cea1022510030f7405bee8244c3dec04d00741fee8de839775e6e0965f0df39
|
||||
DIST prboom-plus-2.6.tar.gz 1526732 BLAKE2B 00c0eeb0dfb5a99a427c986e557b6616e69be3b98373582c3aa54585136e3a16b67c0176faec59ebc011112bc8764da78b34215ae4c00b490f12820b26704e45 SHA512 c2f8c6895683ee22d729ad2c9dc10bd821e5bdb55d75b88b4c6db25b8f3604370d18285677660c82761912a159b0c1068a6fcf1c8333e20d849fa1087a74800f
|
||||
|
||||
-29
@@ -1,29 +0,0 @@
|
||||
From 9f56505b7c41337cab3a6ce3f882cf8df6bf29a9 Mon Sep 17 00:00:00 2001
|
||||
From: William Breathitt Gray <vilhelm.gray@gmail.com>
|
||||
Date: Mon, 22 Feb 2021 18:27:24 +0900
|
||||
Subject: [PATCH] Set CMAKE_INSTALL_DOCDIR as a cache entry
|
||||
|
||||
CMAKE_INSTALL_DOCDIR is being unconditionally set which prevents users
|
||||
from supplying their own docdir preference. This changes the behavior to
|
||||
set CMAKE_INSTALL_DOCDIR as a cache entry so that users can override the
|
||||
default install location if they so wish.
|
||||
---
|
||||
prboom2/CMakeLists.txt | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/prboom2/CMakeLists.txt b/prboom2/CMakeLists.txt
|
||||
index 9c2c1fde..3110d7f3 100644
|
||||
--- a/prboom2/CMakeLists.txt
|
||||
+++ b/prboom2/CMakeLists.txt
|
||||
@@ -38,7 +38,7 @@ set(PACKAGE_TARNAME "prboom-plus")
|
||||
set(PACKAGE_VERSION "${PROJECT_VERSION}um")
|
||||
set(PACKAGE_HOMEPAGE "${PROJECT_HOMEPAGE_URL}")
|
||||
set(PACKAGE_STRING "${PROJECT_NAME} ${PROJECT_VERSION}")
|
||||
-set(CMAKE_INSTALL_DOCDIR "${CMAKE_INSTALL_DATAROOTDIR}/doc/${PACKAGE_TARNAME}")
|
||||
+set(CMAKE_INSTALL_DOCDIR "${CMAKE_INSTALL_DATAROOTDIR}/doc/${PACKAGE_TARNAME}" CACHE PATH "")
|
||||
|
||||
include(CheckSymbolExists)
|
||||
|
||||
--
|
||||
2.30.1
|
||||
|
||||
@@ -1,63 +0,0 @@
|
||||
# Copyright 2019-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake desktop xdg
|
||||
|
||||
DESCRIPTION="An enhanced clone of the classic first-person shooter Doom"
|
||||
HOMEPAGE="https://github.com/coelckers/prboom-plus/"
|
||||
SRC_URI="http://deb.debian.org/debian/pool/main/p/prboom-plus/${PN}_${PV}um.orig.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+ GPL-3+ BSD BSD-2 BSD-with-disclosure CC-BY-3.0 CC0-1.0 LGPL-2.1+ MIT public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="dumb fluidsynth mad net +opengl +pcre portmidi sdl2-image +sdl2-mixer server vorbis zlib"
|
||||
REQUIRED_USE="server? ( net )"
|
||||
|
||||
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 )
|
||||
zlib? ( sys-libs/zlib )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${P}um/prboom2"
|
||||
|
||||
src_prepare() {
|
||||
eapply -p2 "${FILESDIR}/${P}-Set-CMAKE_INSTALL_DOCDIR-as-a-cache-entry.patch"
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_GL="$(usex opengl)"
|
||||
-DWITH_IMAGE="$(usex sdl2-image)"
|
||||
-DWITH_MIXER="$(usex sdl2-mixer)"
|
||||
-DWITH_NET="$(usex net)"
|
||||
-DWITH_PCRE="$(usex pcre)"
|
||||
-DWITH_ZLIB="$(usex zlib)"
|
||||
-DWITH_MAD="$(usex mad)"
|
||||
-DWITH_FLUIDSYNTH="$(usex fluidsynth)"
|
||||
-DWITH_DUMB="$(usex dumb)"
|
||||
-DWITH_VORBISFILE="$(usex vorbis)"
|
||||
-DWITH_PORTMIDI="$(usex portmidi)"
|
||||
-DDOOMWADDIR="${EPREFIX}/usr/share/doom"
|
||||
-DWAD_DATA_PATH="${EPREFIX}/usr/share/doom"
|
||||
-DBUILD_SERVER="$(usex server)"
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
doicon -s scalable ICONS/${PN}.svg
|
||||
domenu ICONS/${PN}.desktop
|
||||
cmake_src_install
|
||||
}
|
||||
Reference in New Issue
Block a user