Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,6 @@ ki18n_install(po)

add_subdirectory(src)

install(FILES io.github.ublueos.bazaarrunner.desktop DESTINATION ${KDE_INSTALL_DATAROOTDIR}/krunner/dbusplugins)

feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)
15 changes: 15 additions & 0 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,21 @@ build: build-container
make -j$(nproc)
'

build-flatpak:
#!/usr/bin/env bash
flatpak run org.flatpak.Builder \
--force-clean \
--install \
--install-deps-from=flathub \
--user \
--verbose \
--ccache \
--disable-updates \
--keep-build-dirs \
build \
./io.github.ublueos.bazaarrunner.yaml


install: build
#!/usr/bin/env bash
set -euo pipefail
Expand Down
12 changes: 12 additions & 0 deletions io.github.ublueos.bazaarrunner.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[Desktop Entry]
Name=Krunner-Bazaar Flatpak
X-KDE-ServiceTypes=Plasma/Runner
Comment=this is not using the json file provided by krunner-bazaar, metadata is broken on every KDE and non KDE app btw
Type=Service
Icon=io.github.kolunmi.Bazaar
X-KDE-ServiceTypes=Plasma/Runner
X-KDE-PluginInfo-Name=bazaarrunner
X-KDE-PluginInfo-EnabledByDefault=true
X-Plasma-API=DBus
X-Plasma-DBusRunner-Service=io.github.kolunmi.Bazaar
X-Plasma-DBusRunner-Path=/io/github/kolunmi/Bazaar/SearchProvider
24 changes: 24 additions & 0 deletions io.github.ublueos.bazaarrunner.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
id: io.github.ublueos.bazaarrunner
runtime: org.kde.Platform
runtime-version: '6.10'
sdk: org.kde.Sdk
finish-args:
- --talk-name=io.github.kolunmi.Bazaar.*

modules:
- name: krunner-bazaar
config-opts:
- -DCMAKE_BUILD_TYPE=RelWithDebInfo
buildsystem: cmake-ninja
sources:
- type: dir
path: .

modules:
- name: krunner
buildsystem: cmake-ninja
sources:
- type: git
url: https://invent.kde.org/frameworks/krunner
tag: v6.22.0
commit: bfe9f124da65472f05514198777d80c53ce8a4e6
Loading