summaryrefslogtreecommitdiff
path: root/media-plugins/deadbeef-infobar/deadbeef-infobar-1.4.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'media-plugins/deadbeef-infobar/deadbeef-infobar-1.4.ebuild')
-rw-r--r--media-plugins/deadbeef-infobar/deadbeef-infobar-1.4.ebuild32
1 files changed, 32 insertions, 0 deletions
diff --git a/media-plugins/deadbeef-infobar/deadbeef-infobar-1.4.ebuild b/media-plugins/deadbeef-infobar/deadbeef-infobar-1.4.ebuild
new file mode 100644
index 00000000..76c79ad4
--- /dev/null
+++ b/media-plugins/deadbeef-infobar/deadbeef-infobar-1.4.ebuild
@@ -0,0 +1,32 @@
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+DEADBEEF_GUI="yes"
+
+inherit deadbeef-plugins
+
+DESCRIPTION="DeaDBeeF infobar plugin for DeadBeeF that shows lyrics and artist's biography for the current track"
+HOMEPAGE="https://bitbucket.org/dsimbiriatin/deadbeef-infobar"
+SRC_URI="https://bitbucket.org/dsimbiriatin/${PN}/downloads/${P}.tar.gz"
+
+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
+}