# Template file for 'songrec'
pkgname=songrec
version=0.7.4
revision=1
build_style=cargo
hostmakedepends="clang22 pkg-config glib-devel blueprint-compiler gettext"
makedepends="alsa-lib-devel dbus-devel libadwaita-devel libsoup3-devel
 openssl-devel pipewire-devel pulseaudio-devel"
depends="ffmpeg6"
short_desc="Open-source Shazam client"
maintainer="Lydia Sobot <chilledfrogs@disroot.org>"
license="GPL-3.0-only"
homepage="https://github.com/marin-m/SongRec"
changelog="https://github.com/marin-m/SongRec/releases"
distfiles="https://github.com/marin-m/SongRec/archive/refs/tags/${version}.tar.gz"
checksum=f62efd1ad8c8eb4722f814c3ef96a41f1f7ac261564b2609f79ecb469964852a

post_install() {
	vcopy packaging/rootfs/usr/share usr
}
