void-packages/srcpkgs/tellico/template

30 lines
1.3 KiB
Bash

# Template file for 'tellico'
pkgname=tellico
version=3.3.3
revision=1
build_style=cmake
configure_args="-DENABLE_WEBCAM=$(vopt_if webcam ON OFF)"
hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools kdoctools kconfig
gettext kcoreaddons"
makedepends="kfilemetadata5-devel khtml-devel kitemmodels-devel knewstuff-devel
kguiaddons-devel karchive-devel kiconthemes-devel
$(vopt_if webcam v4l-utils-devel) $(vopt_if yaz yaz-devel)
$(vopt_if xmp exempi-devel) $(vopt_if cdio libcdio-devel)
$(vopt_if cddb libkcddb-devel) $(vopt_if scanner libksane-devel)
libcdio-paranoia-devel ksolid-devel"
short_desc="Collection manager for KDE"
maintainer="John <me@johnnynator.dev>"
license="GPL-3.0-or-later"
homepage="http://tellico-project.org/"
distfiles="http://tellico-project.org/files/${pkgname}-${version}.tar.xz"
checksum=f5c75b5136b632ddffc8dca53927468e00c44c3ef8b11d1d5380b9f2e5b463aa
python_version=3
build_options="webcam yaz xmp cdio cddb scanner"
build_options_default="webcam yaz xmp cdio cddb scanner"
desc_option_cdio="Support for reading cdtext from audio CDs"
desc_option_webcam="Support for barcode scanning with a webcam"
desc_option_xmp="Support for reading PDF/XMP metadata"
desc_option_yaz="Support for searching z39.50 databases"
desc_option_cddb="Support for CDDB searches"
desc_option_scanner="Support for adding scanned images to a collection"