File OpenRGB-use_system_libs.patch of Package OpenRGB

Index: OpenRGB-release_0.8/OpenRGB.pro
===================================================================
--- OpenRGB-release_0.8.orig/OpenRGB.pro
+++ OpenRGB-release_0.8/OpenRGB.pro
@@ -63,7 +63,6 @@ INCLUDEPATH +=
     dependencies/hueplusplus-1.0.0/include/hueplusplus                                          \
     dependencies/httplib                                                                        \
     dependencies/json/                                                                          \
-    dependencies/libe131/src/                                                                   \
     dependencies/libcmmk/include/                                                               \
     dependencies/mdns                                                                           \
     i2c_smbus/                                                                                  \
@@ -604,7 +603,6 @@ SOURCES +=
     dependencies/hueplusplus-1.0.0/src/UPnP.cpp                                                 \
     dependencies/hueplusplus-1.0.0/src/Utils.cpp                                                \
     dependencies/hueplusplus-1.0.0/src/ZLLSensors.cpp                                           \
-    dependencies/libe131/src/e131.c                                                             \
     dependencies/libcmmk/src/libcmmk.c                                                          \
     main.cpp                                                                                    \
     cli.cpp                                                                                     \
@@ -1373,6 +1371,7 @@ contains(QMAKE_PLATFORM, linux) {
     -lmbedx509                                                                                  \
     -lmbedtls                                                                                   \
     -lmbedcrypto                                                                                \
+    $$system(pkg-config --libs libe131)                                                         \
 
     COMPILER_VERSION = $$system($$QMAKE_CXX " -dumpversion")
     if (!versionAtLeast(COMPILER_VERSION, "9")) {
openSUSE Build Service is sponsored by