net-proxy/qvplugin-trojan: raise cmake_minimum_required to 3.10
The plugin and its bundled QvPlugin-Interface declare cmake_minimum_required(VERSION 3.1.0), which CMake 4 no longer supports, and the other bundled sources stay below 3.10. Upstream is archived, so raise them in src_prepare. Bug: https://bugs.gentoo.org/951350 Bug: https://bugs.gentoo.org/964405 Signed-off-by: Zakk <zakk@gentoozh.org>
This commit is contained in:
1 parent
b036e6763e
commit
de67a5e413
1 file changed
+4
@@ -49,6 +49,10 @@ src_unpack() {
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e 's/rfc2818_verification/host_name_verification/' trojan/src/core/service.cpp || die
|
||||
# ensure cmake_minimum_required >=3.10 (Bug: 951350, 964405)
|
||||
sed -e '/cmake_minimum_required/s/3\.1\.0/3.10/' \
|
||||
-i CMakeLists.txt interface/Qv{,GUI}PluginInterface.cmake || die
|
||||
sed -e '/cmake_minimum_required/s/3\.7\.2/3.10/' -i trojan/CMakeLists.txt || die
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user