void-packages/srcpkgs/deadbeef-waveform-seekbar/template

26 lines
1,003 B
Bash

# Template file for 'deadbeef-waveform-seekbar'
pkgname=deadbeef-waveform-seekbar
version=0.5.20180417
revision=2
_commit=52b37e8a95c36d93a348eb78b11bb54dfb039b9d
wrksrc="ddb_waveform_seekbar-${_commit}"
build_style=gnu-makefile
make_use_env=yes
make_build_args="$(vopt_if gtk3 gtk3 gtk2)"
hostmakedepends="pkg-config"
makedepends="deadbeef-devel sqlite-devel $(vopt_if gtk3 gtk+3-devel gtk+-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
build_options="gtk3"
build_options_default="gtk3"
LDFLAGS+=" -lm"
do_install() {
vmkdir usr/lib/deadbeef
vinstall $(vopt_if gtk3 gtk3/ddb_misc_waveform_GTK3.so gtk2/ddb_misc_waveform_GTK2.so) 755 usr/lib/deadbeef
}