Skip to content

Commit

Permalink
exclude ffmpeg shared libs
Browse files Browse the repository at this point in the history
  • Loading branch information
jmir1 committed Jan 3, 2023
1 parent 6f6f1b1 commit 7f49426
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# mpv for Android
# THIS DOESN'T WORK WITHOUT ANIYOMI-FFMPEG-KIT

# mpv for Aniyomi

[![Build Status](https://api.travis-ci.com/mpv-android/mpv-android.svg?branch=master)](https://app.travis-ci.com/github/mpv-android/mpv-android)

Expand Down
15 changes: 13 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ android {
minSdkVersion 21
targetSdkVersion 33
versionCode 29
versionName "1.6"
versionName "1.8.n"
vectorDrawables.useSupportLibrary = true
}

Expand Down Expand Up @@ -42,6 +42,17 @@ android {
universalApk true // build an APK with all ABIs too
}
}

packagingOptions {
exclude '**/libavcodec.so'
exclude '**/libavdevice.so'
exclude '**/libavfilter.so'
exclude '**/libavformat.so'
exclude '**/libavutil.so'
exclude '**/libswresample.so'
exclude '**/libswscale.so'
exclude '**/libc++_shared.so'
}
}

dependencies {
Expand All @@ -53,7 +64,7 @@ dependencies {
}

def getVersionName = { ->
return "1.6"
return "1.8.n"
}

def getGroupId = { ->
Expand Down

0 comments on commit 7f49426

Please sign in to comment.