diff --git a/metadata/com.subtracks.yml b/metadata/com.subtracks.yml new file mode 100644 index 0000000000..9b72390981 --- /dev/null +++ b/metadata/com.subtracks.yml @@ -0,0 +1,67 @@ +Categories: + - Multimedia +License: GPL-3.0-only +AuthorName: austinried +AuthorEmail: subtracks@functionkey.xyz +WebSite: https://github.com/austinried/subtracks +SourceCode: https://github.com/austinried/subtracks +IssueTracker: https://github.com/austinried/subtracks/issues + +AutoName: Subtracks + +RepoType: git +Repo: https://github.com/austinried/subtracks + +Builds: + - versionName: 1.0.1 + versionCode: 3 + commit: v1.0.1 + subdir: android/app + sudo: + - sysctl fs.inotify.max_user_watches=524288 + - curl -Lo node.tar.xz https://nodejs.org/dist/v14.17.5/node-v14.17.5-linux-x64.tar.xz + - echo "2d759de07a50cd7f75bd73d67e97b0d0e095ee3c413efac7d1b3d1e84ed76fff node.tar.xz" + | sha256sum -c - + - tar xJf node.tar.xz + - cp -a node-v14.17.5-linux-x64/. /usr/local/ + - npm -g install yarn + gradle: + - yes + srclibs: + - react-native-reanimated@2.2.0 + prebuild: + - echo -e '\norg.gradle.jvmargs=-Xmx4g -XX:MaxPermSize=4g' >> ../gradle.properties + - echo -e "android { packagingOptions { pickFirst 'lib/**/*.so' } }" >> build.gradle + - cd ../.. + - yarn install + - cd $$react-native-reanimated$$ + - echo -e "android { ndkVersion '21.4.7075529' }" >> build.gradle + - yarn add react-native@0.64.1 + scanignore: + - android/build.gradle + - node_modules/jsc-android + - node_modules/hermes-engine + - node_modules/react-native/android/com/facebook/react/react-native/*/ + - node_modules/react-native-safe-area-context/android/build.gradle + - node_modules/react-native-screens/android/build.gradle + - node_modules/react-native-webview/android/build.gradle + - node_modules/react-native/template/android/build.gradle + - node_modules/react-native-image-colors/android/build.gradle + - node_modules/react-native-track-player/android/build.gradle + - node_modules/react-native-vector-icons/android/build.gradle + - node_modules/@react-native-async-storage/async-storage/android/build.gradle + - node_modules/@react-native-community/masked-view/android/build.gradle + - node_modules/@react-native-community/netinfo/android/build.gradle + scandelete: + - node_modules + build: + - pushd $$react-native-reanimated$$ + - FOR_HERMES=True gradle :assembleRelease + - popd + - mv $$react-native-reanimated$$/build/outputs/aar/android-release.aar ../../node_modules/react-native-reanimated/android/react-native-reanimated-64-hermes.aar + ndk: r21e + +AutoUpdateMode: Version v%v +UpdateCheckMode: Tags +CurrentVersion: 1.0.1 +CurrentVersionCode: 3 diff --git a/srclibs/react-native-reanimated.yml b/srclibs/react-native-reanimated.yml new file mode 100644 index 0000000000..7e51f88df1 --- /dev/null +++ b/srclibs/react-native-reanimated.yml @@ -0,0 +1,8 @@ +RepoType: git +Repo: https://github.com/software-mansion/react-native-reanimated.git + +Subdir: android + +Prepare: | + rm -rf Example + rm -rf ios