summaryrefslogtreecommitdiff
path: root/media-plugins/deadbeef-librarybrowser
diff options
context:
space:
mode:
Diffstat (limited to 'media-plugins/deadbeef-librarybrowser')
-rw-r--r--media-plugins/deadbeef-librarybrowser/Manifest1
-rw-r--r--media-plugins/deadbeef-librarybrowser/deadbeef-librarybrowser-20141201.ebuild34
-rw-r--r--media-plugins/deadbeef-librarybrowser/deadbeef-librarybrowser-99999999.ebuild30
-rw-r--r--media-plugins/deadbeef-librarybrowser/files/deadbeef-librarybrowser-avoid-version.patch18
4 files changed, 83 insertions, 0 deletions
diff --git a/media-plugins/deadbeef-librarybrowser/Manifest b/media-plugins/deadbeef-librarybrowser/Manifest
new file mode 100644
index 00000000..084a3766
--- /dev/null
+++ b/media-plugins/deadbeef-librarybrowser/Manifest
@@ -0,0 +1 @@
+DIST deadbeef-librarybrowser-20141201.tar.gz 36183 SHA256 8e0e10047ae8893267c44f7ba824dd8ba0448ed742165e4364476be3d5f32ce1 SHA512 4eb6fc8d58ded0c9e4315f4f2c65426d5f8fe4a3c2f8563f5a3d288996566b6efe7d06c3f7369b2fbd262ffb3ac0bd82c300852cc8600e3f50b7afc8b60e54dd WHIRLPOOL 02a00ad4f13117db27840f4998aa59dac161481327a88630892165192674e77c76abda6ba6d6b8195e5d7ee1afda5f63bb3f7ffb41a907c55c3aea70b47ad72e
diff --git a/media-plugins/deadbeef-librarybrowser/deadbeef-librarybrowser-20141201.ebuild b/media-plugins/deadbeef-librarybrowser/deadbeef-librarybrowser-20141201.ebuild
new file mode 100644
index 00000000..3f0623ed
--- /dev/null
+++ b/media-plugins/deadbeef-librarybrowser/deadbeef-librarybrowser-20141201.ebuild
@@ -0,0 +1,34 @@
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+DEADBEEF_GUI="yes"
+
+inherit autotools deadbeef-plugins
+
+GITHUB_COMMIT="68e1a92339be65cbeda09304e74f1744ff1c127d"
+
+DESCRIPTION="DeaDBeeF filebrowser plugin that resemble foobar2k music library"
+HOMEPAGE="https://github.com/JesseFarebro/deadbeef-librarybrowser"
+SRC_URI="https://github.com/JesseFarebro/${PN}/archive/${GITHUB_COMMIT}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~*"
+
+RDEPEND+=" !media-plugins/deadbeef-fb:0"
+
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${PN}-${GITHUB_COMMIT}"
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-avoid-version.patch"
+
+ eautoreconf
+}
+
+src_configure() {
+ econf --disable-static \
+ $(use_enable gtk2) \
+ $(use_enable gtk3)
+}
diff --git a/media-plugins/deadbeef-librarybrowser/deadbeef-librarybrowser-99999999.ebuild b/media-plugins/deadbeef-librarybrowser/deadbeef-librarybrowser-99999999.ebuild
new file mode 100644
index 00000000..c2ff3fbb
--- /dev/null
+++ b/media-plugins/deadbeef-librarybrowser/deadbeef-librarybrowser-99999999.ebuild
@@ -0,0 +1,30 @@
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+DEADBEEF_GUI="yes"
+
+inherit autotools deadbeef-plugins git-r3
+
+DESCRIPTION="DeaDBeeF filebrowser plugin that resemble foobar2k music library"
+HOMEPAGE="https://github.com/JesseFarebro/deadbeef-librarybrowser"
+EGIT_REPO_URI="https://github.com/JesseFarebro/${PN}.git"
+
+LICENSE="GPL-2"
+KEYWORDS=""
+
+RDEPEND+=" !media-plugins/deadbeef-fb:0"
+
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-avoid-version.patch"
+
+ eautoreconf
+}
+
+src_configure() {
+ econf --disable-static \
+ $(use_enable gtk2) \
+ $(use_enable gtk3)
+}
diff --git a/media-plugins/deadbeef-librarybrowser/files/deadbeef-librarybrowser-avoid-version.patch b/media-plugins/deadbeef-librarybrowser/files/deadbeef-librarybrowser-avoid-version.patch
new file mode 100644
index 00000000..faf9b4ab
--- /dev/null
+++ b/media-plugins/deadbeef-librarybrowser/files/deadbeef-librarybrowser-avoid-version.patch
@@ -0,0 +1,18 @@
+--- Makefile.am.org 2015-02-25 09:28:23.422993265 +0300
++++ Makefile.am 2015-02-25 09:28:34.092965442 +0300
+@@ -21,13 +21,13 @@
+ # normal lib
+ 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 -g
+ 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 -g
+ endif