From 7feefe9d5c922481081d31b12e02f42d9e028ef9 Mon Sep 17 00:00:00 2001 From: aqua Date: Wed, 1 May 2024 11:17:07 +0300 Subject: Drop python-kcofiglib build time dependency --- linux/config.yaml | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++ linux/makepkg/PKGBUILD | 7 +++--- 2 files changed, 66 insertions(+), 4 deletions(-) create mode 100644 linux/config.yaml (limited to 'linux') diff --git a/linux/config.yaml b/linux/config.yaml new file mode 100644 index 0000000..38e6e6e --- /dev/null +++ b/linux/config.yaml @@ -0,0 +1,63 @@ +--- +- poi: + name: smolbote + icon: :/icons/poi.svg + config: ~/.config/smolbote/smolbote.cfg + +- shortcuts: + session.save: Ctrl+S,S + session.open: Ctrl+S,O + + window.newgroup: Ctrl+G + window.newwindow: Ctrl+N + window.about: F1 + window.quit: Ctrl+Q + window.search: F3 + window.bookmarks.show: Ctrl+B + window.downloads.show: Ctrl+D + + navigationbar.show: Ctrl+Shift+N + navigation.back: Ctrl+Left + navigation.backmenu: Ctrl+Down + navigation.forward: Ctrl+Right + navigation.forwardmenu: Ctrl+Up + navigation.refresh: F5 + navigation.reload: Ctrl+F5 + navigation.home: Ctrl+Home + + address.focus: F4 + address.menu: F2 + + subwindow.close: Ctrl+Shift+W + subwindow.fullscreen: F11 + subwindow.newtab: Ctrl+T + subwindow.closetab: Ctrl+W + subwindow.restoretab: Ctrl+Shift+T + subwindow.tableft: Ctrl+O + subwindow.movetableft: Ctrl+Shift+O + subwindow.tabright: Ctrl+P + subwindow.movetabright: Ctrl+Shift+P + +- mainwindow: + title: smolbote + width: 1280 + height: 720 + +- bookmarks: + path: ~/.config/smolbote/bookmarks.xbel + toolbar.show: Ctrl+Shift+B + toolbar.movable: false + toolbar.visible: true + +- downloads: + path: ~/Downloads + +- profile: + path: ~/.config/smolbote/profiles.d + default: default + search: https://duckduckgo.com/?q=%1&ia=web + homepage: about:blank + newtab: about:blank + +- session: + path: ~/.config/smolbote/session.d diff --git a/linux/makepkg/PKGBUILD b/linux/makepkg/PKGBUILD index 749da87..efdea15 100644 --- a/linux/makepkg/PKGBUILD +++ b/linux/makepkg/PKGBUILD @@ -16,7 +16,7 @@ arch=('x86_64' 'aarch64') license=('GPL3') depends=('qt6-svg' 'qt6-webengine' 'spdlog' 'fmt') -makedepends=('git' 'cmake' 'python-kconfiglib' 'openssl' 'qt6-tools' 'scdoc') +makedepends=('git' 'cmake' 'openssl' 'qt6-tools' 'scdoc') optdepends=('firejail: launch a sandboxed instance') # use git+file:///path/to/your/repo to build from a local repo @@ -29,12 +29,11 @@ b2sums=('SKIP' validpgpkeys=(BB1C090188E3E32B375C13FD095DE26BC16D2E98) # Aqua-sama prepare() { + msg2 "Populate third_party packages..." mkdir "$srcdir/smolbote/third_party" ln -s "$srcdir/SingleApplication-3.4.1" "$srcdir/smolbote/third_party/SingleApplication" - cd $srcdir/smolbote - KCONFIG_CONFIG=linux/.config alldefconfig - + msg2 "Configure..." cmake -S $srcdir/smolbote -B $srcdir/build \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -- cgit v1.2.1