-
-
Notifications
You must be signed in to change notification settings - Fork 793
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
1,079 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[submodule "spotiflyer-ios"] | ||
path = spotiflyer-ios | ||
url = https://github.com/Shabinder/spotiflyer-ios | ||
[submodule "ffmpeg-android-maker"] | ||
path = ffmpeg-android-maker | ||
[submodule "ffmpeg/ffmpeg-android-maker"] | ||
path = ffmpeg/ffmpeg-android-maker | ||
url = https://github.com/Shabinder/ffmpeg-android-maker |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 0 additions & 9 deletions
9
android/src/main/java/com/shabinder/spotiflyer/ffmpeg/FFmpeg.kt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule ffmpeg-android-maker
deleted from
b1dc4b
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
plugins { | ||
id("com.android.library") | ||
id("kotlin-android") | ||
} | ||
|
||
android { | ||
//ndkVersion "22.0.7026061" | ||
compileSdk = Versions.compileSdkVersion | ||
buildToolsVersion = "30.0.3" | ||
|
||
defaultConfig { | ||
consumerProguardFile("proguard-rules.pro") | ||
|
||
minSdk = Versions.minSdkVersion | ||
targetSdk = Versions.targetSdkVersion | ||
|
||
/*versionCode = Versions.versionCode | ||
versionName = Versions.versionName*/ | ||
|
||
ndk { | ||
abiFilters.addAll(setOf("x86", "x86_64", "armeabi-v7a", "arm64-v8a")) | ||
} | ||
} | ||
|
||
sourceSets { | ||
named("main") { | ||
jniLibs.srcDir("../ffmpeg-android-maker/output/lib") | ||
} | ||
} | ||
externalNativeBuild { | ||
cmake { | ||
path("CMakeLists.txt") | ||
} | ||
} | ||
|
||
buildTypes { | ||
getByName("release") { | ||
isMinifyEnabled = false | ||
proguardFiles( | ||
getDefaultProguardFile("proguard-android.txt"), | ||
"proguard-rules.pro" | ||
) | ||
} | ||
} | ||
|
||
compileOptions { | ||
sourceCompatibility = JavaVersion.VERSION_1_8 | ||
targetCompatibility = JavaVersion.VERSION_1_8 | ||
} | ||
|
||
packagingOptions { | ||
resources { | ||
excludes.apply { | ||
add("META-INF/*") | ||
} | ||
jniLibs.pickFirsts.apply { | ||
add("**/*.so") | ||
} | ||
} | ||
} | ||
} | ||
|
||
dependencies { /**/ } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Add project specific ProGuard rules here. | ||
# You can control the set of applied configuration files using the | ||
# proguardFiles setting in build.gradle.kts. | ||
# | ||
# For more details, see | ||
# http://developer.android.com/guide/developing/tools/proguard.html | ||
|
||
-keep class com.arthenica.ffmpegkit.FFmpegKitConfig { | ||
native <methods>; | ||
void log(long, int, byte[]); | ||
void statistics(long, int, float, float, long , int, double, double); | ||
void closeParcelFileDescriptor(int); | ||
} | ||
|
||
-keep class com.arthenica.ffmpegkit.AbiDetect { | ||
native <methods>; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
package="com.shabinder.spotiflyer.ffmpeg"> | ||
|
||
</manifest> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/android_lts_support.o | ||
/libandroidltssupport.a |
Oops, something went wrong.