Merge branch 'fix-icon' into 'master'

Fix cmake icon

See merge request spectral-im/spectral!68
This commit is contained in:
Black Hat
2020-01-11 18:26:51 +00:00
7 changed files with 4 additions and 5 deletions

View File

@@ -24,7 +24,7 @@ build-appimage:
- cd ..
- cmake . -Bbuild -LA -DUSE_INTREE_LIBQMC=1 -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=install/usr -DOlm_DIR="olm/install/lib/cmake/Olm" -DQt5Keychain_DIR="qtkeychain/install/lib/x86_64-linux-gnu/cmake/Qt5Keychain" -DCMARK_LIBRARY="$PWD/cmark/install/lib/libcmark_static.a" -DCMARK_INCLUDE_DIR="$PWD/cmark/install/include"
- cmake --build build --target install --parallel $(nproc)
- cp install/usr/share/icons/hicolor/256x256/apps/spectral.png install/org.eu.encom.spectral.png
- cp install/usr/share/icons/hicolor/256x256/apps/org.eu.encom.spectral.png install/org.eu.encom.spectral.png
- linuxdeployqt install/usr/share/applications/org.eu.encom.spectral.desktop -appimage -qmldir=qml -qmldir=imports
- mv *.AppImage spectral.AppImage
artifacts:

View File

@@ -242,8 +242,8 @@ if(LINUX)
install(FILES linux/${IDENTIFIER}.appdata.xml
DESTINATION ${CMAKE_INSTALL_DATADIR}/metainfo
)
file(GLOB spectral_icons icons/hicolor/*-apps-spectral.png)
file(GLOB spectral_icons icons/hicolor/*-apps-org.eu.encom.spectral.png)
ecm_install_icons(ICONS ${spectral_icons}
DESTINATION ${CMAKE_INSTALL_DATADIR}/icons
)
DESTINATION ${CMAKE_INSTALL_DATADIR}/icons
)
endif(LINUX)

View File

@@ -1,5 +1,4 @@
id: org.eu.encom.spectral
rename-icon: spectral
runtime: org.kde.Platform
runtime-version: "5.12"
sdk: org.kde.Sdk

View File

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

View File

Before

Width:  |  Height:  |  Size: 8.1 KiB

After

Width:  |  Height:  |  Size: 8.1 KiB

View File

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB