# Feel free to remove those if you don't want/need to use them. # Make sure to check the documentation at https://nfpm.goreleaser.com # # The lines below are called `modelines`. See `:help modeline` name: "netbird-ui" arch: ${GOARCH} platform: "linux" version: "0.0.1" section: "default" priority: "extra" maintainer: ${GIT_COMMITTER_NAME} <${GIT_COMMITTER_EMAIL}> description: "NetBird desktop client" vendor: "NetBird" homepage: "https://wails.io" license: "MIT" release: "1" contents: - src: "./bin/netbird-ui" dst: "/usr/local/bin/netbird-ui" - src: "./build/appicon.png" dst: "/usr/share/icons/hicolor/128x128/apps/netbird-ui.png" - src: "./build/linux/netbird-ui.desktop" dst: "/usr/share/applications/netbird-ui.desktop" # Default dependencies for the GTK4 + WebKitGTK 6.0 stack (Ubuntu 24.04+ / Debian 13+) depends: - libgtk-4-1 (>= 4.14) - libwebkitgtk-6.0-4 - xdg-utils # Distribution-specific overrides for different package formats overrides: # RPM packages for Fedora / RHEL / AlmaLinux / Rocky Linux / openSUSE rpm: depends: - (gtk4 >= 4.14 or libgtk-4-1 >= 4.14) - (webkitgtk6.0 or libwebkitgtk-6_0-4) - xdg-utils # Arch Linux packages archlinux: depends: - gtk4 - webkitgtk-6.0 - xdg-utils # scripts section to ensure desktop database is updated after install scripts: postinstall: "./build/linux/nfpm/scripts/postinstall.sh" # You can also add preremove, postremove if needed # preremove: "./build/linux/nfpm/scripts/preremove.sh" # postremove: "./build/linux/nfpm/scripts/postremove.sh" # replaces: # - foobar # provides: # - bar # depends: # - gtk3 # - libwebkit2gtk # recommends: # - whatever # suggests: # - something-else # conflicts: # - not-foo # - not-bar # changelog: "changelog.yaml"