diff --git a/CODEOWNERS b/CODEOWNERS index 814b0352..ac5f64ae 100644 --- a/CODEOWNERS +++ b/CODEOWNERS @@ -24,3 +24,4 @@ update-checker.sh @flathub/reviewers /lzo/ @AKoskovich /squashfs-tools/ @AKoskovich /libayatana-appindicator/ @AKoskovich +/SDL2/ @tothxa diff --git a/SDL2/SDL2_image.json b/SDL2/SDL2_image.json new file mode 100644 index 00000000..3be70fa1 --- /dev/null +++ b/SDL2/SDL2_image.json @@ -0,0 +1,27 @@ +{ + "name": "SDL2_image", + "config-opts": [ + "-DSDL2IMAGE_DEPS_SHARED=OFF", + "-DSDL2IMAGE_STRICT=ON" + ], + "cleanup": [ + "/include", + "/lib/cmake", + "/lib/pkgconfig" + ], + "buildsystem": "cmake-ninja", + "builddir": true, + "sources": [ + { + "type": "archive", + "url": "https://github.com/libsdl-org/SDL_image/releases/download/release-2.8.8/SDL2_image-2.8.8.tar.gz", + "sha256": "2213b56fdaff2220d0e38c8e420cbe1a83c87374190cba8c70af2156097ce30a", + "x-checker-data": { + "type": "anitya", + "project-id": 382729, + "stable-only": true, + "url-template": "https://github.com/libsdl-org/SDL_image/releases/download/release-$version/SDL2_image-$version.tar.gz" + } + } + ] +} diff --git a/SDL2/SDL2_ttf.json b/SDL2/SDL2_ttf.json new file mode 100644 index 00000000..9b0fdffb --- /dev/null +++ b/SDL2/SDL2_ttf.json @@ -0,0 +1,29 @@ +{ + "name": "SDL2_ttf", + "config-opts": [ + "-DSDL2TTF_HARFBUZZ=ON" + ], + "cleanup": [ + "/include", + "/lib/cmake", + "/lib/pkgconfig" + ], + "buildsystem": "cmake-ninja", + "builddir": true, + "sources": [ + { + "type": "archive", + "url": "https://github.com/libsdl-org/SDL_ttf/releases/download/release-2.24.0/SDL2_ttf-2.24.0.tar.gz", + "sha256": "0b2bf1e7b6568adbdbc9bb924643f79d9dedafe061fa1ed687d1d9ac4e453bfd", + "x-checker-data": { + "type": "anitya", + "project-id": 4784, + "stable-only": true, + "versions": { + "<": "3.0.0" + }, + "url-template": "https://github.com/libsdl-org/SDL_ttf/releases/download/release-$version/SDL2_ttf-$version.tar.gz" + } + } + ] +}