# Template file for 'deadbeef-waveform-seekbar'
pkgname=deadbeef-waveform-seekbar
version=0.5.20180417
revision=1
_commit=52b37e8a95c36d93a348eb78b11bb54dfb039b9d
wrksrc="ddb_waveform_seekbar-${_commit}"
build_style=gnu-makefile
make_use_env=yes
make_build_args="gtk3"
hostmakedepends="pkg-config"
makedepends="deadbeef-devel gtk+3-devel sqlite-devel"
depends="deadbeef"
short_desc="Waveform Seekbar plugin for DeaDBeeF audio player"
maintainer="newbluemoon <blaumolch@mailbox.org>"
license="GPL-2.0-or-later"
homepage="https://github.com/cboxdoerfer/ddb_waveform_seekbar"
distfiles="https://github.com/cboxdoerfer/ddb_waveform_seekbar/archive/${_commit}.tar.gz"
checksum=42870d818dc0e89975f4524d3365a44c6b5fb0f119d7e7ec49d07bf92bb29b83
LDFLAGS+=" -lm"

do_install() {
	vmkdir usr/lib/deadbeef
	vinstall gtk3/ddb_misc_waveform_GTK3.so 755 usr/lib/deadbeef
}
