Ship ueberzugpp with packaged installs
This commit is contained in:
parent
d94365cc56
commit
ded9b9fdfb
4 changed files with 13 additions and 1 deletions
2
PKGBUILD
2
PKGBUILD
|
|
@ -5,7 +5,7 @@ pkgdesc="Terminal file manager inspired by Midnight Commander"
|
|||
arch=("x86_64" "aarch64")
|
||||
url="https://github.com/vrubelroman/vcom"
|
||||
license=("MIT")
|
||||
depends=("glibc")
|
||||
depends=("glibc" "ueberzugpp")
|
||||
makedepends=("go")
|
||||
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
|
||||
sha256sums=("SKIP")
|
||||
|
|
|
|||
|
|
@ -73,6 +73,8 @@ Install into user profile:
|
|||
nix profile add github:vrubelroman/vcom?ref=v0.1.5
|
||||
```
|
||||
|
||||
The Nix package wraps `vcom` with `ueberzugpp` in `PATH`, so image preview works in non-`kitty` terminals out of the box.
|
||||
|
||||
### Debian / Ubuntu
|
||||
|
||||
Download the release `.deb` for `v0.1.5`, then install:
|
||||
|
|
@ -81,6 +83,8 @@ Download the release `.deb` for `v0.1.5`, then install:
|
|||
sudo apt install ./vcom_0.1.5_amd64.deb
|
||||
```
|
||||
|
||||
The Debian package declares `ueberzugpp` as a dependency for image preview outside `kitty`.
|
||||
|
||||
Install a Nerd Font (example):
|
||||
|
||||
```bash
|
||||
|
|
@ -100,6 +104,8 @@ A `PKGBUILD` is included in the repository:
|
|||
makepkg -si
|
||||
```
|
||||
|
||||
The Arch package depends on `ueberzugpp`, so non-`kitty` image preview is installed together with `vcom`.
|
||||
|
||||
## Configuration
|
||||
|
||||
Optional config lookup order:
|
||||
|
|
|
|||
|
|
@ -35,6 +35,11 @@
|
|||
package = pkgs.symlinkJoin {
|
||||
name = "vcom";
|
||||
paths = [ packageBase ];
|
||||
nativeBuildInputs = [ pkgs.makeWrapper ];
|
||||
postBuild = ''
|
||||
wrapProgram "$out/bin/vcom" \
|
||||
--prefix PATH : "${lib.makeBinPath [ pkgs.ueberzugpp ]}"
|
||||
'';
|
||||
};
|
||||
in {
|
||||
packages.default = package;
|
||||
|
|
|
|||
|
|
@ -29,6 +29,7 @@ Section: utils
|
|||
Priority: optional
|
||||
Architecture: amd64
|
||||
Maintainer: Roman Vrubel <roman@vrubel.dev>
|
||||
Depends: ueberzugpp
|
||||
Description: Terminal file manager inspired by Midnight Commander
|
||||
A two-pane terminal file manager with inspect mode and text previews.
|
||||
EOF
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue