From 56a094efb31362894e940cca639d670bf482c839 Mon Sep 17 00:00:00 2001
From: Linda Lapinlampi <linda@lindalap.fi>
Date: Tue, 28 Dec 2021 13:27:46 +0000
Subject: [PATCH] plugins: Move the SRB2 plugin to legacy plugins

Disable building the unmaintained SRB2 game plugin by default. It'll now
be behind the BUILD_LEGACY_PLUGINS build option.

In its current state, Doomseeker hasn't adapted to the substantial
changes needed to support the SRB2 game. Its Doom-like master server
(formerly supported by Doomseeker) was shutdown permanently and replaced
with a web interface (without our prior knowledge). Variants of SRB2
exist as downloadable ".exe" mods, which Doomseeker also hasn't adapted
to. Substantial changes would need to be done to support this plugin,
and none of the core Doomseeker maintainers seem to even play SRB2.

As such, support for the SRB2 plugin is discontinued (for now).

Fixes: #3962
See: #3958
---
 src/plugins/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plugins/CMakeLists.txt b/src/plugins/CMakeLists.txt
index 36702df2..be6cfb75 100644
--- a/src/plugins/CMakeLists.txt
+++ b/src/plugins/CMakeLists.txt
@@ -34,7 +34,6 @@ endmacro()
 
 add_opt_subdirectory(chocolate-doom)
 add_opt_subdirectory(odamex)
-add_opt_subdirectory(srb2)
 add_opt_subdirectory(zandronum)
 add_opt_subdirectory(zandronumq)
 add_opt_subdirectory(turok2ex)
@@ -42,6 +41,7 @@ add_opt_subdirectory(turok2ex)
 # For unmaintained source ports
 option(BUILD_LEGACY_PLUGINS "Build plugins for discontinued source ports." OFF)
 if(BUILD_LEGACY_PLUGINS)
+	add_opt_subdirectory(srb2)
 	add_opt_subdirectory(vavoom)
 endif()
 
-- 
2.34.1

