This commit is contained in:
DBChoco
2022-04-18 18:33:28 +02:00
parent 001611cbb3
commit 991e0d4b1b
7 changed files with 2 additions and 16396 deletions

3
.gitignore vendored
View File

@@ -4,4 +4,5 @@ dist
flatpak/.flatpak-builder
flatpak/build
ressources/quran/downloads
flatpak-test
flatpak-test
package-lock.json

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@@ -1,10 +0,0 @@
[Desktop Entry]
Name=Muezzin
Exec=muezzin-run
Terminal=false
Type=Application
Icon=io.github.dbchoco.muezzin
StartupWMClass=Muezzin
Comment=Islamic prayer times app
MimeType=x-scheme-handler/muezzin;
Categories=Utility;

View File

@@ -1,92 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
<id>io.github.dbchoco.muezzin</id>
<name>Muezzin</name>
<summary>Islamic prayer times application</summary>
<url type="homepage">https://github.com/DBChoco/Muezzin</url>
<url type="bugtracker">https://github.com/DBChoco/Muezzin/issues</url>
<url type="contact">https://www.reddit.com/r/Muezzin/</url>
<url type="translate"> https://discord.gg/cpF9TTstN5</url>
<metadata_license>CC0-1.0</metadata_license>
<project_license>MIT</project_license>
<description>
<p>
Islamic prayer times (Adhan) and Qur'an application that is highly customizable, free and open source.
</p>
<p>Features:</p>
<ul>
<li>Many settings</li>
<li>Weather widget</li>
<li>Qur'an reader</li>
<li>Custom background image</li>
<li>Custom Adhan</li>
<li>Light and dark mode</li>
<li>10+ languages</li>
</ul>
<p>
If you encounter a bug, want to add a language, want to contribute or just want to say Salam, join our discord server or subreddit!
</p>
<p>
Jazzakoum Allahu khairan.
</p>
<p>
Keywords: Athan, Adhan, Azan, Islam, Muslim, Prayers, times, Muezzin, Salah, Salat, Namaz, Islamic, Hijri, Quran, Qur'an, Koran.
</p>
</description>
<content_rating type="oars-1.0" />
<launchable type="desktop-id">io.github.dbchoco.muezzin.desktop</launchable>
<screenshots>
<screenshot type="default">
<caption>Main Screen - Light Mode</caption>
<image>https://github.com/DBChoco/Muezzin/blob/master/screenshots/lightMode.png?raw=true</image>
</screenshot>
<screenshot>
<caption>Main Screen - Dark Mode</caption>
<image>https://github.com/DBChoco/Muezzin/blob/master/screenshots/darkMode.png?raw=true</image>
</screenshot>
<screenshot>
<caption>Settings Screen</caption>
<image>https://github.com/DBChoco/Muezzin/blob/master/screenshots/settingsDark.png?raw=true</image>
</screenshot>
<screenshot>
<caption>Quran Reader - Dark</caption>
<image>https://github.com/DBChoco/Muezzin/blob/master/screenshots/quranDark.png?raw=true</image>
</screenshot>
</screenshots>
<releases>
<release version="v2.3.1" date="2022-04-14">
<description>
<p>Assalamou Alaykoum brothers/sisters and Ramadan Moubarak once again</p>
<p>New features:</p>
<ul>
<li>Progress bar indicating time left until prayer.</li>
<li>Custom Adhan for Fajr is now available (suggested by @iFarhaan).</li>
<li>New default Adhan by Ahmed Al-Nufeis</li>
<li>Qur'an audio enabled (per verse with auto-play and auto-scroll or individually).</li>
<li>Added Qur'an reciters to settings.</li>
<li>Qur'an media controls (Play - stop - volume).</li>
</ul>
<p>Small new features:</p>
<ul>
<li>Qur'an reader now shows a Bismillah line before the Surah.</li>
<li>Fixed Urdu translation (thanks @ShakesVision).</li>
<li>Pages titles changes depending on the language.</li>
<li>Added "About" menu button (suggested by @iFarhaan)</li>
<li>Added welcome message in terminal as well as time left until prayer.</li>
<li>File inputs are now shown as buttons (much prettier Alhamdoulillah).</li>
</ul>
<p>BugFixes</p>
<ul>
<li>Fixed a bug that made calculation methods reset after each restart of the app (noticed by @iFarhaan) </li>
<li>Fixed bug where 1 page of the Qur'an was not loaded.</li>
<li>Window is now not hidden upon minimizing. (suggested by @iFarhaan)</li>
<li>Fixed some Arabic translations</li>
</ul>
<p>If there is any problem, please contact me so that I can fix it. If you have any ideas, I'd gladly hear them. Jazzakoum Allahu khairan.</p>
</description>
</release>
</releases>
</component>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

View File

@@ -1,71 +0,0 @@
app-id: io.github.dbchoco.muezzin
runtime: org.freedesktop.Platform
runtime-version: '21.08'
sdk: org.freedesktop.Sdk
base: org.electronjs.Electron2.BaseApp
base-version: '21.08'
sdk-extensions:
- org.freedesktop.Sdk.Extension.node14
command: muezzin-run
separate-locales: false
finish-args:
- --share=ipc
- --socket=x11
- --socket=pulseaudio
- --share=network
build-options:
append-path: /usr/lib/sdk/node14/bin
env:
NPM_CONFIG_LOGLEVEL: info
modules:
- name: muezzin
buildsystem: simple
build-options:
env:
XDG_CACHE_HOME: /run/build/muezzin/flatpak-node/cache
npm_config_cache: /run/build/muezzin/flatpak-node/npm-cache
npm_config_nodedir: /usr/lib/sdk/node14
npm_config_offline: 'true'
subdir: main
sources:
- type: archive
url: https://github.com/DBChoco/Muezzin/archive/refs/tags/v2.3.1.tar.gz
sha256: 91f984a1cee94ff217829d9119ed02052cf13fa292227fe54ec0678da3bbdf0f
dest: main
- generated-sources.json
# Wrapper to launch the app
- type: script
dest-filename: muezzin-run
commands:
- zypak-wrapper.sh /app/main/muezzin "$@"
build-commands:
# Install npm dependencies
- npm install --offline
# Build the app; in this example the `dist` script
# in package.json runs electron-builder
- |
. ../flatpak-node/electron-builder-arch-args.sh
jq '.build.linux.target="dir"' <<<$(<package.json) > package.json
npm run dist -- $ELECTRON_BUILDER_ARCH_ARGS --linux --dir
# Bundle app and dependencies
- cp -a dist/linux*unpacked /app/main
# Install app wrapper
- install -Dm755 -t /app/bin/ ../muezzin-run
- name: platform-bootstrap
buildsystem: simple
build-commands:
- |
install -Dm644 io.github.dbchoco.muezzin.png /app/share/icons/hicolor/128x128/apps/$FLATPAK_ID.png
install -Dm644 io.github.dbchoco.muezzin.desktop /app/share/applications/${FLATPAK_ID}.desktop
install -Dm644 io.github.dbchoco.muezzin.metainfo.xml /app/share/metainfo/$FLATPAK_ID.appdata.xml
sources:
- type: file
path: io.github.dbchoco.muezzin.metainfo.xml
- type: file
path: io.github.dbchoco.muezzin.png
- type: file
path: io.github.dbchoco.muezzin.desktop