File OpenRGB-use_system_libs.patch of Package OpenRGB

diff -rub OpenRGB-release_0.9.orig/OpenRGB.pro OpenRGB-release_0.9.patch/OpenRGB.pro
--- OpenRGB-release_0.9.orig/OpenRGB.pro	2023-07-10 05:51:47.000000000 +0200
+++ OpenRGB-release_0.9.patch/OpenRGB.pro	2023-07-14 15:54:00.355006793 +0200
@@ -108,7 +108,6 @@ INCLUDEPATH +=
     dependencies/hueplusplus-1.1.0/include/hueplusplus                                          \
     dependencies/httplib                                                                        \
     dependencies/json/                                                                          \
-    dependencies/libe131/src/                                                                   \
     dependencies/mdns                                                                           \
     dmiinfo/                                                                                    \
     hidapi_wrapper/                                                                             \
@@ -197,7 +196,6 @@ SOURCES +=
     dependencies/hueplusplus-1.1.0/src/UPnP.cpp                                                 \
     dependencies/hueplusplus-1.1.0/src/Utils.cpp                                                \
     dependencies/hueplusplus-1.1.0/src/ZLLSensors.cpp                                           \
-    dependencies/libe131/src/e131.c                                                             \
     main.cpp                                                                                    \
     cli.cpp                                                                                     \
     dmiinfo/dmiinfo.cpp                                                                         \
@@ -493,6 +491,7 @@ contains(QMAKE_PLATFORM, linux) {
     -lmbedtls                                                                                   \
     -lmbedcrypto                                                                                \
     -ldl                                                                                        \
+    $$system(pkg-config --libs libe131)                                                         \
 
     COMPILER_VERSION = $$system($$QMAKE_CXX " -dumpversion")
     if (!versionAtLeast(COMPILER_VERSION, "9")) {
openSUSE Build Service is sponsored by