makedeb
Command line util which allows to display images in combination with X11 written in C++
Click here to go back to the commit logs for ueberzugpp-git.
Hash: 8039d931064facbed3002996bf165b262a361728
Message: Initial mpr release
diff --git a/.SRCINFO b/.SRCINFO
index 8d4f26c..7f9c3c9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,28 +1,86 @@
-pkgbase = ueberzugpp
- pkgdesc = Command line util which allows to display images in combination with X11 written in C++
- pkgver = 2.8.4
- pkgrel = 1
- url = https://github.com/jstkdng/ueberzugpp
- arch = x86_64
- license = GPL3
- makedepends = cmake
- makedepends = cli11
- makedepends = cppzmq
- makedepends = nlohmann-json
- makedepends = microsoft-gsl
- depends = opencv
- depends = libvips
- depends = xcb-util-image
- depends = libsixel
- depends = openssl
- depends = spdlog
- depends = zeromq
- depends = fmt
- depends = turbo-base64
- depends = chafa
- provides = ueberzug
- conflicts = ueberzug
- source = https://github.com/jstkdng/ueberzugpp/archive/v2.8.4.tar.gz
- sha256sums = 580c6f6ac029438194ff9027867a1bcc9dcbaa2a5f3766b22cd2f62c6325909d
-
-pkgname = ueberzugpp
+generated-by = makedeb
+pkgname = ueberzugpp-git
+pkgbase = ueberzugpp-git
+pkgdesc = Command line util which allows to display images in combination with X11 written in C++
+pkgrel = 1
+pkgver = 2.8.6.r1.cfa121f
+url = https://github.com/jstkdng/ueberzugpp
+arch = amd64
+conflicts = ueberzug
+conflicts = ueberzugpp
+depends = libvips42
+depends = libsixel1
+depends = libssl1.1
+depends = libspdlog1
+depends = libzmq5
+depends = libfmt7
+depends = libchafa0
+depends = libtbb2
+depends = libxcb1
+license = GPL3
+makedepends = git
+makedepends = sed
+makedepends = grep
+makedepends = cmake
+makedepends = extra-cmake-modules
+makedepends = libzmq3-dev
+makedepends = nlohmann-json3-dev
+makedepends = libmsgsl-dev
+makedepends = libtbb-dev
+makedepends = libvips-dev
+makedepends = libsixel-dev
+makedepends = libspdlog-dev
+makedepends = libfmt-dev
+makedepends = libchafa-dev
+makedepends = libssl-dev
+makedepends = libxcb1-dev
+optdepends = libopencv-core4.5
+optdepends = libopencv-imgcodecs4.5
+optdepends = libopencv-imgproc4.5
+optdepends = libopencv-videoio4.5
+optdepends = libxcb-image0
+optdepends = wayland-protocols
+optdepends = libwayland-client0
+provides = ueberzug
+provides = ueberzugpp
+source = git+https://github.com/jstkdng/ueberzugpp.git
+b2sums = SKIP
+makedepends = git
+makedepends = sed
+makedepends = grep
+makedepends = cmake
+makedepends = extra-cmake-modules
+makedepends = libzmq3-dev
+makedepends = nlohmann-json3-dev
+makedepends = libmsgsl-dev
+makedepends = libtbb-dev
+makedepends = libvips-dev
+makedepends = libsixel-dev
+makedepends = libspdlog-dev
+makedepends = libfmt-dev
+makedepends = libchafa-dev
+makedepends = libssl-dev
+makedepends = libxcb1-dev
+optdepends = libopencv-core4.5
+optdepends = libopencv-imgcodecs4.5
+optdepends = libopencv-imgproc4.5
+optdepends = libopencv-videoio4.5
+optdepends = libxcb-image0
+optdepends = wayland-protocols
+optdepends = libwayland-client0
+optmakedepends = libcli11-dev
+optmakedepends = libopencv-dev
+optmakedepends = libopencv-core-dev
+optmakedepends = libopencv-imgcodecs-dev
+optmakedepends = libopencv-imgproc-dev
+optmakedepends = libopencv-videoio-dev
+optmakedepends = libxcb-image0-dev
+optmakedepends = libwayland-dev
+optmakedepends = libcli11-dev
+optmakedepends = libopencv-dev
+optmakedepends = libopencv-core-dev
+optmakedepends = libopencv-imgcodecs-dev
+optmakedepends = libopencv-imgproc-dev
+optmakedepends = libopencv-videoio-dev
+optmakedepends = libxcb-image0-dev
+optmakedepends = libwayland-dev
diff --git a/.gitignore b/.gitignore
index 924dfb9..6768a6f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,3 @@
pkg/
src/
-*.tar.*
+ueberzugpp*
diff --git a/PKGBUILD b/PKGBUILD
index 395ef9f..be8a337 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,19 +1,29 @@
-pkgname=ueberzugpp
-pkgver=2.8.4
+# Maintainer: exponential <echo ZXhwb25lbnRpYWxtYXRyaXhAcHJvdG9ubWFpbC5jb20K | base64 -d>
+_pkgname=ueberzugpp
+pkgname=ueberzugpp-git
+pkgver=2.8.6.r1.cfa121f
pkgrel=1
pkgdesc="Command line util which allows to display images in combination with X11 written in C++"
-arch=("x86_64")
+arch=("amd64")
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" "chafa")
-source=("https://github.com/jstkdng/${pkgname}/archive/v${pkgver}.tar.gz")
-sha256sums=('580c6f6ac029438194ff9027867a1bcc9dcbaa2a5f3766b22cd2f62c6325909d')
-provides=("ueberzug")
-conflicts=("ueberzug")
+# dependencies not fully tested
+makedepends=("git" "sed" "grep" "cmake" "extra-cmake-modules" "libzmq3-dev" "nlohmann-json3-dev" "libmsgsl-dev" "libtbb-dev" "libvips-dev" "libsixel-dev" "libspdlog-dev" "libfmt-dev" "libchafa-dev" "libssl-dev" "libxcb1-dev")
+optmakedepends=("libcli11-dev" "libopencv-dev" "libopencv-core-dev" "libopencv-imgcodecs-dev" "libopencv-imgproc-dev" "libopencv-videoio-dev" "libxcb-image0-dev" "libwayland-dev")
+depends=("libvips42" "libsixel1" "libssl1.1" "libspdlog1" "libzmq5" "libfmt7" "libchafa0" "libtbb2" "libxcb1")
+optdepends=("libopencv-core4.5" "libopencv-imgcodecs4.5" "libopencv-imgproc4.5" "libopencv-videoio4.5" "libxcb-image0" "wayland-protocols" "libwayland-client0")
+source=("git+https://github.com/jstkdng/ueberzugpp.git")
+b2sums=("SKIP")
+provides=("ueberzug" "ueberzugpp")
+conflicts=("ueberzug" "ueberzugpp")
+
+pkgver() {
+ cd "${srcdir}/${_pkgname}"
+ printf "%s.r%s.%s" "$(grep "project(ueberzugpp LANGUAGES CXX C VERSION" CMakeLists.txt | sed 's/project(ueberzugpp LANGUAGES CXX C VERSION //' | sed "s/)//")" "$(git rev-list --count HEAD)" "$(git describe --long --always | sed 's/\([^-]*-g\)/r\1/;s/-/./g')"
+}
build() {
- cmake -B build -S "$pkgname-$pkgver" \
+ cmake -B build -S "$_pkgname" \
-DCMAKE_BUILD_TYPE='None' \
-DCMAKE_INSTALL_PREFIX='/usr' \
-DENABLE_TURBOBASE64=ON \
@@ -23,7 +33,8 @@ build() {
package() {
DESTDIR="$pkgdir" cmake --install build
- ln -s "/usr/bin/ueberzug" "$pkgdir/usr/bin/ueberzugpp"
+ install -Dm644 "LICENSE" "$pkgdir/usr/share/doc/$_pkgname/license"
+ install -Dm644 "README.md" "$pkgdir/usr/share/doc/$_pkgname/readme"
}
# vim:set ts=2 sw=2 et: