Skip to content

Commit

Permalink
kde extension: use lzo compression
Browse files Browse the repository at this point in the history
  • Loading branch information
jriddell authored and sergiusens committed Mar 18, 2022
1 parent 183fb9d commit 4cd4173
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions snapcraft/internal/project_loader/_extensions/kde_neon.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ def __init__(self, *, extension_name: str, yaml_data: Dict[str, Any]) -> None:
info = _Info[yaml_data["base"]]
self.root_snippet = {
"assumes": ["snapd2.43"], # for 'snapctl is-connected'
"compression": "lzo",
"plugs": {
"desktop": {"mount-host-font-cache": False},
"icon-themes": {
Expand Down
2 changes: 2 additions & 0 deletions tests/unit/project_loader/extensions/test_kde_neon.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ def test_extension_core18():

assert kde_neon_extension.root_snippet == {
"assumes": ["snapd2.43"],
"compression": "lzo",
"plugs": {
"desktop": {"mount-host-font-cache": False},
"icon-themes": {
Expand Down Expand Up @@ -76,6 +77,7 @@ def test_extension_core20():

assert kde_neon_extension.root_snippet == {
"assumes": ["snapd2.43"],
"compression": "lzo",
"environment": {"SNAP_DESKTOP_RUNTIME": "$SNAP/kf5"},
"hooks": {
"configure": {
Expand Down

0 comments on commit 4cd4173

Please sign in to comment.