diff --git a/.reuse/dep5 b/.reuse/dep5 index 4073da2c..4624818a 100644 --- a/.reuse/dep5 +++ b/.reuse/dep5 @@ -14,7 +14,7 @@ Files: android/res/drawable/splash.xml Copyright: 2020 Tobias Fella License: BSD-2-Clause -Files: kasts.svg kasts-android-square.svg logo.png android/ic_launcher-playstore.png android/res/drawable/kasts.png android/res/drawable-v24/ic_launcher_background.xml android/res/drawable-v24/ic_launcher_foreground.xml android/res/mipmap-hdpi/ic_launcher.png android/res/mipmap-mdpi/ic_launcher.png android/res/mipmap-xhdpi/ic_launcher.png android/res/mipmap-xxhdpi/ic_launcher.png android/res/mipmap-xxxhdpi/ic_launcher.png +Files: kasts.svg kasts-android-square.svg logo.png android/ic_launcher-playstore.png android/res/drawable/kasts.png android/res/drawable-v24/ic_launcher_background.xml android/res/drawable-v24/ic_launcher_foreground.xml android/res/mipmap-hdpi/ic_launcher.png android/res/mipmap-mdpi/ic_launcher.png android/res/mipmap-xhdpi/ic_launcher.png android/res/mipmap-xxhdpi/ic_launcher.png android/res/mipmap-xxxhdpi/ic_launcher.png icons/16-apps-kasts.png icons/24-apps-kasts.png icons/32-apps-kasts.png icons/48-apps-kasts.png icons/64-apps-kasts.png icons/128-apps-kasts.png Copyright: 2021 Mathis BrĂ¼chert License: CC-BY-SA-4.0 diff --git a/CMakeLists.txt b/CMakeLists.txt index 65c51e48..e15557b3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -27,6 +27,7 @@ include(KDEInstallDirs) include(KDEGitCommitHooks) include(KDECMakeSettings) include(KDECompilerSettings NO_POLICY_SCOPE) +include(ECMAddAppIcon) if(NOT ANDROID) include(KDEClangFormat) endif() diff --git a/icons/128-apps-kasts.png b/icons/128-apps-kasts.png new file mode 100644 index 00000000..04e38a8f Binary files /dev/null and b/icons/128-apps-kasts.png differ diff --git a/icons/16-apps-kasts.png b/icons/16-apps-kasts.png new file mode 100644 index 00000000..39a2cee2 Binary files /dev/null and b/icons/16-apps-kasts.png differ diff --git a/icons/24-apps-kasts.png b/icons/24-apps-kasts.png new file mode 100644 index 00000000..9d02986d Binary files /dev/null and b/icons/24-apps-kasts.png differ diff --git a/icons/32-apps-kasts.png b/icons/32-apps-kasts.png new file mode 100644 index 00000000..1c01c779 Binary files /dev/null and b/icons/32-apps-kasts.png differ diff --git a/icons/48-apps-kasts.png b/icons/48-apps-kasts.png new file mode 100644 index 00000000..08e6d80b Binary files /dev/null and b/icons/48-apps-kasts.png differ diff --git a/icons/64-apps-kasts.png b/icons/64-apps-kasts.png new file mode 100644 index 00000000..a33b467f Binary files /dev/null and b/icons/64-apps-kasts.png differ diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 14d23bae..35b3f39b 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -147,6 +147,18 @@ else() qt_add_dbus_interface(SRCS dbus-interfaces/org.gnome.SessionManager.xml gnomesessioninterface) endif() +set(kasts_ICONS_PNG + ../icons/16-apps-kasts.png + ../icons/24-apps-kasts.png + ../icons/32-apps-kasts.png + ../icons/48-apps-kasts.png + ../icons/64-apps-kasts.png + ../icons/128-apps-kasts.png +) + +# add icons to application sources, to have them bundled +ecm_add_app_icon(SRCS ICONS ${kasts_ICONS_PNG}) + add_executable(kasts ${SRCS}) kconfig_add_kcfg_files(kasts settingsmanager.kcfgc GENERATE_MOC)