Skip to content

Commit

Permalink
docs: add gradle usage and supported platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
silenium-dev committed Jul 28, 2024
1 parent 8b8075f commit 90b6b78
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,43 @@ Artifacts can be found here: https://reposilite.silenium.dev/#/releases/dev/sile
- Kotlin wrapper to load the dynamic ffmpeg libraries into JNI
- zipped builds that contain all output files produced by the build, can be used to link your own code against
- platform naming scheme and detection is provided by https://github.com/silenium-dev/jni-utils

## Use in a Gradle project

```kotlin
repositories {
maven("https://reposilite.silenium.dev/releases") {
name = "silenium-releases"
}
}

dependencies {
implementation("dev.silenium.libs.ffmpeg:ffmpeg-natives:7.0+0.2.0")
implementation("dev.silenium.libs.ffmpeg:ffmpeg-natives-linux-x86_64:7.0+0.2.0") // replace "linux-x86_64" with your platform
}
```

## Platforms

### Supported

- Linux arm64/aarch64
- Linux armv7/armhf
- Linux x86_64/amd64
- Linux x86/i686
- Linux ppc64le

### Planned

- Android arm64/aarch64
- Android armv7/armhf
- Android x86_64/amd64
- Android x86/i686
- Windows x86_64/amd64
- Windows x86/i686

### Not planned / low priority

- macOS x86_64/amd64
- macOS arm64/aarch64
- macOS x86/i686

0 comments on commit 90b6b78

Please sign in to comment.