Skip to content

Commit

Permalink
add gcr and missing dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
jssotomdz authored and kenvandine committed Oct 14, 2023
1 parent ff4210b commit f773548
Showing 1 changed file with 29 additions and 1 deletion.
30 changes: 29 additions & 1 deletion snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ slots:
layout:
/usr/share/epiphany:
bind: $SNAP/usr/share/epiphany
/usr/lib/$CRAFT_ARCH_TRIPLET/webkitgtk-6.0:
bind: $SNAP/usr/lib/$CRAFT_ARCH_TRIPLET/webkitgtk-6.0

apps:
epiphany:
Expand Down Expand Up @@ -71,9 +73,32 @@ parts:
- on amd64:
- gcc-multilib
- g++-multilib

gcr:
source: https://gitlab.gnome.org/GNOME/gcr.git
source-tag: '4.1.0'
plugin: meson
meson-parameters:
- --prefix=/usr
- -Doptimization=3
- -Ddebug=true
- -Dintrospection=true
- -Dgtk_doc=false
build-environment:
- PATH: /snap/gnome-42-2204-sdk/current/usr/bin${PATH:+:$PATH}
- XDG_DATA_DIRS: $SNAPCRAFT_STAGE/usr/share:/snap/gnome-42-2204-sdk/current/usr/share:/usr/share${XDG_DATA_DIRS:+:$XDG_DATA_DIRS}
- LD_LIBRARY_PATH: /snap/gnome-42-2204-sdk/current/lib/$CRAFT_ARCH_TRIPLET:/snap/gnome-42-2204-sdk/current/usr/lib/$CRAFT_ARCH_TRIPLET:/snap/gnome-42-2204-sdk/current/usr/lib:/snap/gnome-42-2204-sdk/current/usr/lib/vala-current:/snap/gnome-42-2204-sdk/current/usr/lib/$CRAFT_ARCH_TRIPLET/pulseaudio${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
- PKG_CONFIG_PATH: /snap/gnome-42-2204-sdk/current/usr/lib/$CRAFT_ARCH_TRIPLET/pkgconfig:/snap/gnome-42-2204-sdk/current/usr/lib/pkgconfig:/snap/gnome-42-2204-sdk/current/usr/share/pkgconfig${PKG_CONFIG_PATH:+:$PKG_CONFIG_PATH}
- GETTEXTDATADIRS: /snap/gnome-42-2204-sdk/current/usr/share/gettext-current${GETTEXTDATADIRS:+:$GETTEXTDATADIRS}
- GDK_PIXBUF_MODULE_FILE: /snap/gnome-42-2204-sdk/current/usr/lib/$CRAFT_ARCH_TRIPLET/gdk-pixbuf-current/loaders.cache
- ACLOCAL_PATH: /snap/gnome-42-2204-sdk/current/usr/share/aclocal${ACLOCAL_PATH:+:$ACLOCAL_PATH}
- PYTHONPATH: /snap/gnome-42-2204-sdk/current/usr/lib/python3.10:/snap/gnome-42-2204-sdk/current/usr/lib/python3/dist-packages:/snap/gnome-42-2204-sdk/current/usr/lib/$CRAFT_ARCH_TRIPLET/gobject-introspection${PYTHONPATH:+:$PYTHONPATH}
build-snaps: [ gnome-42-2204-sdk ]
build-packages:
- libgpg-error-dev

epiphany:
after: [snapcraft-preload]
after: [snapcraft-preload, gcr]
source: https://gitlab.gnome.org/GNOME/epiphany.git
source-type: git
source-tag: '45.0'
Expand All @@ -99,6 +124,8 @@ parts:
- nettle-dev
- python-gi-dev
- libgirepository1.0-dev
- libgstreamer1.0-dev
- libwebkitgtk-6.0-dev
stage-packages:
- gstreamer1.0-clutter-3.0
- gstreamer1.0-gl
Expand All @@ -115,6 +142,7 @@ parts:
- libnettle8
- libslang2
- libsphinxbase3
- libwebkitgtk-6.0-4
stage:
- -usr/bin/gtk-update-icon-cache
- -usr/lib/*/gtk-3.0/3.0.0/printbackends/libprintbackend*.so*
Expand Down

0 comments on commit f773548

Please sign in to comment.