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 5004104
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
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 5004104

Please sign in to comment.