blob: 45eb161d491755abd94256062944390ab1dae3b0 (
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
30
31
32
33
34
35
|
# Maintainer: JustKidding <jk@vin.ovh>
pkgname=ueberzugpp
pkgver=2.9.0
pkgrel=2
pkgdesc="Command line util which allows to display images in combination with X11 written in C++"
arch=(any)
url="https://github.com/jstkdng/ueberzugpp"
license=("GPL3")
makedepends=("cmake" "cli11" "nlohmann-json" "microsoft-gsl" "wayland-protocols" "extra-cmake-modules")
depends=("opencv" "libvips" "glib2" "libxcb" "xcb-util-image" "libsixel" "openssl" "spdlog" "libglvnd"
"fmt" "turbo-base64" "chafa" "wayland" "onetbb" "glibc" "gcc-libs" "xcb-util-errors")
source=("https://github.com/jstkdng/${pkgname}/archive/v${pkgver}.tar.gz")
sha256sums=('749ca0b6f9ecae449d86b449bc6ba434d47f106e358bd4f8a61c7b983330440e')
provides=("ueberzug")
conflicts=("ueberzug")
options=("debug")
build() {
cmake -B build -S "$pkgname-$pkgver" \
-DCMAKE_BUILD_TYPE='None' \
-DCMAKE_INSTALL_PREFIX='/usr' \
-DENABLE_TURBOBASE64=ON \
-DENABLE_WAYLAND=ON \
-DENABLE_XCB_ERRORS=ON \
-DENABLE_OPENGL=ON \
-Wno-dev
cmake --build build -j $(nproc)
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
# vim:set ts=2 sw=2 et:
|