diff --git a/srcpkgs/openrgb/patches/288.patch b/srcpkgs/openrgb/patches/288.patch deleted file mode 100644 index bb44aad70ad..00000000000 --- a/srcpkgs/openrgb/patches/288.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 82db3d9971c7d153b8d506909568ee378bc513aa Mon Sep 17 00:00:00 2001 -From: Martin Hartl -Date: Fri, 1 Jan 2021 18:42:31 +0100 -Subject: [PATCH] Support hidraw USAGE/USAGE_PAGE - -* Support hidapi 0.10.1 and newer ---- - OpenRGB.pro | 9 +++++++++ - 1 file changed, 9 insertions(+) - -diff --git a/OpenRGB.pro b/OpenRGB.pro -index ff2d656a..60542ced 100644 ---- a/OpenRGB.pro -+++ b/OpenRGB.pro -@@ -669,6 +669,15 @@ unix:!macx { - #-------------------------------------------------------------------------------------------# - packagesExist(hidapi-hidraw) { - LIBS += -lhidapi-hidraw -+ -+ #---------------------------------------------------------------------------------------# -+ # hidapi-hidraw >= 0.10.1 supports USAGE/USAGE_PAGE # -+ # Define USE_HID_USAGE if hidapi-hidraw supports it # -+ #---------------------------------------------------------------------------------------# -+ HIDAPI_HIDRAW_VERSION = $$system(pkg-config --modversion hidapi-hidraw) -+ if(versionAtLeast(HIDAPI_HIDRAW_VERSION, "0.10.1")) { -+ DEFINES += USE_HID_USAGE -+ } - } else { - packagesExist(hidapi-libusb) { - LIBS += -lhidapi-libusb --- -GitLab - diff --git a/srcpkgs/openrgb/template b/srcpkgs/openrgb/template index a6f5f0dc3c7..11302147bd2 100644 --- a/srcpkgs/openrgb/template +++ b/srcpkgs/openrgb/template @@ -1,17 +1,17 @@ # Template file for 'openrgb' pkgname=openrgb -version=0.5 -revision=2 +version=0.7 +revision=1 wrksrc=OpenRGB-release_${version} build_style=qmake hostmakedepends="qt5-qmake qt5-host-tools git pkg-config" -makedepends="qt5-devel libusb-devel hidapi-devel" +makedepends="qt5-devel libusb-devel hidapi-devel mbedtls-devel" short_desc="Open source RGB lighting control" maintainer="Neel Chotai " license="GPL-2.0-only" homepage="https://gitlab.com/CalcProgrammer1/OpenRGB" distfiles="https://gitlab.com/CalcProgrammer1/OpenRGB/-/archive/release_${version}/OpenRGB-release_${version}.tar.gz" -checksum=e227dedfe0c3aa8f3bcb0c4149aa5feb1db4b0429a151423d74c0103c55d7d26 +checksum=6052e04ad736f94a91a386f6cfc0aaff9554fafdabe99cdd46a296fd49132569 pre_build() { sed -i 's|rules.path=/lib|rules.path=/usr/lib|g' OpenRGB.pro