You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit f70b300
Browse filesBrowse the repository at this point in the historyBrowse files
"optdepends=('vulkan-icd-loader: GPU acceleration; without it the application draws on the CPU')",
564
+
"optdepends=('libxcb-cursor: pointers that follow the desktop cursor theme and size; without it the pointer uses a fixed small glyph' 'vulkan-icd-loader: GPU acceleration; without it the application draws on the CPU')",
for_, want:=range []string{"pkgbase = fixture-notes-bin", "\tarch = x86_64", "\tdepends = extra-lib", "\toptdepends = vulkan-icd-loader: GPU acceleration; without it the application draws on the CPU", "pkgname = fixture-notes-bin"} {
Copy file name to clipboardExpand all lines: website/content/guides/en/build-and-package.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -102,7 +102,7 @@ viva package --program ./notes-signed # package an executable you buil
102
102
| Windows | NSIS installer (needs `makensis`), or `.zip`|
103
103
| Linux |`tar.gz` with an install script, `.deb`, or a `PKGBUILD` with its `.SRCINFO` for an Arch binary package |
104
104
105
-
A `PKGBUILD` installs the program under `/opt/<name>-bin`, links it into `/usr/bin`, and installs the menu entry, icon and document types; it never builds anything, so it needs no Arch machine to write. The `tar.gz` is its source: by default makepkg looks for it beside the `PKGBUILD`, and `--pkgbuild-url` gives the address of the released archive instead (the `tar.gz::<url>` form, so the file keeps its name). Write each architecture into its own directory, as `PKGBUILD` is one file per directory. Set `[linux] arch_depends` for libraries the application needs beyond the XCB, Pango, Cairo and fontconfig packages every Viva application requires; the Vulkan loader is recommended for GPU acceleration and installed on request.
105
+
A `PKGBUILD` installs the program under `/opt/<name>-bin`, links it into `/usr/bin`, and installs the menu entry, icon and document types; it never builds anything, so it needs no Arch machine to write. The `tar.gz` is its source: by default makepkg looks for it beside the `PKGBUILD`, and `--pkgbuild-url` gives the address of the released archive instead (the `tar.gz::<url>` form, so the file keeps its name). Write each architecture into its own directory, as `PKGBUILD` is one file per directory. Set `[linux] arch_depends` for libraries the application needs beyond the XCB, Pango, Cairo and fontconfig packages every Viva application requires. The `.deb` and RPM recommend the cursor theme library and the Vulkan loader — pointers that follow the desktop's cursor theme and size, and GPU acceleration — and the PKGBUILD lists them as optdepends, installed on request.
106
106
107
107
**Signing is optional.** With nothing configured nothing is signed: macOS blocks a downloaded bundle and Windows SmartScreen warns about the installer. `--program` exists so you can build, sign, and then package that exact executable yourself.
0 commit comments