summaryrefslogtreecommitdiff
path: root/media-plugins/deadbeef-waveform-seekbar/deadbeef-waveform-seekbar-0.5.ebuild
blob: 9e40dd7ced003989aa2d95ef30d9c7629fccc63b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Distributed under the terms of the GNU General Public License v2

EAPI="5"

DEADBEEF_GUI="yes"

inherit deadbeef-plugins

DESCRIPTION="DeaDBeeF waveform seekbar plugin"
HOMEPAGE="https://github.com/cboxdoerfer/ddb_waveform_seekbar"
SRC_URI="https://github.com/cboxdoerfer/ddb_waveform_seekbar/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="GPL-2"
KEYWORDS="~*"

RDEPEND+=" dev-db/sqlite:3"

DEPEND="${RDEPEND}"

S="${WORKDIR}/ddb_waveform_seekbar-${PV}"

src_prepare() {
	epatch "${FILESDIR}/${PN}-cflags-lm.patch"
}

src_compile() {
	use gtk2 && emake gtk2
	use gtk3 && emake gtk3
}