Package Details: obs-ocr 0.0.5-1

Git Clone URL: https://aur.archlinux.org/obs-ocr.git (read-only, click to copy)
Package Base: obs-ocr
Description: OCR Plugin for OBS based on Tesseract
Upstream URL: https://github.com/occ-ai/obs-ocr
Licenses: GPL2
Submitter: umireon
Maintainer: umireon
Last Packager: umireon
Votes: 0
Popularity: 0.000000
First Submitted: 2024-03-10 14:36 (UTC)
Last Updated: 2024-03-10 14:36 (UTC)

Latest Comments

TheBill2001 commented on 2025-08-13 15:34 (UTC)

Here is the updated PKBUILD for v0.0.8

pkgname=obs-ocr
pkgver=0.0.8
pkgrel=1
pkgdesc='OCR Plugin for OBS based on Tesseract'
arch=(x86_64)
url='https://github.com/occ-ai/obs-ocr'
license=('GPL-2.0-only')
depends=('obs-studio' 'opencv' 'curl' 'tesseract' 'qt6-base')
makedepends=('cmake')
source=("${pkgname}-${pkgver}.tar.xz::https://github.com/royshil/obs-ocr/archive/refs/tags/${pkgver}.tar.gz")
sha256sums=('f453060ac19ecf7aeb62300ebdfa3b76a18796ba1de24921bc9faee6fc6c61f2')

build() {
    cmake -B build -S "${pkgname}-${pkgver}-source" \
        -W no-dev \
        -DCMAKE_BUILD_TYPE=None \
        -DCMAKE_INSTALL_PREFIX=/usr \
        -DENABLE_FRONTEND_API=ON \
        -DENABLE_QT=ON \
        -DUSE_SYSTEM_OPENCV=ON \
        -DUSE_SYSTEM_TESSERACT=ON
    cmake --build build
}

package() {
    DESTDIR="$pkgdir" cmake --install build
}