void-packages/srcpkgs/whipper/template

24 lines
846 B
Bash

# Template file for 'whipper'
pkgname=whipper
version=0.9.0
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools"
makedepends="libsndfile-devel python3-devel"
depends="libcdio-paranoia cdrdao python3-gobject python3-musicbrainzngs
python3-mutagen python3-requests python3-pycdio python3-discid
python3-ruamel.yaml flac sox"
short_desc="Python CD-DA ripper preferring accuracy over speed"
maintainer="Stefano Ragni <st3r4g@protonmail.com>"
license="GPL-3.0-or-later"
homepage="https://github.com/whipper-team/whipper"
distfiles="https://github.com/whipper-team/whipper/archive/v${version}.tar.gz"
checksum=3caceeec7ca73c8b73147884b0f8eeacbe66af52900021b564118b88d23afbd2
patch_args="-Np1"
pre_build() {
# Temporary workaround for https://github.com/whipper-team/whipper/issues/428
echo "Version: ${version}" > PKG-INFO
}