summaryrefslogtreecommitdiff
path: root/media-plugins/deadbeef-spectrogram/deadbeef-spectrogram-20150110.ebuild
blob: d8d73d6fb55993c814df77ee1249b6d92a61f0a6 (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
30
31
# Distributed under the terms of the GNU General Public License v2

EAPI="5"

DEADBEEF_GUI="yes"

inherit deadbeef-plugins

GITHUB_COMMIT="8d1b3713f3a3a8a93b4934a4782fb3db7f744fb7"

DESCRIPTION="DeaDBeeF spectrogram plugin"
HOMEPAGE="https://github.com/cboxdoerfer/ddb_spectrogram"
SRC_URI="https://github.com/cboxdoerfer/ddb_spectrogram/archive/${GITHUB_COMMIT}.tar.gz -> ${P}.tar.gz"

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

RDEPEND+=" sci-libs/fftw:3.0="

DEPEND="${RDEPEND}"

S="${WORKDIR}/ddb_spectrogram-${GITHUB_COMMIT}"

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

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