deadbeef-waveform-seekbar: add gtk3 build option
This commit is contained in:
parent
bc8e1443d5
commit
16532b4abc
|
@ -1,14 +1,14 @@
|
|||
# Template file for 'deadbeef-waveform-seekbar'
|
||||
pkgname=deadbeef-waveform-seekbar
|
||||
version=0.5.20180417
|
||||
revision=1
|
||||
revision=2
|
||||
_commit=52b37e8a95c36d93a348eb78b11bb54dfb039b9d
|
||||
wrksrc="ddb_waveform_seekbar-${_commit}"
|
||||
build_style=gnu-makefile
|
||||
make_use_env=yes
|
||||
make_build_args="gtk3"
|
||||
make_build_args="$(vopt_if gtk3 gtk3 gtk2)"
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="deadbeef-devel gtk+3-devel sqlite-devel"
|
||||
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>"
|
||||
|
@ -16,9 +16,11 @@ 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 gtk3/ddb_misc_waveform_GTK3.so 755 usr/lib/deadbeef
|
||||
vinstall $(vopt_if gtk3 gtk3/ddb_misc_waveform_GTK3.so gtk2/ddb_misc_waveform_GTK2.so) 755 usr/lib/deadbeef
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue