summaryrefslogtreecommitdiff
path: root/app-misc/openrgb/files/OpenRGB-1.0rc3-mbedtls-20260825.patch
blob: 7006117eb2ea017f4924328d214e0a0b35ab39f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Use net-libs/mbedtls:3 instead of :0
Upstream intended to use 3, but in gentoo the naming is different

https://gitlab.com/CalcProgrammer1/OpenRGB/-/merge_requests/2728
https://bugs.gentoo.org/963058

--- a/OpenRGB.pro
+++ b/OpenRGB.pro
@@ -464,6 +464,7 @@ contains(QMAKE_PLATFORM, linux) {
     CONFIG += link_pkgconfig
 
     PKGCONFIG +=                                                                                \
+    mbedtls-3 mbedx509-3 mbedcrypto-3 \
     libusb-1.0
 
     TARGET = $$lower($$TARGET)
@@ -482,10 +483,7 @@ contains(QMAKE_PLATFORM, linux) {
         LIBS += -L/usr/lib/mbedtls/
     }
 
     LIBS +=                                                                                     \
-    -lmbedx509                                                                                  \
-    -lmbedtls                                                                                   \
-    -lmbedcrypto                                                                                \
     -ldl                                                                                        \
 
     COMPILER_VERSION = $$system($$QMAKE_CXX " -dumpversion")