Skip to content

Commit

Permalink
Merge pull request #3658 from jriddell/master
Browse files Browse the repository at this point in the history
switch to new kde-framework content snap
  • Loading branch information
sergiusens authored Mar 18, 2022
2 parents bcea805 + 34578d3 commit 183fb9d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions snapcraft/internal/project_loader/_extensions/kde_neon.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@
build_snaps=["kde-frameworks-5-core18-sdk/latest/stable"],
),
core20=_ExtensionInfo(
cmake_args="-DCMAKE_FIND_ROOT_PATH=/snap/kde-frameworks-5-qt-5-15-3-core20-sdk/current",
content="kde-frameworks-5-qt-5-15-3-core20-all",
provider="kde-frameworks-5-qt-5-15-3-core20",
build_snaps=["kde-frameworks-5-qt-5-15-3-core20-sdk/latest/stable"],
cmake_args="-DCMAKE_FIND_ROOT_PATH=/snap/kde-frameworks-5-91-qt-5-15-3-core20-sdk/current",
content="kde-frameworks-5-91-qt-5-15-3-core20-all",
provider="kde-frameworks-5-91-qt-5-15-3-core20",
build_snaps=["kde-frameworks-5-91-qt-5-15-3-core20-sdk/latest/stable"],
),
)

Expand Down
12 changes: 6 additions & 6 deletions tests/unit/project_loader/extensions/test_kde_neon.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ def test_extension_core20():
"interface": "content",
"target": "$SNAP/data-dir/icons",
},
"kde-frameworks-5-qt-5-15-3-core20": {
"content": "kde-frameworks-5-qt-5-15-3-core20-all",
"default-provider": "kde-frameworks-5-qt-5-15-3-core20",
"kde-frameworks-5-91-qt-5-15-3-core20": {
"content": "kde-frameworks-5-91-qt-5-15-3-core20-all",
"default-provider": "kde-frameworks-5-91-qt-5-15-3-core20",
"interface": "content",
"target": "$SNAP/kf5",
},
Expand All @@ -111,15 +111,15 @@ def test_extension_core20():
assert kde_neon_extension.part_snippet == {
"build-environment": [
{
"SNAPCRAFT_CMAKE_ARGS": "-DCMAKE_FIND_ROOT_PATH=/snap/kde-frameworks-5-qt-5-15-3-core20-sdk/current"
"SNAPCRAFT_CMAKE_ARGS": "-DCMAKE_FIND_ROOT_PATH=/snap/kde-frameworks-5-91-qt-5-15-3-core20-sdk/current"
}
]
}
assert kde_neon_extension.parts == {
"kde-neon-extension": {
"build-packages": ["g++"],
"build-snaps": ["kde-frameworks-5-qt-5-15-3-core20-sdk/latest/stable"],
"make-parameters": ["PLATFORM_PLUG=kde-frameworks-5-qt-5-15-3-core20"],
"build-snaps": ["kde-frameworks-5-91-qt-5-15-3-core20-sdk/latest/stable"],
"make-parameters": ["PLATFORM_PLUG=kde-frameworks-5-91-qt-5-15-3-core20"],
"plugin": "make",
"source": "$SNAPCRAFT_EXTENSIONS_DIR/desktop",
"source-subdir": "kde-neon",
Expand Down

0 comments on commit 183fb9d

Please sign in to comment.