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