serdisplib: update to 2.02

Use standard PKG_INSTALL. Added patch to fix compilation with it.

Use PKG_INSTALL_DIR as a result.

Added PKG_BUILD_PARALLEL for faster compilation.

Fixed license information.

Add build depends for libusb as it is needed for compilation.

Various small cleanups.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2020-02-15 20:38:29 -08:00
parent 11f7efd3a2
commit 9a2f67de84
4 changed files with 125 additions and 44 deletions
@@ -1,8 +1,6 @@
Index: serdisplib-2.01/src/serdisp_specific_framebuffer.c
===================================================================
--- serdisplib-2.01.orig/src/serdisp_specific_framebuffer.c
+++ serdisplib-2.01/src/serdisp_specific_framebuffer.c
@@ -306,13 +306,15 @@ serdisp_t* serdisp_framebuffer_setup(con
--- a/src/serdisp_specific_framebuffer.c
+++ b/src/serdisp_specific_framebuffer.c
@@ -312,13 +312,15 @@ serdisp_t* serdisp_framebuffer_setup(con
if (fb_success) {
/* check if colour mode is supported */