File OpenRGB-use_system_libs.patch of Package OpenRGB

diff --git a/OpenRGB.pro b/OpenRGB.pro
index db3bc0d..205b318 100644
--- a/OpenRGB.pro
+++ b/OpenRGB.pro
@@ -43,7 +43,6 @@ INCLUDEPATH +=
     dependencies/ColorWheel                                                                     \
     dependencies/CRCpp/                                                                         \
     dependencies/json/                                                                          \
-    dependencies/libe131/src/                                                                   \
     i2c_smbus/                                                                                  \
     i2c_tools/                                                                                  \
     net_port/                                                                                   \
@@ -284,7 +283,6 @@ HEADERS +=
 SOURCES +=                                                                                      \
     dependencies/dmiinfo.cpp                                                                    \
     dependencies/ColorWheel/ColorWheel.cpp                                                      \
-    dependencies/libe131/src/e131.c                                                             \
     main.cpp                                                                                    \
     cli.cpp                                                                                     \
     NetworkClient.cpp                                                                           \
@@ -656,6 +654,7 @@ unix:!macx {
     LIBS +=                                                                                     \
     -lusb-1.0                                                                                   \
     -lstdc++fs                                                                                  \
+    $$system(pkg-config --libs libe131)
 
     #-------------------------------------------------------------------------------------------#
     # Determine which hidapi to use based on availability                                       #
openSUSE Build Service is sponsored by