diff --git a/recipes-core/images/core-image-minimal.bbappend b/recipes-core/images/core-image-minimal.bbappend index bacbc5c..86c25db 100644 --- a/recipes-core/images/core-image-minimal.bbappend +++ b/recipes-core/images/core-image-minimal.bbappend @@ -8,7 +8,8 @@ EXTRA_USERS_PARAMS = "usermod -p BJpK8ADNDLsGg root; \ usermod -a -G video diya; \ usermod -a -G tty diya; \ usermod -a -G input diya; \ - usermod -a -G dialout diya \ + usermod -a -G dialout diya; \ + usermod -a -G sudo diya \ " IMAGE_BOOT_FILES:append = "fs_resize" @@ -20,10 +21,12 @@ IMAGE_INSTALL:append = "libcurl \ libgl-mesa \ libglapi \ libudev \ + udev \ glew \ freetype \ freeglut \ mesa \ + sudo \ libsdl2 \ libsdl2-ttf \ libsdl2-image \ diff --git a/recipes-example/example/files/sdl_test.cpp b/recipes-example/example/files/sdl_test.cpp index b200fec..174a227 100644 --- a/recipes-example/example/files/sdl_test.cpp +++ b/recipes-example/example/files/sdl_test.cpp @@ -84,10 +84,10 @@ int main( int argc, char** argv ) running = false; break; case SDL_KEYDOWN: - if(ev.key.keysym.sym == SDLK_ESCAPE) - { - running = false; - } + //if(ev.key.keysym.sym == SDLK_ESCAPE) + //{ + running = false; + //} break; case SDL_FINGERDOWN: case SDL_FINGERMOTION: diff --git a/recipes-graphics/libsdl2/libsdl2_%.bbappend b/recipes-graphics/libsdl2/libsdl2_%.bbappend index 5633067..3bde0fc 100644 --- a/recipes-graphics/libsdl2/libsdl2_%.bbappend +++ b/recipes-graphics/libsdl2/libsdl2_%.bbappend @@ -1,4 +1,4 @@ -DEPENS += " mesa libdrm alsa virtual/libgbm virtual/libgles2 libudev " +DEPENS += " mesa libdrm alsa virtual/libgbm virtual/libgles2 udev libudev " PACKAGECONFIG = " kmsdrm opengl gles2 alsa libusb " # PACKAGECONFIG:remove = "x11 wayland" \ No newline at end of file