Skip to content

Commit

Permalink
build: move patches to snap/local directory
Browse files Browse the repository at this point in the history
  • Loading branch information
jnsgruk committed Feb 6, 2024
1 parent b8c9922 commit 6e20cb1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ compression: lzo

architectures:
- build-on: amd64
- build-on: arm64
# - build-on: arm64

layout:
/etc/gimp:
Expand Down Expand Up @@ -415,7 +415,7 @@ parts:
plugin: cmake
override-pull: |
craftctl default
patch -Np1 -i $CRAFT_PROJECT_DIR/patches/rawtherapee.patch
patch -Np1 -i $CRAFT_PROJECT_DIR/snap/local/patches/rawtherapee.patch
cmake-parameters:
- -DCMAKE_BUILD_TYPE=Release
- -DCMAKE_INSTALL_PREFIX=/usr
Expand All @@ -438,8 +438,8 @@ parts:
source: https://github.com/caolanm/libwmf/archive/refs/tags/v0.2.12.tar.gz
override-pull: |
craftctl default
patch -Np1 -i $CRAFT_PROJECT_DIR/patches/libwmf/no-trio.patch
patch -Np1 -i $CRAFT_PROJECT_DIR/patches/libwmf/freetype-pkg-config.patch
patch -Np1 -i $CRAFT_PROJECT_DIR/snap/local/patches/libwmf/no-trio.patch
patch -Np1 -i $CRAFT_PROJECT_DIR/snap/local/patches/libwmf/freetype-pkg-config.patch
autoreconf --force --install --include=patches
autotools-configure-parameters:
- --prefix=/usr
Expand Down

0 comments on commit 6e20cb1

Please sign in to comment.