summaryrefslogtreecommitdiff
path: root/media-plugins/deadbeef-infobar/deadbeef-infobar-9999.ebuild
blob: 34b76bde51500a21009308b70b03dd7ceed149e6 (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
32
# Distributed under the terms of the GNU General Public License v2

EAPI="5"

DEADBEEF_GUI="yes"

inherit deadbeef-plugins mercurial

DESCRIPTION="DeaDBeeF infobar plugin that shows lyrics and artist's biography for the current track"
HOMEPAGE="https://bitbucket.org/dsimbiriatin/deadbeef-infobar"
EHG_REPO_URI="https://bitbucket.org/dsimbiriatin/${PN}"

LICENSE="GPL-2"
KEYWORDS=""

RDEPEND+=" dev-libs/libxml2:2
	x11-libs/gdk-pixbuf:2[jpeg]
	media-sound/deadbeef:0[curl]"

DEPEND="${RDEPEND}"

src_prepare() {
	epatch "${FILESDIR}/${PN}-cflags.diff"
	epatch "${FILESDIR}/${PN}-load-gtk2-and-gtk3-version-fix.diff"

	use gtk2 && epatch "${FILESDIR}/${PN}-focus-fix.diff"
}

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