Skip to content

Commit

Permalink
Merge pull request #273 from torikulhabib/master
Browse files Browse the repository at this point in the history
Update snapcraft.yaml
  • Loading branch information
torikulhabib authored Jun 22, 2024
2 parents 549a32a + 857cefd commit e01e0fd
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,6 @@ description: |
This application prioritizes convenience, full of features and an attractive appearance.
confinement: strict
package-repositories:
- type: apt
components: [main]
suites: [focal]
key-id: 2B067CC53533F081B664BF72F6CBED8742796C8E
url: http://ppa.launchpad.net/torik-habib/libdgbt/ubuntu
parts:
gabutdm:
after: [desktop-gnome-platform]
Expand All @@ -24,7 +18,7 @@ parts:
source: https://github.com/gabutakut/gabutdm.git
override-build: |
snapcraftctl build
sed -i -E 's|^(Icon[^=]*)=.*|\1=/usr/share/icons/hicolor/128x128/apps/com.github.gabutakut.gabutdm.svg|' ${SNAPCRAFT_PART_INSTALL}/usr/share/applications/com.github.gabutakut.gabutdm.desktop
sed -i -E 's|^(Icon[^=]*)=.*|\1=/usr/share/icons/hicolor/scalable/apps/com.github.gabutakut.gabutdm.svg|' ${SNAPCRAFT_PART_INSTALL}/usr/share/applications/com.github.gabutakut.gabutdm.desktop
build-packages:
- libgirepository1.0-dev
- valac
Expand All @@ -39,6 +33,7 @@ parts:
- libjson-glib-dev
- libgdk-pixbuf2.0-dev
- libgtk-4-dev
- libadwaita-1-dev
stage-packages:
- libx11-dev
- libxau-dev
Expand Down Expand Up @@ -88,10 +83,10 @@ parts:
source: https://github.com/ubuntu/snapcraft-desktop-helpers.git
source-subdir: gtk
plugin: make
make-parameters: ["FLAVOR=gtk3"]
make-parameters: ["FLAVOR=gtk4"]
build-packages:
- build-essential
- libgtk-3-dev
- libgtk-4-dev
override-build: |
snapcraftctl build
mkdir -pv $SNAPCRAFT_PART_INSTALL/gnome-platform
Expand Down

0 comments on commit e01e0fd

Please sign in to comment.