void-packages/srcpkgs/waifu2x-converter-cpp/template
2019-01-25 23:38:28 -02:00

25 lines
749 B
Bash

# Template file for 'waifu2x-converter-cpp'
pkgname=waifu2x-converter-cpp
version=5.2.3
revision=1
build_style=cmake
configure_args="-DINSTALL_MODELS=ON"
hostmakedepends="pkg-config"
makedepends="libopencv-devel opencl2-headers"
short_desc="Image upscaling using deep convolutional neural networks"
maintainer="SolitudeSF <solitudesf@protonmail.com>"
license="MIT"
homepage="https://github.com/DeadSix27/waifu2x-converter-cpp"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=fc1f6317dce9ca7a4cb8e36be5c9e18d46e7ac41f7a444eaab2df8be5e44fd43
pre_configure() {
# conv is a generator built with add_executable
# build it before so it is built with the correct
# toolchain
cc -o build/conv conv.c
}
post_install() {
vlicense LICENSE
}