Skip to content

Commit

Permalink
Use Matter plugin without plugin-specific keywords
Browse files Browse the repository at this point in the history
  • Loading branch information
MonicaisHer committed Dec 7, 2023
1 parent 4301e93 commit f08d774
Showing 1 changed file with 7 additions and 22 deletions.
29 changes: 7 additions & 22 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: chip-tool
summary: Chip Tool Matter Controller
description: Refer to https://snapcraft.io/chip-tool
adopt-info: connectedhomeip
version: "v1.2.0.1+snap"

confinement: strict
grade: stable
Expand All @@ -20,12 +21,12 @@ layout:
parts:
chip-tool:
plugin: matter
matter-branch: v1.2.0.1
zap-version: v2023.11.13
# matter-branch: v1.2.0.1
# zap-version: 1

override-build: |
mkdir -p $CRAFT_PART_INSTALL/bin
cd ../../connectedhomeip/src
craftctl default
cd $CRAFT_PART_BUILD/matter
# The project writes its data to /tmp which isn't persisted.
#
Expand Down Expand Up @@ -53,24 +54,8 @@ parts:
# Build the chip tool
./scripts/examples/gn_build_example.sh examples/chip-tool ./build-examples
mkdir -p $CRAFT_PART_INSTALL/bin
cp build-examples/chip-tool $CRAFT_PART_INSTALL/bin/
build-packages:
- git
- gcc
- g++
- pkg-config
- libssl-dev
- libdbus-1-dev
- libglib2.0-dev
- libavahi-client-dev
- ninja-build
- python3-venv
- python3-dev
- python3-pip
- libgirepository1.0-dev
- libcairo2-dev
- libreadline-dev
- generate-ninja
apps:
chip-tool:
Expand Down

0 comments on commit f08d774

Please sign in to comment.