Skip to content

Commit

Permalink
Merge pull request #353 from patviafore-kudzera/development
Browse files Browse the repository at this point in the history
Snap support part 3
  • Loading branch information
dannagle authored Jan 11, 2024
2 parents 3c25036 + ea748aa commit d2577ed
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 77 deletions.
4 changes: 2 additions & 2 deletions snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ parts:
source: https://github.com/dannagle/PacketSender.git
source-branch: master
cmake-parameters:
- /root/parts/packetsender/src/src
- $SNAPCRAFT_PART_SRC/src
override-pull: |
craftctl default
cp /root/parts/packetsender/src/src/snap/CMakeLists.txt /root/parts/packetsender/src/src/CMakeLists.txt
cp $SNAPCRAFT_PART_SRC/src/snap/CMakeLists.txt $SNAPCRAFT_PART_SRC/src/CMakeLists.txt
build-packages:
- build-essential
- qt6-base-dev
Expand Down
74 changes: 0 additions & 74 deletions src/PacketSenderSnap.pro

This file was deleted.

2 changes: 1 addition & 1 deletion src/snap/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ qt_add_executable(packetsender
${SOURCES} ${HEADERS} ${FORMS} ${RESOURCES} ${CSS}
)

execute_process(COMMAND git -C /root/parts/packetsender/src/src rev-parse --short HEAD OUTPUT_VARIABLE GIT_SHA COMMAND_ERROR_IS_FATAL ANY OUTPUT_STRIP_TRAILING_WHITESPACE)
execute_process(COMMAND git -C $SNAPCRAFT_PART_SRC/src rev-parse --short HEAD OUTPUT_VARIABLE GIT_SHA COMMAND_ERROR_IS_FATAL ANY OUTPUT_STRIP_TRAILING_WHITESPACE)

target_compile_definitions(packetsender PRIVATE
GUI_BUILD
Expand Down

0 comments on commit d2577ed

Please sign in to comment.