You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Template file for 'gazou'
pkgname=gazou
version=0.3.3
revision=1
build_style=cmake
configure_args="-DGUI=ON"
makedepends="qt5-devel tesseract-ocr-devel leptonica-devel qt5-x11extras-devel"
hostmakedepends="pkg-config"
short_desc="Japanese and Chinese OCR application"
maintainer="jaminW <jaminW55@gmail.com>"
license="GPL-3.0"
homepage="https://github.com/kamui-fin/gazou"
distfiles="https://github.com/kamui-fin/gazou/archive/refs/tags/v${version}.tar.gz"
checksum=b939ebfaca7fa5703025328c5cb670e8718aaeace11eaadcbde506b0eb6c04e2
#if [ "$build_option_gui" ]; then
# makedepends+=" qhotkey-devel"
#fi
do_fetch() {
# Clone the repository with submodules
git clone --recursive https://github.com/kamui-fin/gazou.git ${wrksrc}
cd ${wrksrc}
git submodule init
git submodule update
}
do_configure() {
cmake ${wrksrc} ${configure_args} -DBUILD_TESTING=OFF
}
do_build() {
make
}
do_install() {
make DESTDIR=${DESTDIR} install
}
I've started this one myself, but have had some issues building. I used the Nixpkg as my guide, which was built by me, but couldn't seem to fix the build issues. I referred to some other templates as reference and had it cross checked by a friend for some build specifics (I'm not entirely certain on the submodule part).
Primarily it seems to be failing on the qhotkey program, which is a separate program used by Gazou. I tried doing some things with it, but the template became very confusing and nothing was gained, so I've just kept a single, commented out line as reference.
Hopefully this template could help expedite the process?
Package name
gazou
Package homepage
https://github.com/kamui-fin/gazou
Description
Gazou is a Japanese and Chinese OCR application written in C++. It utilizes image processing, and other parameters to improve the accuracy.
Does the requested package meet the package requirements?
System, Compiled
Is the requested package released?
Yes
The text was updated successfully, but these errors were encountered: