summaryrefslogtreecommitdiff
path: root/media-plugins/deadbeef-fb
diff options
context:
space:
mode:
Diffstat (limited to 'media-plugins/deadbeef-fb')
-rw-r--r--media-plugins/deadbeef-fb/Manifest1
-rw-r--r--media-plugins/deadbeef-fb/deadbeef-fb-20141028.ebuild35
-rw-r--r--media-plugins/deadbeef-fb/deadbeef-fb-99999999.ebuild35
-rw-r--r--media-plugins/deadbeef-fb/files/deadbeef-fb-avoid-version.patch18
4 files changed, 89 insertions, 0 deletions
diff --git a/media-plugins/deadbeef-fb/Manifest b/media-plugins/deadbeef-fb/Manifest
new file mode 100644
index 00000000..5fa31b65
--- /dev/null
+++ b/media-plugins/deadbeef-fb/Manifest
@@ -0,0 +1 @@
+DIST deadbeef-fb-20141028.tar.gz 360665 SHA256 67e2808038168f3a482b998f033fbed74a7da1697698bf8a9f87b6388f9caab3 SHA512 fb7aa0e54f63f264baa86bbeed9d41f60ff3d2ad1727b7a0d186bf5c5cca7604c8a49258f5f48eb10aff8e835f72c9acefa586d75a66e448eca75952fac91cc9 WHIRLPOOL c67b01960313443ab88f95d38ed57cab824e3f253c9d80fe3a8dba7c34eb0be7fec050800e6b4d965d0d359547ba12d5becaa52d2b0ba7a17a57ec8776f3f483
diff --git a/media-plugins/deadbeef-fb/deadbeef-fb-20141028.ebuild b/media-plugins/deadbeef-fb/deadbeef-fb-20141028.ebuild
new file mode 100644
index 00000000..fa015504
--- /dev/null
+++ b/media-plugins/deadbeef-fb/deadbeef-fb-20141028.ebuild
@@ -0,0 +1,35 @@
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+DEADBEEF_GUI="yes"
+
+inherit autotools deadbeef-plugins
+
+DESCRIPTION="DeaDBeeF filebrowser plugin"
+HOMEPAGE="http://sourceforge.net/projects/deadbeef-fb"
+SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}_src.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~*"
+
+IUSE+=" debug"
+
+RDEPEND+=" !media-plugins/deadbeef-librarybrowser:0"
+
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/deadbeef-fb-devel"
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-avoid-version.patch"
+
+ eautoreconf
+}
+
+src_configure() {
+ econf --disable-static \
+ $(use_enable debug) \
+ $(use_enable gtk2) \
+ $(use_enable gtk3)
+}
diff --git a/media-plugins/deadbeef-fb/deadbeef-fb-99999999.ebuild b/media-plugins/deadbeef-fb/deadbeef-fb-99999999.ebuild
new file mode 100644
index 00000000..a4d950b7
--- /dev/null
+++ b/media-plugins/deadbeef-fb/deadbeef-fb-99999999.ebuild
@@ -0,0 +1,35 @@
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+DEADBEEF_GUI="yes"
+
+inherit autotools deadbeef-plugins git-r3
+
+EGIT_REPO_URI="git://git.code.sf.net/p/${PN}/code"
+EGIT_BRANCH="master"
+
+DESCRIPTION="DeaDBeeF filebrowser plugin"
+HOMEPAGE="http://sourceforge.net/projects/deadbeef-fb"
+
+LICENSE="GPL-2"
+KEYWORDS=""
+
+IUSE+=" debug"
+
+RDEPEND+=" !media-plugins/deadbeef-librarybrowser:0"
+
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-avoid-version.patch"
+
+ eautoreconf
+}
+
+src_configure() {
+ econf --disable-static \
+ $(use_enable debug) \
+ $(use_enable gtk2) \
+ $(use_enable gtk3)
+}
diff --git a/media-plugins/deadbeef-fb/files/deadbeef-fb-avoid-version.patch b/media-plugins/deadbeef-fb/files/deadbeef-fb-avoid-version.patch
new file mode 100644
index 00000000..7bb98897
--- /dev/null
+++ b/media-plugins/deadbeef-fb/files/deadbeef-fb-avoid-version.patch
@@ -0,0 +1,18 @@
+--- Makefile.am.org 2015-02-02 02:15:30.050913168 +0300
++++ Makefile.am 2015-02-02 02:15:52.070913238 +0300
+@@ -40,13 +40,13 @@
+
+ if HAVE_GTK2
+ ddb_misc_filebrowser_GTK2_la_SOURCES = $(filebrowser_SOURCES)
+-ddb_misc_filebrowser_GTK2_la_LDFLAGS = -module
++ddb_misc_filebrowser_GTK2_la_LDFLAGS = -module -avoid-version
+ ddb_misc_filebrowser_GTK2_la_LIBADD = $(LDADD) $(GTK2_DEPS_LIBS)
+ ddb_misc_filebrowser_GTK2_la_CFLAGS = -std=c99 $(GTK2_DEPS_CFLAGS) -Wall -Werror $(DEBUG_FLAGS)
+ endif
+ if HAVE_GTK3
+ ddb_misc_filebrowser_GTK3_la_SOURCES = $(filebrowser_SOURCES)
+-ddb_misc_filebrowser_GTK3_la_LDFLAGS = -module
++ddb_misc_filebrowser_GTK3_la_LDFLAGS = -module -avoid-version
+ ddb_misc_filebrowser_GTK3_la_LIBADD = $(LDADD) $(GTK3_DEPS_LIBS)
+ ddb_misc_filebrowser_GTK3_la_CFLAGS = -std=c99 $(GTK3_DEPS_CFLAGS) -Wall -Werror $(DEBUG_FLAGS)
+ endif