Skip to content

Commit

Permalink
add snap support
Browse files Browse the repository at this point in the history
  • Loading branch information
xlmnxp committed Jun 27, 2020
1 parent c8e5f2e commit 4d5cc39
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: othman
version: git
summary: Othman Browser
description: |
Othman Electronic Quran Browser displays Quranic text in Othmani script style
as written under authority of Othman ibn Affan the companion of prophet Muhammad PBUH
Othman project features fast search, autoscrolling, copy Quranic text to clipboard.
grade: stable

base: core18
confinement: strict

parts:
othman:
plugin: python
python-version: python3
source: .
python-packages:
- setuptools
- PyGObject
stage-packages:
- fonts-hosny-amiri
build-packages:
- build-essential
override-pull: |
snapcraftctl pull
cp $SNAPCRAFT_PROJECT_DIR/othman.ico $SNAPCRAFT_PRIME/Othman
apps:
othman-browser:
command: bin/othman-browser
desktop: $SNAPCRAFT_PROJECT_DIR/Othman.desktop
extensions: [gnome-3-34]
plugs:
- desktop
slots:
- dbus-daemon
common-id: org.ojuba.Othman

slots:
dbus-daemon:
interface: dbus
bus: session
name: org.ojuba.Othman

0 comments on commit 4d5cc39

Please sign in to comment.