From 88492823826b3720be4ba29d246848031418bfb5 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Sat, 20 Oct 2018 15:14:24 +0200 Subject: Add Kconfiglib to parse Kconfig/.config --- src/Kconfig | 82 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 82 insertions(+) create mode 100644 src/Kconfig (limited to 'src/Kconfig') diff --git a/src/Kconfig b/src/Kconfig new file mode 100644 index 0000000..fcecdea --- /dev/null +++ b/src/Kconfig @@ -0,0 +1,82 @@ +menu "Application" + config POI_NAME + string "Application name" + default "smolbote" + config POI_EXE + string "Executable name" + default "poi" + config POI_ICON + string "Path to icon" + default ":/icons/poi.svg" +endmenu + +menu "Configuration defaults" + config PATH_CONFIG + string "Configuration location" + default "~/.config/smolbote/smolbote.cfg" + config PATH_FILTER + string "Host filter path" + default "~/.config/smolbote/hosts.d" + config PATH_PLUGINS + string "Plugin load location" + default "~/.config/smolbote/plugins.d" + config PATH_PROFILES + string "Profile load location" + default "~/.config/smolbote/profiles.d" + config PATH_BOOKMARKS + string "Bookmarks location" + default "~/.config/smolbote/bookmarks.xbel" + config PATH_DOWNLOADS + string "Downloads location" + default "~/Downloads" +endmenu + +config USEPLASMA + bool "Enable KDE Frameworks integration" + default n + select SHOW_KDE_INTEGRATION + help + This is a help message + +menu "KDE Integration" + depends on USEPLASMA + + config PLASMA_BLUR + bool "Enable translucent background and blur behind window" + default n + + config WALLET_FOLDER + string "KDE Wallet folder name" + default "smolbote" +endmenu + +config USEBREAKPAD + bool "Enable Breakpad integration" + default n + +menu "Breakpad Integration" + depends on USEBREAKPAD + + config PATH_CRASHDUMP + string "Crash dump location" + default "~/.config/smolbote/crash.d" + + config PATH_CRASHHANDLER + string "Crash handler location" + default "" +endmenu + +menu "Workarounds" + config QTBUG_62511 + bool "Use RCC version 1 format" + default y + help + See QTBUG-62511: rcc embeds time in output + + config QTBUG_65223 + bool "Manually emit loadFinished" + default y + help + See QTBUG-65223: loadStarted is emitted twice when loading link with anchor + +endmenu -- cgit v1.2.1