diff --git a/README.md b/README.md new file mode 100644 index 0000000..b99bdaa --- /dev/null +++ b/README.md @@ -0,0 +1,5 @@ +# dpscreenocr + +[dpScreenOCR](https://danpla.github.io/dpscreenocr) is a program to recognize text on the screen. Powered by Tesseract, it supports more than 100 languages and can split independent text blocks, such as columns. Read the manual for instructions on installing, configuring, and using the program. + +![screenshot-windows](https://danpla.github.io/dpscreenocr/en/images/screenshot-windows.png) diff --git a/package.yml b/package.yml new file mode 100644 index 0000000..2d26466 --- /dev/null +++ b/package.yml @@ -0,0 +1,25 @@ +name : dpscreenocr +version : 1.5.0 +release : 1 +source : + - https://github.com/danpla/dpscreenocr/archive/refs/tags/v1.5.0.tar.gz: 7d3d7e04f29024d8db956118578a9b3dddc39030f3af08dbc9026cdb57c6a645 +homepage : https://danpla.github.io/dpscreenocr/ +license : Zlib +component : multimedia.graphics +summary : Program to recognize text on screen +description: | + Program to recognize text on screen +builddeps : + - pkgconfig(Qt5Gui) + - pkgconfig(libarchive) + - pkgconfig(tesseract) + - pkgconfig(x11) + - pkgconfig(xext) +setup : | + %cmake_ninja -B build \ + -DDPSO_GEN_HTML_MANUAL=NO \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr +build : | + %ninja_build -C build +install : | + DESTDIR=${installdir} cmake --install build