blob: 5bb52b693da76085b559f96eba1a9329fa12bf02 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
pkgname=ueberzugpp
pkgver=2.8.0
pkgrel=1
pkgdesc="Command line util which allows to display images in combination with X11 written in C++"
arch=("x86_64")
url="https://github.com/jstkdng/ueberzugpp"
license=("GPL3")
makedepends=("cmake" "cli11" "cppzmq")
depends=("opencv" "libvips" "xcb-util-image" "nlohmann-json" "libsixel" "openssl" "spdlog" "zeromq" "fmt" "turbo-base64")
source=("https://github.com/jstkdng/${pkgname}/archive/v${pkgver}.tar.gz")
sha256sums=('3f7e21052c3c218c436b1d2d8aedc1f02573ad83046be00b05069bfdc29bf4e2')
provides=("ueberzug")
conflicts=("ueberzug")
build() {
cmake -B build -S "$pkgname-$pkgver" \
-DCMAKE_BUILD_TYPE='None' \
-DCMAKE_INSTALL_PREFIX='/usr' \
-DENABLE_TURBOBASE64=ON \
-Wno-dev
cmake --build build -j $(nproc)
}
package() {
DESTDIR="$pkgdir" cmake --install build
ln -s "/usr/bin/ueberzug" "$pkgdir/usr/bin/ueberzugpp"
}
# vim:set ts=2 sw=2 et:
|