Skip to content

Commit

Permalink
main/blueman: split and fix nautilus integration
Browse files Browse the repository at this point in the history
it would've worked before if nautilus-python were installed but this is
better

also uninstall unused nemo and caja extensions (mostly for the todo)
  • Loading branch information
triallax committed Oct 4, 2024
1 parent 787d0bd commit 78f7d9c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
1 change: 1 addition & 0 deletions main/blueman-nautilus
16 changes: 15 additions & 1 deletion main/blueman/template.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pkgname = "blueman"
pkgver = "2.4.3"
pkgrel = 0
pkgrel = 1
build_style = "meson"
configure_args = ["-Druntime_deps_check=false"]
hostmakedepends = [
Expand Down Expand Up @@ -41,3 +41,17 @@
def post_install(self):
self.uninstall("usr/lib/systemd/user")
self.uninstall("usr/lib/systemd/system")

# TODO: caja and nemo aren't packaged, when they are, add a subpackage for
# each extension (see blueman-nautilus below)
self.uninstall("usr/share/nemo-python")
self.uninstall("usr/share/caja-python")


@subpackage("blueman-nautilus")
def _(self):
self.subdesc = "Nautilus integration"
self.install_if = [self.parent, "nautilus"]
self.depends = [self.parent, "nautilus-python"]

return ["usr/share/nautilus-python"]

0 comments on commit 78f7d9c

Please sign in to comment.