Updated PKGBUILD.
This commit is contained in:
1 parent
418f671066
commit
1149818590
3 files changed
+67
-21
No files matched your search
@@ -1,13 +1,14 @@
|
||||
# Maintainer: Storm Dragon <storm_dragon@stormux.org>
|
||||
pkgname=wine-access-git
|
||||
pkgver=r52.gc02889b
|
||||
pkgrel=1
|
||||
pkgver=r53.gb57681d
|
||||
pkgrel=2
|
||||
pkgdesc='Wine accessibility helper with MSAA, NVDA Controller, and Tolk compatibility for screen readers'
|
||||
arch=('x86_64')
|
||||
url='https://git.stormux.org/storm/wine-access'
|
||||
license=('LGPL-2.1-or-later')
|
||||
depends=('glib2' 'wine' 'libxcb')
|
||||
makedepends=('cmake' 'git' 'pkgconf' 'mingw-w64-gcc')
|
||||
optdepends=('orca>=51: Orca screen reader integration')
|
||||
provides=('wine-access')
|
||||
conflicts=('wine-access')
|
||||
# Wine's import generation needs native object symbols, which LTO hides.
|
||||
@@ -41,4 +42,14 @@ package() {
|
||||
chmod 755 "$pkgdir/usr/libexec/wine-access/wine-access.exe"
|
||||
install -Dm644 "$srcdir/wine-access/README.md" \
|
||||
"$pkgdir/usr/share/doc/wine-access/README.md"
|
||||
install -Dm644 "$srcdir/wine-access/orca/README.md" \
|
||||
"$pkgdir/usr/share/doc/wine-access/orca/README.md"
|
||||
|
||||
# Orca discovers user extensions only. Users link this package-owned copy
|
||||
# into their extension directory and approve it in their own session.
|
||||
local extension_file
|
||||
for extension_file in "$srcdir/wine-access/orca/wine_access/"*.py; do
|
||||
install -Dm644 "$extension_file" \
|
||||
"$pkgdir/usr/share/wine-access/orca/wine_access/${extension_file##*/}"
|
||||
done
|
||||
}
|
||||
@@ -6,28 +6,41 @@ Run from this directory:
|
||||
makepkg -si
|
||||
```
|
||||
|
||||
The default source uses the project's SSH remote on port 1101. Once the
|
||||
repository exists, your SSH key must have access while it remains private.
|
||||
|
||||
Before the remote exists, build from the committed sources in your local
|
||||
checkout instead:
|
||||
|
||||
```sh
|
||||
WINE_ACCESS_GIT_URL=file:///path/to/wine-access makepkg -si
|
||||
```
|
||||
|
||||
Git sources include committed files only. Adjust that path if your checkout is
|
||||
elsewhere. To use HTTPS after the repository becomes public:
|
||||
|
||||
```sh
|
||||
WINE_ACCESS_GIT_URL=https://git.stormux.org/storm/wine-access.git makepkg -si
|
||||
```
|
||||
The source uses the maintained repository's public HTTPS URL. Git sources
|
||||
include committed files only.
|
||||
|
||||
The package installs the Winelib launcher, its sidecar, both native menu hook
|
||||
DLLs, and the 32-bit menu host
|
||||
under `/usr/libexec/wine-access/`. It provides and conflicts with the older
|
||||
`cthulhu-wine-access` helper, so pacman
|
||||
can replace that package in the installation transaction.
|
||||
under `/usr/libexec/wine-access/`. It provides and conflicts with `wine-access`.
|
||||
|
||||
## Orca extension
|
||||
|
||||
The package also installs a shared copy of the extension under
|
||||
`/usr/share/wine-access/orca/wine_access/` and its instructions under
|
||||
`/usr/share/doc/wine-access/orca/README.md`. Orca 51 or later is an optional
|
||||
dependency; Cthulhu users do not need to install it.
|
||||
|
||||
Orca currently scans each user's extension directory rather than a system
|
||||
extension directory. To use the packaged copy, run these commands as the user
|
||||
who runs Orca:
|
||||
|
||||
```sh
|
||||
mkdir -p "${XDG_DATA_HOME:-$HOME/.local/share}/orca/extensions"
|
||||
ln -sT /usr/share/wine-access/orca/wine_access \
|
||||
"${XDG_DATA_HOME:-$HOME/.local/share}/orca/extensions/wine_access"
|
||||
orca --approve-extension wine_access
|
||||
```
|
||||
|
||||
Restart Orca afterward. If an earlier `wine_access` copy exists in that user
|
||||
directory, move it aside first; the link command does not replace existing
|
||||
files or directories. Package upgrades update the shared extension. Approve
|
||||
it again whenever its contents change, then restart Orca.
|
||||
|
||||
Only one reader's helper can serve a Wine desktop/prefix at a time. Stop
|
||||
Cthulhu's Wine helper before using Orca for that prefix; disable the Orca
|
||||
extension before switching back to Cthulhu.
|
||||
|
||||
## Helper discovery
|
||||
|
||||
Use this package for subsequent updates rather than also installing through
|
||||
`build.sh`. If an earlier local installation exists under
|
||||
|
||||
Reference in new issue
Block a user