diff --git a/metadata/com.github.meypod.al_azan.yml b/metadata/com.github.meypod.al_azan.yml new file mode 100644 index 0000000000..80218db6c4 --- /dev/null +++ b/metadata/com.github.meypod.al_azan.yml @@ -0,0 +1,72 @@ +Categories: + - Time +License: AGPL-3.0-only +WebSite: https://github.com/meypod/al-azan +SourceCode: https://github.com/meypod/al-azan +IssueTracker: https://github.com/meypod/al-azan/issues + +AutoName: Al-Azan + +RepoType: git +Repo: https://github.com/meypod/al-azan.git + +Builds: + - versionName: 1.0.6 + versionCode: 12 + commit: b78b42c08a7753a4329579fe2ef2e2a2f7078659 + subdir: android/app + sudo: + - sysctl fs.inotify.max_user_watches=524288 || true + - curl -Lo node.tar.xz https://nodejs.org/dist/v16.16.0/node-v16.16.0-linux-x64.tar.xz + - echo "edcb6e9bb049ae365611aa209fc03c4bfc7e0295dbcc5b2f1e710ac70384a8ec node.tar.xz" + | sha256sum -c - + - tar xJf node.tar.xz --strip-components=1 -C /usr/local/ + - npm -g install yarn + - apt-get update || apt-get update + - apt-get install -y openjdk-11-jdk-headless git + - update-alternatives --auto java + init: + - cd ../.. + - yarn install --frozen-lockfile + gradle: + - yes + srclibs: + - meypod-notifee@5.6.0-guava + prebuild: + - sed -i -e '\!READ_PHONE_STATE!a' -e 's!xmlns:android!xmlns:tools="http://schemas.android.com/tools" + xmlns:android!' src/main/AndroidManifest.xml + - pushd ../.. + - mkdir -p ./node_modules/@notifee/core/ + - cp -r $$meypod-notifee$$/android ./node_modules/@notifee/core/ + - sed -E -i 's/^.*(fabric|com\.(crashlytics|google\.(firebase|android.gms))).*$//g' + ./node_modules/@notifee/react-native/android/build.gradle + - sed "s///" lingui.config.js.example > lingui.config.js + - npx lingui compile + - popd + scanignore: + - android/build.gradle + - node_modules/jsc-android + - node_modules/react-native/android + - node_modules/react-native/ReactAndroid/build.gradle + - node_modules/react-native/ReactAndroid/hermes-engine/build.gradle + - node_modules/react-native-mmkv/android/build.gradle + - node_modules/react-native-safe-area-context/android/build.gradle + - node_modules/react-native-screens/android/build.gradle + - node_modules/react-native-svg/android/build.gradle + - node_modules/@react-native-masked-view/masked-view/android/build.gradle + - node_modules/@callstack/repack/android/build.gradle + - node_modules/@notifee/react-native/android/build.gradle + - node_modules/@notifee/core/android/build.gradle + - node_modules/react-native-get-location/android/build.gradle + - node_modules/react-native-alarm-module/android/build.gradle + - node_modules/react-native-blob-util/android/build.gradle + - node_modules/react-native-document-picker/android/build.gradle + scandelete: + - node_modules/ + ndk: r21e + +AutoUpdateMode: Version v%v +UpdateCheckMode: Tags +CurrentVersion: 1.0.6 +CurrentVersionCode: 12 diff --git a/srclibs/meypod-notifee.yml b/srclibs/meypod-notifee.yml new file mode 100644 index 0000000000..5727b9bb67 --- /dev/null +++ b/srclibs/meypod-notifee.yml @@ -0,0 +1,2 @@ +RepoType: git +Repo: https://github.com/meypod/notifee.git