Skip to content

Commit

Permalink
Merge pull request canonical#3595 from jriddell/work/kde-neon-compres…
Browse files Browse the repository at this point in the history
…sion-lzo

kde extension: use lzo compression
  • Loading branch information
sergiusens authored and mr-cal committed Apr 29, 2022
1 parent 6c72c8e commit 6f09243
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
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/legacy/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 6f09243

Please sign in to comment.