blob: 930a16df106afc9188d2665c6c6ed99f048bcaf2 (
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.2
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" "nlohmann-json" "microsoft-gsl")
depends=("opencv" "libvips" "xcb-util-image" "libsixel" "openssl" "spdlog" "zeromq" "fmt" "turbo-base64")
source=("https://github.com/jstkdng/${pkgname}/archive/v${pkgver}.tar.gz")
sha256sums=('202eee24b706f9120cb506de7a6cf8f46d1ea3bdf2fbca5e53513b21c5be9695')
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:
|