summaryrefslogtreecommitdiff
path: root/media-plugins/deadbeef-fb
diff options
context:
space:
mode:
authorStefan Cristian B. <steven.darklight@gmail.com>2015-06-18 18:31:03 +0300
committerStefan Cristian B. <steven.darklight@gmail.com>2015-06-18 18:31:03 +0300
commit71c20430bd06d80b663fb54d1df67598d804c219 (patch)
tree8ed9e8852b128c270f9197edf597532ac3fd8e11 /media-plugins/deadbeef-fb
parent35875647a1f4db65a3a7a559479ef8e311acbac2 (diff)
parent975d01bc65f0f9190808c0d3cddf3131a790a8f6 (diff)
Merge pull request #52 from crismblog/master
Applications useful and beautiful themes
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