Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add gcr and missing dependencies #12

Merged
merged 1 commit into from
Oct 14, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading