Skip to content

Commit 90b6b78

Browse files
committed
docs: add gradle usage and supported platforms
1 parent 8b8075f commit 90b6b78

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

README.md

+40
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,43 @@ Artifacts can be found here: https://reposilite.silenium.dev/#/releases/dev/sile
1010
- Kotlin wrapper to load the dynamic ffmpeg libraries into JNI
1111
- zipped builds that contain all output files produced by the build, can be used to link your own code against
1212
- platform naming scheme and detection is provided by https://github.com/silenium-dev/jni-utils
13+
14+
## Use in a Gradle project
15+
16+
```kotlin
17+
repositories {
18+
maven("https://reposilite.silenium.dev/releases") {
19+
name = "silenium-releases"
20+
}
21+
}
22+
23+
dependencies {
24+
implementation("dev.silenium.libs.ffmpeg:ffmpeg-natives:7.0+0.2.0")
25+
implementation("dev.silenium.libs.ffmpeg:ffmpeg-natives-linux-x86_64:7.0+0.2.0") // replace "linux-x86_64" with your platform
26+
}
27+
```
28+
29+
## Platforms
30+
31+
### Supported
32+
33+
- Linux arm64/aarch64
34+
- Linux armv7/armhf
35+
- Linux x86_64/amd64
36+
- Linux x86/i686
37+
- Linux ppc64le
38+
39+
### Planned
40+
41+
- Android arm64/aarch64
42+
- Android armv7/armhf
43+
- Android x86_64/amd64
44+
- Android x86/i686
45+
- Windows x86_64/amd64
46+
- Windows x86/i686
47+
48+
### Not planned / low priority
49+
50+
- macOS x86_64/amd64
51+
- macOS arm64/aarch64
52+
- macOS x86/i686

0 commit comments

Comments
 (0)