Skip to content

Commit 231e052

Browse files
authored
Add SDL2-image and SDL2-ttf
1 parent e6abb31 commit 231e052

File tree

3 files changed

+57
-0
lines changed

3 files changed

+57
-0
lines changed

CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,4 @@ update-checker.sh @flathub/reviewers
2424
/lzo/ @AKoskovich
2525
/squashfs-tools/ @AKoskovich
2626
/libayatana-appindicator/ @AKoskovich
27+
/SDL2/ @tothxa

SDL2/SDL2_image.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"name": "SDL2_image",
3+
"config-opts": [
4+
"-DSDL2IMAGE_DEPS_SHARED=OFF",
5+
"-DSDL2IMAGE_STRICT=ON"
6+
],
7+
"cleanup": [
8+
"/include",
9+
"/lib/cmake",
10+
"/lib/pkgconfig"
11+
],
12+
"buildsystem": "cmake-ninja",
13+
"builddir": true,
14+
"sources": [
15+
{
16+
"type": "archive",
17+
"url": "https://github.com/libsdl-org/SDL_image/releases/download/release-2.8.8/SDL2_image-2.8.8.tar.gz",
18+
"sha256": "2213b56fdaff2220d0e38c8e420cbe1a83c87374190cba8c70af2156097ce30a",
19+
"x-checker-data": {
20+
"type": "anitya",
21+
"project-id": 382729,
22+
"stable-only": true,
23+
"url-template": "https://github.com/libsdl-org/SDL_image/releases/download/release-$version/SDL2_image-$version.tar.gz"
24+
}
25+
}
26+
]
27+
}

SDL2/SDL2_ttf.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"name": "SDL2_ttf",
3+
"config-opts": [
4+
"-DSDL2TTF_HARFBUZZ=ON"
5+
],
6+
"cleanup": [
7+
"/include",
8+
"/lib/cmake",
9+
"/lib/pkgconfig"
10+
],
11+
"buildsystem": "cmake-ninja",
12+
"builddir": true,
13+
"sources": [
14+
{
15+
"type": "archive",
16+
"url": "https://github.com/libsdl-org/SDL_ttf/releases/download/release-2.24.0/SDL2_ttf-2.24.0.tar.gz",
17+
"sha256": "0b2bf1e7b6568adbdbc9bb924643f79d9dedafe061fa1ed687d1d9ac4e453bfd",
18+
"x-checker-data": {
19+
"type": "anitya",
20+
"project-id": 4784,
21+
"stable-only": true,
22+
"versions": {
23+
"<": "3.0.0"
24+
},
25+
"url-template": "https://github.com/libsdl-org/SDL_ttf/releases/download/release-$version/SDL2_ttf-$version.tar.gz"
26+
}
27+
}
28+
]
29+
}

0 commit comments

Comments
 (0)