From 12c0cc3abe7ee1e42f5b32c2f451a1c10d7f0c7d Mon Sep 17 00:00:00 2001
From: Alexander Golubev <fatzer2@gmail.com>
Date: Tue, 19 Aug 2025 12:24:26 +0300
Subject: trinity-apps/kvpnc: make USE=libreswan and strongswan mutually
 exclusive

Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
---
 trinity-apps/kvpnc/kvpnc-14.1.1.ebuild | 3 ++-
 trinity-apps/kvpnc/kvpnc-14.1.2.ebuild | 3 ++-
 trinity-apps/kvpnc/kvpnc-9999.ebuild   | 3 ++-
 3 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/trinity-apps/kvpnc/kvpnc-14.1.1.ebuild b/trinity-apps/kvpnc/kvpnc-14.1.1.ebuild
index 34b67c5f..9fa56b77 100644
--- a/trinity-apps/kvpnc/kvpnc-14.1.1.ebuild
+++ b/trinity-apps/kvpnc/kvpnc-14.1.1.ebuild
@@ -1,5 +1,5 @@
 # Copyright 1999-2023 Gentoo Authors
-# Copyright 2020-2023 The Trinity Desktop Project
+# Copyright 2020-2025 The Trinity Desktop Project
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="8"
@@ -20,6 +20,7 @@ if [[ ${PV} != *9999* ]] ; then
 	KEYWORDS="~amd64 ~arm64 ~x86"
 fi
 IUSE="cisco libreswan +openvpn pptpd smartcard strongswan"
+REQUIRED_USE="?? ( libreswan strongswan )"
 
 # Other VPN clients will be added by request, controlled over USE.
 #		 If you miss any, please let us know!
diff --git a/trinity-apps/kvpnc/kvpnc-14.1.2.ebuild b/trinity-apps/kvpnc/kvpnc-14.1.2.ebuild
index 38759300..cbe04acb 100644
--- a/trinity-apps/kvpnc/kvpnc-14.1.2.ebuild
+++ b/trinity-apps/kvpnc/kvpnc-14.1.2.ebuild
@@ -1,5 +1,5 @@
 # Copyright 1999-2024 Gentoo Authors
-# Copyright 2020-2024 The Trinity Desktop Project
+# Copyright 2020-2025 The Trinity Desktop Project
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="8"
@@ -20,6 +20,7 @@ if [[ ${PV} != *9999* ]] ; then
 	KEYWORDS="~amd64 ~arm64 ~x86"
 fi
 IUSE="cisco libreswan +openvpn pptpd smartcard strongswan"
+REQUIRED_USE="?? ( libreswan strongswan )"
 
 # Other VPN clients will be added by request, controlled over USE.
 #		 If you miss any, please let us know!
diff --git a/trinity-apps/kvpnc/kvpnc-9999.ebuild b/trinity-apps/kvpnc/kvpnc-9999.ebuild
index 0ef0f3cd..afb48e89 100644
--- a/trinity-apps/kvpnc/kvpnc-9999.ebuild
+++ b/trinity-apps/kvpnc/kvpnc-9999.ebuild
@@ -1,5 +1,5 @@
 # Copyright 1999-2020 Gentoo Authors
-# Copyright 2020 The Trinity Desktop Project
+# Copyright 2020-2025 The Trinity Desktop Project
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="8"
@@ -20,6 +20,7 @@ if [[ ${PV} != *9999* ]] ; then
 	KEYWORDS="~amd64 ~arm64 ~x86"
 fi
 IUSE="cisco libreswan +openvpn pptpd smartcard strongswan"
+REQUIRED_USE="?? ( libreswan strongswan )"
 
 # Other VPN clients will be added by request, controlled over USE.
 #		 If you miss any, please let us know!
-- 
cgit v1.2.3

