diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 9b4d17d6..64573fbe 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -5,6 +5,6 @@ RUN env DEBIAN_FRONTEND=noninteractive \ RUN env DEBIAN_FRONTEND=noninteractive \ apt-get install -y \ - git cmake ninja-build pkg-config nano clang clang-format \ + git cmake ninja-build pkg-config nano clang clang-format clang-tidy clang-tools \ libgl1-mesa-dev libgles2-mesa-dev libegl1-mesa-dev libdrm-dev libgbm-dev fonts-liberation fontconfig libsystemd-dev libinput-dev libudev-dev libxkbcommon-dev libseat-dev \ libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libgstreamer-plugins-bad1.0-dev gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly gstreamer1.0-plugins-bad gstreamer1.0-libav gstreamer1.0-alsa diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 61ce7f23..60745685 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -7,13 +7,10 @@ "build": { "dockerfile": "Dockerfile" }, - // Features to add to the dev container. More info: https://containers.dev/features. // "features": {}, - // Use 'forwardPorts' to make a list of ports inside the container available locally. // "forwardPorts": [], - // Configure tool-specific properties. // "customizations": {}, "customizations": { @@ -27,11 +24,11 @@ // Add the IDs of extensions you want installed when the container is created. "extensions": [ "ms-vscode.cpptools-extension-pack", - "ms-vscode.cmake-tools" + "ms-vscode.cmake-tools", + "github.vscode-github-actions" ] } } - // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. // "remoteUser": "root" } diff --git a/.gitignore b/.gitignore index b5f189bb..c4a9d2c9 100644 --- a/.gitignore +++ b/.gitignore @@ -70,4 +70,32 @@ _deps modules.order Module.symvers Mkfile.old -dkms.conf \ No newline at end of file +dkms.conf + +# MacOS gitignores +# General +.DS_Store +.AppleDouble +.LSOverride + +# Icon must end with two \r +Icon + +# Thumbnails +._* + +# Files that might appear in the root of a volume +.DocumentRevisions-V100 +.fseventsd +.Spotlight-V100 +.TemporaryItems +.Trashes +.VolumeIcon.icns +.com.apple.timemachine.donotpresent + +# Directories potentially created on remote AFP share +.AppleDB +.AppleDesktop +Network Trash Folder +Temporary Items +.apdisk diff --git a/CMakePresets.json b/CMakePresets.json index 66dbdfa1..69297144 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -10,7 +10,32 @@ "cacheVariables": { "CMAKE_BUILD_TYPE": "Debug", "CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}", - "ENABLE_OPENGL": true + "ENABLE_OPENGL": true, + "BUILD_GSTREAMER_AUDIO_PLAYER_PLUGIN": true + } + }, + { + "name": "cross-aarch64-default", + "displayName": "OpenGL AArch64 cross-build", + "description": "Sets Ninja generator, build and install directory", + "generator": "Ninja", + "binaryDir": "${sourceDir}/out/build/${presetName}", + "inherits": "default", + "cacheVariables": { + "CMAKE_C_COMPILER": "clang", + "CMAKE_C_COMPILER_TARGET": "aarch64-linux-gnu" + } + }, + { + "name": "cross-armhf-default", + "displayName": "OpenGL armhf cross-build", + "description": "Sets Ninja generator, build and install directory", + "generator": "Ninja", + "binaryDir": "${sourceDir}/out/build/${presetName}", + "inherits": "default", + "cacheVariables": { + "CMAKE_C_COMPILER": "clang", + "CMAKE_C_COMPILER_TARGET": "arm-linux-gnueabihf" } } ]