mirror of
https://github.com/k4yt3x/video2x.git
synced 2024-12-28 23:19:11 +00:00
cd2006b4d9
* feat: updated PKGBUILD description * feat: updated workflow syntax and dependencies * feat: switched logging to spdlog * chore: adjusted library defaults * ci: fixed spdlog format string issues * docs: fixed docs for libvideo2x functions * feat: organized header files * fix: fixed header installation directory * feat: link spdlog statically if compiled from source * feat: adjusted libvideo2x log level enum names * feat: added version.h header Signed-off-by: k4yt3x <i@k4yt3x.com>
28 lines
687 B
Bash
28 lines
687 B
Bash
pkgname=video2x
|
|
pkgver=r840.ecbc512
|
|
pkgrel=1
|
|
pkgdesc="A machine learning-based lossless video super resolution framework"
|
|
arch=('x86_64')
|
|
url="https://github.com/k4yt3x/video2x"
|
|
license=('AGPL3')
|
|
depends=('ffmpeg' 'ncnn' 'vulkan-driver')
|
|
makedepends=('git' 'cmake' 'make' 'clang' 'pkgconf' 'vulkan-headers' 'openmp' 'spdlog')
|
|
|
|
pkgver() {
|
|
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
|
}
|
|
|
|
prepare() {
|
|
git submodule update --init --recursive
|
|
}
|
|
|
|
build() {
|
|
cmake -B build -S .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
|
|
cmake --build build --config Release --parallel
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|
|
|