Skip to content

Commit

Permalink
Add openmpt rules (#193)
Browse files Browse the repository at this point in the history
* Create rules for openmpt port

openmpt is currently a private repository containing R bindings for libopenmpt. These rules are required to set up a CHECK workflow for the R package.

* Fix for https://github.com/rstudio/r-system-requirements/pull/191/files/0b5780a5e810f6aad6c15c56c6f1714d5b1f930c#r1819909228

* Update rules/openmpt.json

* Update rules/openmpt.json

---------

Co-authored-by: Greg Lin <[email protected]>
  • Loading branch information
pepijn-devries and glin authored Oct 29, 2024
1 parent ae572f6 commit 2438bc7
Showing 1 changed file with 61 additions and 0 deletions.
61 changes: 61 additions & 0 deletions rules/openmpt.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
{
"patterns": ["\\bopenmpt\\b"],
"dependencies": [
{
"packages": ["libopenmpt-dev", "portaudio19-dev"],
"constraints": [
{
"os": "linux",
"distribution": "ubuntu"
},
{
"os": "linux",
"distribution": "debian"
}
]
},
{
"packages": ["libopenmpt-devel", "portaudio-devel"],
"constraints": [
{
"os": "linux",
"distribution": "opensuse"
},
{
"os": "linux",
"distribution": "fedora"
}
]
},
{
"packages": ["libopenmpt-devel", "portaudio-devel"],
"pre_install": [
{ "command": "yum install -y epel-release" }
],
"constraints": [
{
"os": "linux",
"distribution": "centos"
},
{
"os": "linux",
"distribution": "rockylinux"
},
{
"os": "linux",
"distribution": "redhat"
}
]
},
{
"packages": ["libopenmpt-dev", "portaudio-dev"],
"constraints": [
{
"os": "linux",
"distribution": "alpine",
"versions": [ "3.18", "3.19", "3.20", "edge" ]
}
]
}
]
}

0 comments on commit 2438bc7

Please sign in to comment.