Skip to content

Commit

Permalink
Merge pull request #168 from caiohamamura/main
Browse files Browse the repository at this point in the history
Add rule for SDL2
  • Loading branch information
glin authored Jun 24, 2024
2 parents 3a955f8 + 433dd95 commit c8fd1f6
Showing 1 changed file with 112 additions and 0 deletions.
112 changes: 112 additions & 0 deletions rules/sdl2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
{
"patterns": [
"\\bsdl2\\b"
],
"dependencies": [
{
"packages": [
"libsdl2-dev"
],
"constraints": [
{
"os": "linux",
"distribution": "ubuntu"
},
{
"os": "linux",
"distribution": "debian"
}
]
},
{
"packages": [
"SDL2-devel"
],
"constraints": [
{
"os": "linux",
"distribution": "rockylinux"
},
{
"os": "linux",
"distribution": "redhat"
},
{
"os": "linux",
"distribution": "fedora"
},
{
"os": "linux",
"distribution": "sle"
}
]
},
{
"pre_install": [
{
"command": "yum install -y epel-release"
}
],
"packages": [
"SDL2-devel"
],
"constraints": [
{
"os": "linux",
"distribution": "centos",
"versions": [
"6",
"7"
]
}
]
},
{
"pre_install": [
{
"command": "dnf install -y dnf-plugins-core"
},
{
"command": "dnf config-manager --set-enabled powertools"
},
{
"command": "dnf install -y epel-release"
}
],
"packages": [
"SDL2-devel"
],
"constraints": [
{
"os": "linux",
"distribution": "centos",
"versions": [
"8"
]
}
]
},
{
"packages": [
"libSDL2-devel"
],
"constraints": [
{
"os": "linux",
"distribution": "opensuse"
}
]
},
{
"packages": [
"sdl2-dev"
],
"constraints": [
{
"os": "linux",
"distribution": "alpine"
}
]
}
]
}

0 comments on commit c8fd1f6

Please sign in to comment.