diff options
Diffstat (limited to 'media-plugins')
68 files changed, 1248 insertions, 0 deletions
diff --git a/media-plugins/deadbeef-archive-reader/deadbeef-archive-reader-20140219.ebuild b/media-plugins/deadbeef-archive-reader/deadbeef-archive-reader-20140219.ebuild new file mode 100644 index 00000000..64a1b652 --- /dev/null +++ b/media-plugins/deadbeef-archive-reader/deadbeef-archive-reader-20140219.ebuild @@ -0,0 +1,17 @@ +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit deadbeef-plugins subversion + +DESCRIPTION="DeaDBeeF vfs archive reader plugin with gzip, 7z and rar support" +HOMEPAGE="https://www.assembla.com/spaces/deadbeef_vfs_archive_reader" +ESVN_REPO_URI="https://subversion.assembla.com/svn/deadbeef_vfs_archive_reader/trunk/src" +ESVN_REVISION="16" + +LICENSE="LGPL-2.1" +KEYWORDS="~*" + +src_prepare() { + epatch "${FILESDIR}/${PN}-flags.patch" +} diff --git a/media-plugins/deadbeef-archive-reader/deadbeef-archive-reader-99999999.ebuild b/media-plugins/deadbeef-archive-reader/deadbeef-archive-reader-99999999.ebuild new file mode 100644 index 00000000..6fdf06d8 --- /dev/null +++ b/media-plugins/deadbeef-archive-reader/deadbeef-archive-reader-99999999.ebuild @@ -0,0 +1,16 @@ +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit deadbeef-plugins subversion + +DESCRIPTION="DeaDBeeF vfs archive reader plugin with gzip, 7z and rar support" +HOMEPAGE="https://www.assembla.com/spaces/deadbeef_vfs_archive_reader" +ESVN_REPO_URI="https://subversion.assembla.com/svn/deadbeef_vfs_archive_reader/trunk/src" + +LICENSE="LGPL-2.1" +KEYWORDS="" + +src_prepare() { + epatch "${FILESDIR}/${PN}-flags.patch" +} diff --git a/media-plugins/deadbeef-archive-reader/files/deadbeef-archive-reader-flags.patch b/media-plugins/deadbeef-archive-reader/files/deadbeef-archive-reader-flags.patch new file mode 100644 index 00000000..88a2c440 --- /dev/null +++ b/media-plugins/deadbeef-archive-reader/files/deadbeef-archive-reader-flags.patch @@ -0,0 +1,30 @@ +Index: src/Makefile +=================================================================== +--- Makefile (revision 16) ++++ Makefile (working copy) +@@ -8,7 +8,7 @@ + all: $(OUT) + + $(OUT): vfs_archive_reader.c libfex.a +- $(CC) $(CFLAGS) vfs_archive_reader.c libfex.a $(LDFLAGS) -o $(OUT) ++ $(CC) $(CFLAGS) vfs_archive_reader.c libfex.a -o $(OUT) $(LDFLAGS) + + libfex.a: libfex + mv fex/libfex.a . +Index: src/fex/makefile +=================================================================== +--- fex/makefile (revision 16) ++++ fex/makefile (working copy) +@@ -4,9 +4,9 @@ + all: libfex.a demo + + libfex.a: fex/fex.h fex/blargg_config.h +- cd fex;$(CXX) -I.. -c -Os -fno-rtti -fno-exceptions *.cpp -fPIC +- cd unrar;$(CXX) -c -Os -fno-rtti -fno-exceptions *.cpp -fPIC +- cd 7z_C;$(CC) -c -Os *.c -fPIC ++ cd fex;$(CXX) $(CXXFLAGS) -I.. -c -Os -fno-rtti -fno-exceptions *.cpp -fPIC ++ cd unrar;$(CXX) $(CXXFLAGS) -c -Os -fno-rtti -fno-exceptions *.cpp -fPIC ++ cd 7z_C;$(CC) $(CFLAGS) -c -Os *.c -fPIC + $(AR) $(ARFLAGS) libfex.a fex/*.o unrar/*.o 7z_C/*.o + -ranlib libfex.a + -$(RM) fex/*.o diff --git a/media-plugins/deadbeef-bookmark-manager/Manifest b/media-plugins/deadbeef-bookmark-manager/Manifest new file mode 100644 index 00000000..8fc158cf --- /dev/null +++ b/media-plugins/deadbeef-bookmark-manager/Manifest @@ -0,0 +1 @@ +DIST deadbeef-bookmark-manager-20140514.tar.gz 4308 SHA256 c730e0d1a06783d6433895b14491973a4a5ac84aa5b119ef73e5fbb0a09a868e SHA512 637eeaed404770c0334b4901c15ef45559b17caf02e585d4fe4c8cb3efa73d31fba3501ca415edd46a075e8be7ab824417c4c5c0a1b960dc76093dcbaec6b94c WHIRLPOOL a3f979c0d5730817a6a8beddc6e7ae4b1fa3564d63de50d565dc4b20bb38cb35de010c2e53bbc19938fc9deab438e70c61ea7014da98c71a9b248ff7e0603feb diff --git a/media-plugins/deadbeef-bookmark-manager/deadbeef-bookmark-manager-20140514.ebuild b/media-plugins/deadbeef-bookmark-manager/deadbeef-bookmark-manager-20140514.ebuild new file mode 100644 index 00000000..5b6be1a5 --- /dev/null +++ b/media-plugins/deadbeef-bookmark-manager/deadbeef-bookmark-manager-20140514.ebuild @@ -0,0 +1,16 @@ +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit deadbeef-plugins + +GITHUB_COMMIT="ff827d577941481b1e6e360f87a254f50c524628" + +DESCRIPTION="DeaDBeeF bookmark manager plugin" +HOMEPAGE="https://github.com/cboxdoerfer/ddb_bookmark_manager" +SRC_URI="https://github.com/cboxdoerfer/ddb_bookmark_manager/archive/${GITHUB_COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="~*" + +S="${WORKDIR}/ddb_bookmark_manager-${GITHUB_COMMIT}" diff --git a/media-plugins/deadbeef-bookmark-manager/deadbeef-bookmark-manager-99999999.ebuild b/media-plugins/deadbeef-bookmark-manager/deadbeef-bookmark-manager-99999999.ebuild new file mode 100644 index 00000000..157ea536 --- /dev/null +++ b/media-plugins/deadbeef-bookmark-manager/deadbeef-bookmark-manager-99999999.ebuild @@ -0,0 +1,12 @@ +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit deadbeef-plugins git-r3 + +DESCRIPTION="DeaDBeeF bookmark manager plugin" +HOMEPAGE="https://github.com/cboxdoerfer/ddb_bookmark_manager" +EGIT_REPO_URI="https://github.com/cboxdoerfer/ddb_bookmark_manager.git" + +LICENSE="GPL-2" +KEYWORDS="" diff --git a/media-plugins/deadbeef-bs2b/Manifest b/media-plugins/deadbeef-bs2b/Manifest new file mode 100644 index 00000000..c4f96874 --- /dev/null +++ b/media-plugins/deadbeef-bs2b/Manifest @@ -0,0 +1 @@ +DIST deadbeef-bs2b-20110319.tar.gz 2516 SHA256 f4ed278edabb84f3e432aa7563a20a8549a0e1dd10b6d7f4bd7310d23bf53684 SHA512 241faec7f35b6ae0c8bd2a31046a7d729c379d66bf011a296b7f516e5d1e436499e2a9c813eced1b7a5ef702d23e1c446e5f63a2be5614eedfaaecc1f10985a8 WHIRLPOOL 45166c31ca91e8e7f92ca67208e81b20f78fe5e34d8121529de05594e78629d255e71b35a2511b48550fd242c6edc8775aaba96ced48b517add1e04c9673d384 diff --git a/media-plugins/deadbeef-bs2b/deadbeef-bs2b-20110319.ebuild b/media-plugins/deadbeef-bs2b/deadbeef-bs2b-20110319.ebuild new file mode 100644 index 00000000..c7e0d91c --- /dev/null +++ b/media-plugins/deadbeef-bs2b/deadbeef-bs2b-20110319.ebuild @@ -0,0 +1,24 @@ +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit deadbeef-plugins + +GITORIOUS_COMMIT="a1961cd2f0686a7bdf0915f1fc7d62b5aba369bd" + +DESCRIPTION="DeaDBeeF bs2b dsp plugin" +HOMEPAGE="https://gitorious.org/deadbeef-sm-plugins/bs2b" +SRC_URI="https://gitorious.org/deadbeef-sm-plugins/bs2b/archive/${GITORIOUS_COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +KEYWORDS="~*" + +RDEPEND+=" media-libs/libbs2b:0" + +DEPEND="${RDEPEND}" + +S="${WORKDIR}/deadbeef-sm-plugins-bs2b" + +src_prepare() { + epatch "${FILESDIR}/${PN}.patch" +} diff --git a/media-plugins/deadbeef-bs2b/deadbeef-bs2b-99999999.ebuild b/media-plugins/deadbeef-bs2b/deadbeef-bs2b-99999999.ebuild new file mode 100644 index 00000000..24d185ef --- /dev/null +++ b/media-plugins/deadbeef-bs2b/deadbeef-bs2b-99999999.ebuild @@ -0,0 +1,20 @@ +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit deadbeef-plugins git-r3 + +DESCRIPTION="DeaDBeeF bs2b dsp plugin" +HOMEPAGE="https://gitorious.org/deadbeef-sm-plugins/bs2b" +EGIT_REPO_URI="https://gitorious.org/deadbeef-sm-plugins/bs2b.git" + +LICENSE="MIT" +KEYWORDS="" + +RDEPEND+=" media-libs/libbs2b:0" + +DEPEND="${RDEPEND}" + +src_prepare() { + epatch "${FILESDIR}/${PN}.patch" +} diff --git a/media-plugins/deadbeef-bs2b/files/deadbeef-bs2b.patch b/media-plugins/deadbeef-bs2b/files/deadbeef-bs2b.patch new file mode 100644 index 00000000..5d11f486 --- /dev/null +++ b/media-plugins/deadbeef-bs2b/files/deadbeef-bs2b.patch @@ -0,0 +1,57 @@ +diff --git a/Makefile b/Makefile +index cf49b21..5919b68 100644 +--- a/Makefile ++++ b/Makefile +@@ -1,2 +1,21 @@ +-all: +- gcc -I/usr/local/include -std=c99 -shared -O2 -o bs2b.so -lbs2b bs2b.c -fPIC -Wall -march=native ++OUT?=ddb_bs2b.so ++ ++BS2B_LIBS?=-lbs2b ++CFLAGS+=-std=c99 -fPIC -Wall -shared -lm ++#LDFLAGS+= ++ ++SOURCES=bs2b.c ++ ++OBJECTS=$(SOURCES:.c=.o) ++ ++all: $(SOURCES) $(OUT) ++ ++$(OUT): $(OBJECTS) ++ $(CC) $(CFLAGS) $(OBJECTS) -o $@ $(BS2B_LIBS) $(LDFLAGS) ++ ++.c.o: ++ $(CC) $(CFLAGS) $< -c -o $@ ++ ++clean: ++ rm $(OBJECTS) $(OUT) ++ +diff --git a/bs2b.c b/bs2b.c +index bd9f025..ca5a2c2 100644 +--- a/bs2b.c ++++ b/bs2b.c +@@ -132,12 +132,13 @@ static const char ddb_bs2b_dialog[] = + ; + + static DB_dsp_t plugin = { +- DB_PLUGIN_SET_API_VERSION ++ .plugin.api_vmajor = 1, ++ .plugin.api_vminor = 0, + .plugin.version_major = 0, + .plugin.version_minor = 2, + .plugin.type = DB_PLUGIN_DSP, + .plugin.id = "bs2b", +- .plugin.name = "Headphone crossfeed", ++ .plugin.name = "Headphone crossfeed (bs2b)", + .plugin.descr = "Headphone crossfeed plugin using libbs2b by Boris Mikhaylov", + .plugin.copyright = "Copyright (C) 2010-2011 Steven McDonald <steven.mcdonald@libremail.me>", + .plugin.website = "http://gitorious.org/deadbeef-sm-plugins/pages/Home", +@@ -153,7 +154,7 @@ static DB_dsp_t plugin = { + }; + + DB_plugin_t * +-bs2b_load (DB_functions_t *api) { ++ddb_bs2b_load (DB_functions_t *api) { + deadbeef = api; + return DB_PLUGIN (&plugin); + } diff --git a/media-plugins/deadbeef-decast/Manifest b/media-plugins/deadbeef-decast/Manifest new file mode 100644 index 00000000..4df3e55d --- /dev/null +++ b/media-plugins/deadbeef-decast/Manifest @@ -0,0 +1 @@ +DIST deadbeef-decast-20150201.tar.gz 8793 SHA256 4d85443a711e88da362aff43ee44560c542675aa06fd8efdf5174b3f6399e1a1 SHA512 14b217d38a10013e3aa56a54e156db2fefa58f558048ef91625692710a75d5ceaa331ff86cff2785558e958e246bca95acc566665a6a4638e70e623f4f77526f WHIRLPOOL 25fc934fae09f651e077fed7a4e62d6414f936551e85e3cccee6f0a968eff5d1599bfb61bc2b53c22bfb32d1b49dcad6a6813cfc59b2498cdd67b6f91f979964 diff --git a/media-plugins/deadbeef-decast/deadbeef-decast-20150201.ebuild b/media-plugins/deadbeef-decast/deadbeef-decast-20150201.ebuild new file mode 100644 index 00000000..d617d4f1 --- /dev/null +++ b/media-plugins/deadbeef-decast/deadbeef-decast-20150201.ebuild @@ -0,0 +1,28 @@ +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +DEADBEEF_GUI="yes" + +inherit deadbeef-plugins + +BITBUCKET_COMMIT="9ffd6d6dfb14" + +DESCRIPTION="DeaDBeeF podcast subscription plugin" +HOMEPAGE="https://bitbucket.org/thesame/decast" +SRC_URI="https://bitbucket.org/thesame/decast/get/${BITBUCKET_COMMIT}.tar.gz \ + -> ${P}.tar.gz" + +LICENSE="ZLIB" +KEYWORDS="~*" + +RDEPEND+=" dev-libs/libxml2:2" + +DEPEND="${RDEPEND}" + +S="${WORKDIR}/thesame-decast-${BITBUCKET_COMMIT}" + +src_compile() { + use gtk2 && GTKVER=2 emake + use gtk3 && GTKVER=3 emake +} 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 diff --git a/media-plugins/deadbeef-gnome-mmkeys/Manifest b/media-plugins/deadbeef-gnome-mmkeys/Manifest new file mode 100644 index 00000000..c6e52181 --- /dev/null +++ b/media-plugins/deadbeef-gnome-mmkeys/Manifest @@ -0,0 +1 @@ +DIST deadbeef-gnome-mmkeys-20131012.tar.gz 3471 SHA256 4c0083058fd437ca38b15d5722a050560e64433e31557a8a90420e4c6468042f SHA512 9dbb4fd326461dd374a3f4613c747ce7543d7d43edc1a58b2b3ac3d375f8564bf52c32835faa3c30ccbf79f879185eb5720ba3d6fad0ca2946df5256bfc1f8e6 WHIRLPOOL 2e967126db777aaad129ddd9d6878f22af28e9c2e4c7f56c06134f09e2baa1a7050ae6dabba5ec9c854cbd1582560495cc2e1ba90e7a17075fb3aab75db2a094 diff --git a/media-plugins/deadbeef-gnome-mmkeys/deadbeef-gnome-mmkeys-20131012.ebuild b/media-plugins/deadbeef-gnome-mmkeys/deadbeef-gnome-mmkeys-20131012.ebuild new file mode 100644 index 00000000..7c5a2499 --- /dev/null +++ b/media-plugins/deadbeef-gnome-mmkeys/deadbeef-gnome-mmkeys-20131012.ebuild @@ -0,0 +1,22 @@ +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit deadbeef-plugins + +GITHUB_COMMIT="8e95cd380ba457fe6b666e5e704aa823d5eca1fa" + +DESCRIPTION="DeaDBeeF gnome (via dbus) multimedia keys plugin" +HOMEPAGE="https://github.com/barthez/deadbeef-gnome-mmkeys" +SRC_URI="https://github.com/barthez/${PN}/archive/${GITHUB_COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="~*" + +RDEPEND+=" sys-apps/dbus:0" + +S="${WORKDIR}/${PN}-${GITHUB_COMMIT}" + +src_prepare() { + epatch "${FILESDIR}/${PN}.patch" +} diff --git a/media-plugins/deadbeef-gnome-mmkeys/deadbeef-gnome-mmkeys-99999999.ebuild b/media-plugins/deadbeef-gnome-mmkeys/deadbeef-gnome-mmkeys-99999999.ebuild new file mode 100644 index 00000000..deb9638b --- /dev/null +++ b/media-plugins/deadbeef-gnome-mmkeys/deadbeef-gnome-mmkeys-99999999.ebuild @@ -0,0 +1,20 @@ +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit deadbeef-plugins git-r3 + +GITHUB_USERNAME="barthez" + +DESCRIPTION="DeaDBeeF gnome (via dbus) multimedia keys plugin" +HOMEPAGE="https://github.com/barthez/deadbeef-gnome-mmkeys" +EGIT_REPO_URI="https://github.com/barthez/${PN}.git" + +LICENSE="GPL-2" +KEYWORDS="" + +RDEPEND+=" sys-apps/dbus:0" + +src_prepare() { + epatch "${FILESDIR}/${PN}.patch" +} diff --git a/media-plugins/deadbeef-gnome-mmkeys/files/deadbeef-gnome-mmkeys.patch b/media-plugins/deadbeef-gnome-mmkeys/files/deadbeef-gnome-mmkeys.patch new file mode 100644 index 00000000..1f64cd47 --- /dev/null +++ b/media-plugins/deadbeef-gnome-mmkeys/files/deadbeef-gnome-mmkeys.patch @@ -0,0 +1,23 @@ +diff --git a/Makefile b/Makefile +index 35b19ca..e4f147e 100644 +--- a/Makefile ++++ b/Makefile +@@ -1,6 +1,6 @@ +-CC = gcc +-INCLUDES = $(shell pkg-config --cflags gio-2.0 glib-2.0) +-LIBS = $(shell pkg-config --libs gio-2.0 glib-2.0) ++CC ?= gcc ++INCLUDES ?= $(shell pkg-config --cflags gio-2.0 glib-2.0) ++LIBS ?= $(shell pkg-config --libs gio-2.0 glib-2.0) + OPTIONS = -fPIC -shared + NAME = ddb_gnome_mmkeys + ROOTDIR = / +@@ -11,7 +11,7 @@ all: plugin + plugin: $(NAME).so + + $(NAME).so: $(NAME).c +- $(CC) $(INCLUDES) $(OPTIONS) -o $(NAME).so $(NAME).c $(LIBS) ++ $(CC) $(CFLAGS) $(INCLUDES) $(OPTIONS) -o $(NAME).so $(NAME).c $(LIBS) $(LDFLAGS) + + install: + mkdir -p $(ROOTDIR)$(INSTALL_DIR) diff --git a/media-plugins/deadbeef-infobar/Manifest b/media-plugins/deadbeef-infobar/Manifest new file mode 100644 index 00000000..8b557bb7 --- /dev/null +++ b/media-plugins/deadbeef-infobar/Manifest @@ -0,0 +1 @@ +DIST deadbeef-infobar-1.4.tar.gz 30720 SHA256 ee2a950e4008f28d2640084407a9af06287ad2f10c4593f6e1bcc100f9803c31 SHA512 7beac74626d512251f732796da156b3742a0002a00264ca3e59f11809701749272ea3a51063a875c5252c65ed85dcdad037a563ebcf1482480f000b528ba51a4 WHIRLPOOL e5b1362611ad180233fea642a6385c78b255fa67389f7280543a91f67367fe9082edc42f51d9f3eb4c8bf0df3566b4f2ae598029798b3e02727ec8e2f11132a6 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 +} diff --git a/media-plugins/deadbeef-infobar/deadbeef-infobar-9999.ebuild b/media-plugins/deadbeef-infobar/deadbeef-infobar-9999.ebuild new file mode 100644 index 00000000..34b76bde --- /dev/null +++ b/media-plugins/deadbeef-infobar/deadbeef-infobar-9999.ebuild @@ -0,0 +1,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 +} diff --git a/media-plugins/deadbeef-infobar/files/deadbeef-infobar-cflags.diff b/media-plugins/deadbeef-infobar/files/deadbeef-infobar-cflags.diff new file mode 100644 index 00000000..16bc042f --- /dev/null +++ b/media-plugins/deadbeef-infobar/files/deadbeef-infobar-cflags.diff @@ -0,0 +1,12 @@ +diff -r b870df1b662c Makefile +--- a/Makefile Thu Jan 30 15:13:12 2014 +0200 ++++ b/Makefile Thu Jul 10 09:00:29 2014 +0200 +@@ -42,7 +42,7 @@ + endef + + define link +- $(CC) $(LDFLAGS) $1 $2 $3 -o $@ ++ $(CC) $(CFLAGS) $(LDFLAGS) $1 $2 $3 -o $@ + endef + + # Builds both GTK+2 and GTK+3 versions of the plugin. diff --git a/media-plugins/deadbeef-infobar/files/deadbeef-infobar-focus-fix.diff b/media-plugins/deadbeef-infobar/files/deadbeef-infobar-focus-fix.diff new file mode 100644 index 00000000..b80016cf --- /dev/null +++ b/media-plugins/deadbeef-infobar/files/deadbeef-infobar-focus-fix.diff @@ -0,0 +1,14 @@ +diff -r b870df1b662c ui.c +--- a/ui.c Thu Jan 30 15:13:12 2014 +0200 ++++ b/ui.c Thu Jul 10 09:00:29 2014 +0200 +@@ -19,6 +19,10 @@ + + #include "ui.h" + ++#if !GTK_CHECK_VERSION(2,18,0) ++#define gtk_widget_set_can_focus(widget, canfocus) {if (canfocus) GTK_WIDGET_SET_FLAGS (widget, GTK_CAN_FOCUS); else GTK_WIDGET_UNSET_FLAGS(widget, GTK_CAN_FOCUS);} ++#endif ++ + static GtkWidget *infobar_tabs; + static GtkWidget *infobar_toggles; + diff --git a/media-plugins/deadbeef-infobar/files/deadbeef-infobar-load-gtk2-and-gtk3-version-fix.diff b/media-plugins/deadbeef-infobar/files/deadbeef-infobar-load-gtk2-and-gtk3-version-fix.diff new file mode 100644 index 00000000..1ed84ba0 --- /dev/null +++ b/media-plugins/deadbeef-infobar/files/deadbeef-infobar-load-gtk2-and-gtk3-version-fix.diff @@ -0,0 +1,15 @@ +diff -r b870df1b662c infobar.c +--- a/infobar.c Thu Jan 30 15:13:12 2014 +0200 ++++ b/infobar.c Thu Jul 10 09:00:29 2014 +0200 +@@ -333,6 +333,11 @@ + .plugin.version_major = 1, + .plugin.version_minor = 4, + .plugin.type = DB_PLUGIN_MISC, ++#if !GTK_CHECK_VERSION(3, 0, 0) ++ .plugin.id = "infobar_gtk2", ++#else ++ .plugin.id = "infobar_gtk3", ++#endif + .plugin.name = "Infobar", + .plugin.descr = "Infobar plugin for DeadBeeF audio player.\nFetches and shows:\n" + "- song's lyrics;\n- artist's biography;\n- list of similar artists.\n\n" diff --git a/media-plugins/deadbeef-jack/Manifest b/media-plugins/deadbeef-jack/Manifest new file mode 100644 index 00000000..d81388d9 --- /dev/null +++ b/media-plugins/deadbeef-jack/Manifest @@ -0,0 +1 @@ +DIST deadbeef-jack-20110321.tar.gz 4312 SHA256 9bfd9a0f0a0aa70f51339d3344656a648cf3b643e03bf8386242a5e28c5dde10 SHA512 5eeca6147c2265211ebcf116b859daa4c4e729b868ea104eddbb6887d720b418e9eff6d6ca1104f2904dbca91f942eb902974bb06ad48829d3785eaf841075a8 WHIRLPOOL 1724f335879fab8f07b55bf194a1ae7c96852be59f3195865141a5287c17d45570187af55eab07b828a1d6beb7e7bf3af013cd497b296eb53599ff38e065ac24 diff --git a/media-plugins/deadbeef-jack/deadbeef-jack-20110321.ebuild b/media-plugins/deadbeef-jack/deadbeef-jack-20110321.ebuild new file mode 100644 index 00000000..14e59e8d --- /dev/null +++ b/media-plugins/deadbeef-jack/deadbeef-jack-20110321.ebuild @@ -0,0 +1,24 @@ +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit deadbeef-plugins + +GITORIOUS_COMMIT="62d1e6ac0452b7baa92fcc75b59bcb960df06da8" + +DESCRIPTION="DeaDBeeF jack output plugin" +HOMEPAGE="https://gitorious.org/deadbeef-sm-plugins/jack" +SRC_URI="https://gitorious.org/deadbeef-sm-plugins/jack/archive/${GITORIOUS_COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +KEYWORDS="~*" + +RDEPEND+=" media-sound/jack-audio-connection-kit:0" + +DEPEND="${RDEPEND}" + +S="${WORKDIR}/deadbeef-sm-plugins-jack" + +src_prepare() { + epatch "${FILESDIR}/${PN}.patch" +} diff --git a/media-plugins/deadbeef-jack/deadbeef-jack-99999999.ebuild b/media-plugins/deadbeef-jack/deadbeef-jack-99999999.ebuild new file mode 100644 index 00000000..bb152e9d --- /dev/null +++ b/media-plugins/deadbeef-jack/deadbeef-jack-99999999.ebuild @@ -0,0 +1,20 @@ +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit deadbeef-plugins git-r3 + +DESCRIPTION="DeaDBeeF jack output plugin" +HOMEPAGE="https://gitorious.org/deadbeef-sm-plugins/jack" +EGIT_REPO_URI="https://gitorious.org/deadbeef-sm-plugins/jack.git" + +LICENSE="MIT" +KEYWORDS="" + +RDEPEND="media-sound/jack-audio-connection-kit:0" + +DEPEND="${RDEPEND}" + +src_prepare() { + epatch "${FILESDIR}/${PN}.patch" +} diff --git a/media-plugins/deadbeef-jack/files/deadbeef-jack.patch b/media-plugins/deadbeef-jack/files/deadbeef-jack.patch new file mode 100644 index 00000000..52160f93 --- /dev/null +++ b/media-plugins/deadbeef-jack/files/deadbeef-jack.patch @@ -0,0 +1,10 @@ +diff --git a/Makefile b/Makefile +index 792e33d..1d8a169 100644 +--- a/Makefile ++++ b/Makefile +@@ -1,2 +1,4 @@ ++CC?=gcc ++CFLAGS?=-I/usr/local/include + all: +- gcc -I/usr/local/include -std=c99 -shared -O2 -o jack.so -ljack jack.c -fPIC -Wall -march=native ++ $(CC) $(CFLAGS) -std=c99 -shared -O2 -o jack.so -ljack jack.c -fPIC -Wall $(LDFLAGS) 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 diff --git a/media-plugins/deadbeef-mpris/Manifest b/media-plugins/deadbeef-mpris/Manifest new file mode 100644 index 00000000..234bcead --- /dev/null +++ b/media-plugins/deadbeef-mpris/Manifest @@ -0,0 +1 @@ +DIST deadbeef-mpris-1.8.tar.xz 225072 SHA256 d149bfb02311a21162cb85581d074312018a4460bc9f57343c1faf4e3f40e8f5 SHA512 12f3fd342d5a3ba78cf7e330fafb5dec28597f47540e0f22486b0eefbe58a26bc7c093cf38fc5bb4eab9a36a0d97de4b8ae5d63adeaa430559d5b7116e4223ca WHIRLPOOL 29b6f7cc6fa4a2ea4027f5886687fba7507c0bc0b40610d1f6ac3dc7b5c5fd1fc1cf99d8256892877b6769aed8f6943c6f9b7eee3cf2298512dd1dfab9223739 diff --git a/media-plugins/deadbeef-mpris/deadbeef-mpris-1.8.ebuild b/media-plugins/deadbeef-mpris/deadbeef-mpris-1.8.ebuild new file mode 100644 index 00000000..3004caed --- /dev/null +++ b/media-plugins/deadbeef-mpris/deadbeef-mpris-1.8.ebuild @@ -0,0 +1,23 @@ +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit autotools deadbeef-plugins + +DESCRIPTION="DeaDBeeF MPRIS plugin" +HOMEPAGE="https://github.com/Serranya/deadbeef-mpris2-plugin" +SRC_URI="https://github.com/Serranya/deadbeef-mpris2-plugin/releases/download/v${PV}/deadbeef-mpris2-plugin-${PV}.tar.xz -> ${P}.tar.xz" + +LICENSE="GPL-3" +KEYWORDS="~*" +IUSE="" + +S="${WORKDIR}/${P/-mpris/}" + +src_prepare() { + eautoreconf +} + +src_configure() { + econf --disable-static +} diff --git a/media-plugins/deadbeef-mpris/deadbeef-mpris-99999999.ebuild b/media-plugins/deadbeef-mpris/deadbeef-mpris-99999999.ebuild new file mode 100644 index 00000000..f2c26311 --- /dev/null +++ b/media-plugins/deadbeef-mpris/deadbeef-mpris-99999999.ebuild @@ -0,0 +1,21 @@ +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit autotools deadbeef-plugins git-r3 + +DESCRIPTION="DeaDBeeF MPRIS plugin" +HOMEPAGE="https://github.com/Serranya/deadbeef-mpris2-plugin" +EGIT_REPO_URI="https://github.com/Serranya/deadbeef-mpris2-plugin.git" + +LICENSE="GPL-3" +KEYWORDS="" +IUSE="" + +src_prepare() { + eautoreconf +} + +src_configure() { + econf --disable-static +} diff --git a/media-plugins/deadbeef-musical-spectrum/Manifest b/media-plugins/deadbeef-musical-spectrum/Manifest new file mode 100644 index 00000000..2415bc75 --- /dev/null +++ b/media-plugins/deadbeef-musical-spectrum/Manifest @@ -0,0 +1 @@ +DIST deadbeef-musical-spectrum-20150124.tar.gz 19521 SHA256 4c31ea5fac346fae6aec2a1b8fbb996f20ab015f0a7385841113e39961efb180 SHA512 d90904b9197a122c137c2fc247a5e9760d6c6de96b7c615fc8eccc76b22a5df35fb52a653a89df188a88dced3a6b3485341949c10506652c1b044d57a7081214 WHIRLPOOL 6109deabc84a60efd74b97b15e93f9ce6432d4c0aa374708cf5af400716c76c85dffacbb94595ac8b12c10fd64c8698869a403973774dab00db12b8b47782bd8 diff --git a/media-plugins/deadbeef-musical-spectrum/deadbeef-musical-spectrum-20150124.ebuild b/media-plugins/deadbeef-musical-spectrum/deadbeef-musical-spectrum-20150124.ebuild new file mode 100644 index 00000000..e3b6e6f1 --- /dev/null +++ b/media-plugins/deadbeef-musical-spectrum/deadbeef-musical-spectrum-20150124.ebuild @@ -0,0 +1,31 @@ +# Distributed under the terms of the GNU General Public License v2= + +EAPI="5" + +DEADBEEF_GUI="yes" + +inherit deadbeef-plugins + +GITHUB_COMMIT="ce0f4daaf295186d9d89787870997bbd8e93c674" + +DESCRIPTION="DeaDBeeF musical spectrum plugin" +HOMEPAGE="https://github.com/cboxdoerfer/ddb_musical_spectrum" +SRC_URI="https://github.com/cboxdoerfer/ddb_musical_spectrum/archive/${GITHUB_COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="~*" + +RDEPEND+=" sci-libs/fftw:3.0=" + +DEPEND="${RDEPEND}" + +S="${WORKDIR}/ddb_musical_spectrum-${GITHUB_COMMIT}" + +src_prepare() { + epatch "${FILESDIR}/${PN}-cflags.patch" +} + +src_compile() { + use gtk2 && emake gtk2 + use gtk3 && emake gtk3 +} diff --git a/media-plugins/deadbeef-musical-spectrum/deadbeef-musical-spectrum-99999999.ebuild b/media-plugins/deadbeef-musical-spectrum/deadbeef-musical-spectrum-99999999.ebuild new file mode 100644 index 00000000..4a4ffd92 --- /dev/null +++ b/media-plugins/deadbeef-musical-spectrum/deadbeef-musical-spectrum-99999999.ebuild @@ -0,0 +1,27 @@ +# Distributed under the terms of the GNU General Public License v2= + +EAPI="5" + +DEADBEEF_GUI="yes" + +inherit deadbeef-plugins git-r3 + +DESCRIPTION="DeaDBeeF musical spectrum plugin" +HOMEPAGE="https://github.com/cboxdoerfer/ddb_musical_spectrum" +EGIT_REPO_URI="https://github.com/cboxdoerfer/ddb_musical_spectrum.git" + +LICENSE="GPL-2" +KEYWORDS="" + +RDEPEND+=" sci-libs/fftw:3.0=" + +DEPEND="${RDEPEND}" + +src_prepare() { + epatch "${FILESDIR}/${PN}-cflags.patch" +} + +src_compile() { + use gtk2 && emake gtk2 + use gtk3 && emake gtk3 +} diff --git a/media-plugins/deadbeef-musical-spectrum/files/deadbeef-musical-spectrum-cflags.patch b/media-plugins/deadbeef-musical-spectrum/files/deadbeef-musical-spectrum-cflags.patch new file mode 100644 index 00000000..95b11fb4 --- /dev/null +++ b/media-plugins/deadbeef-musical-spectrum/files/deadbeef-musical-spectrum-cflags.patch @@ -0,0 +1,19 @@ +diff --git a/Makefile b/Makefile +index 9c894c7..86bb61b 100644 +--- a/Makefile ++++ b/Makefile +@@ -43,11 +43,13 @@ OBJ_GTK2?=$(patsubst %.c, $(GTK2_DIR)/%.o, $(SOURCES)) + OBJ_GTK3?=$(patsubst %.c, $(GTK3_DIR)/%.o, $(SOURCES)) + + define compile ++ echo $(CC) $(CFLAGS) $1 $2 $< -c -o $@ + $(CC) $(CFLAGS) $1 $2 $< -c -o $@ + endef + + define link +- $(CC) $(LDFLAGS) $1 $2 $3 -o $@ ++ echo $(CC) $(LDFLAGS) $1 $2 $3 -o $@ ++ $(CC) $(CFLAGS) $(LDFLAGS) $1 $2 $3 -o $@ + endef + + # Builds both GTK+2 and GTK+3 versions of the plugin. diff --git a/media-plugins/deadbeef-opus/Manifest b/media-plugins/deadbeef-opus/Manifest new file mode 100644 index 00000000..b823890c --- /dev/null +++ b/media-plugins/deadbeef-opus/Manifest @@ -0,0 +1 @@ +DIST deadbeef-opus-0.6.tar.gz 47937 SHA256 17cdcdb717befa5cfb93f0be04101875043ef6ddd2a2fbb583b55002196aab8d SHA512 602004caafd3d6c900f879bdb750bfb1283ce9bafedc2c05b4136f3ea87da19de68948b823dc8f1bd67b8db042ada4362ff1942f5a3a0673a32649ab4621c688 WHIRLPOOL e42674c8c0685ff1b789add83817b1cd3ec881bd09922c6c02cab75e5e593d1ded49da2f4c01e53298d872844f04787caa19d8d2c3010510324f5f105efcdb91 diff --git a/media-plugins/deadbeef-opus/deadbeef-opus-0.6.ebuild b/media-plugins/deadbeef-opus/deadbeef-opus-0.6.ebuild new file mode 100644 index 00000000..ece6a618 --- /dev/null +++ b/media-plugins/deadbeef-opus/deadbeef-opus-0.6.ebuild @@ -0,0 +1,21 @@ +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit deadbeef-plugins + +DESCRIPTION="DeaDBeeF ogg opus decoder plugin" +HOMEPAGE="https://bitbucket.org/Lithopsian/deadbeef-opus" +SRC_URI="https://bitbucket.org/Lithopsian/${PN}/downloads/opus-${PV}.tar.gz -> ${P}.tar.gz" + +RESTRICT+=" strip" + +LICENSE="GPL-2" +KEYWORDS="~*" + +RDEPEND+=" >=media-libs/opusfile-0.5:0[float,http] + media-libs/libogg:0" + +DEPEND="${RDEPEND}" + +S="${WORKDIR}/opus-${PV}" diff --git a/media-plugins/deadbeef-opus/deadbeef-opus-99999999.ebuild b/media-plugins/deadbeef-opus/deadbeef-opus-99999999.ebuild new file mode 100644 index 00000000..d2316f06 --- /dev/null +++ b/media-plugins/deadbeef-opus/deadbeef-opus-99999999.ebuild @@ -0,0 +1,19 @@ +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit deadbeef-plugins git-r3 + +DESCRIPTION="DeaDBeeF ogg opus decoder plugin" +HOMEPAGE="https://bitbucket.org/Lithopsian/deadbeef-opus" +EGIT_REPO_URI="https://bitbucket.org/Lithopsian/${PN}.git" + +RESTRICT+=" strip" + +LICENSE="GPL-2" +KEYWORDS="" + +RDEPEND+=" >=media-libs/opusfile-0.5:0[float,http] + media-libs/libogg:0" + +DEPEND="${RDEPEND}" diff --git a/media-plugins/deadbeef-plugins-meta/deadbeef-plugins-meta-1.ebuild b/media-plugins/deadbeef-plugins-meta/deadbeef-plugins-meta-1.ebuild new file mode 100644 index 00000000..de0e08c5 --- /dev/null +++ b/media-plugins/deadbeef-plugins-meta/deadbeef-plugins-meta-1.ebuild @@ -0,0 +1,33 @@ +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +DESCRIPTION="Meta package for DeaDBeeF player third party plugins" +HOMEPAGE="http://deadbeef.sourceforge.net" +SRC_URI="" + +LICENSE="metapackage" +SLOT="0" +KEYWORDS="*" +IUSE="archive bookmark-manager bs2b decast filebrowser gnome-mmkeys infobar + jack librarybrowser mpris musical-spectrum opus replaygain-control + spectrogram stereo-widener vk vu-meter waveform-seekbar" + +PDEPEND="archive? ( media-plugins/deadbeef-archive-reader:0 ) + bookmark-manager? ( media-plugins/deadbeef-bookmark-manager:0 ) + bs2b? ( media-plugins/deadbeef-bs2b:0 ) + decast? ( media-plugins/deadbeef-decast:0 ) + filebrowser? ( media-plugins/deadbeef-fb:0 ) + gnome-mmkeys? ( media-plugins/deadbeef-gnome-mmkeys:0 ) + infobar? ( media-plugins/deadbeef-infobar:0 ) + jack? ( media-plugins/deadbeef-jack:0 ) + librarybrowser? ( media-plugins/deadbeef-librarybrowser:0 ) + mpris? ( media-plugins/deadbeef-mpris:0 ) + musical-spectrum? ( media-plugins/deadbeef-musical-spectrum:0 ) + opus? ( media-plugins/deadbeef-opus:0 ) + replaygain-control? ( media-plugins/deadbeef-replaygain-control:0 ) + spectrogram? ( media-plugins/deadbeef-spectrogram:0 ) + stereo-widener? ( media-plugins/deadbeef-stereo-widener:0 ) + vk? ( media-plugins/deadbeef-vk:0 ) + vu-meter? ( media-plugins/deadbeef-vu-meter:0 ) + waveform-seekbar? ( media-plugins/deadbeef-waveform-seekbar:0 )" diff --git a/media-plugins/deadbeef-plugins-meta/metadata.xml b/media-plugins/deadbeef-plugins-meta/metadata.xml new file mode 100644 index 00000000..421d38e9 --- /dev/null +++ b/media-plugins/deadbeef-plugins-meta/metadata.xml @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>damex.pp@gmail.com</email> + <name>Roman Kuzmitsky</name> + </maintainer> + <use> + <flag name='archive'>Reading media files from archived files</flag> + <flag name='bookmark-manager'>Resume playing files (after closing player) from the last timestamp</flag> + <flag name='bs2b'>bs2b dsp support. Useful for headphones</flag> + <flag name='decast'>Subscription for the podcasts</flag> + <flag name='filebrowser'>File browser plugin</flag> + <flag name='gnome-mmkeys'>Gnome multimedia keys support</flag> + <flag name='infobar'>Download and show lyrics</flag> + <flag name='jack'>Jack audio support</flag> + <flag name='librarybrowser'>File browser plugin that resemble foobar2k music library</flag> + <flag name='mpris'>MPRIS support</flag> + <flag name='musical-spectrum'>Draws musical spectrum for current track</flag> + <flag name='opus'>Ogg opus decoder support</flag> + <flag name='replaygain-control'>Advanced control of replaygain</flag> + <flag name='spectrogram'>Draws spectrogram for current track</flag> + <flag name='stereo-widener'>Widens stereo</flag> + <flag name='vk'>Play music from vk.com social network</flag> + <flag name='vu-meter'>Draws vu meter for current track</flag> + <flag name='waveform-seekbar'>Draws waveform seekbar for current track</flag> + </use> +</pkgmetadata> diff --git a/media-plugins/deadbeef-replaygain-control/Manifest b/media-plugins/deadbeef-replaygain-control/Manifest new file mode 100644 index 00000000..2d0f7efe --- /dev/null +++ b/media-plugins/deadbeef-replaygain-control/Manifest @@ -0,0 +1 @@ +DIST deadbeef-replaygain-control-20140802.tar.gz 5713 SHA256 e55cf90a4797c6c57df9c55820b4bd6c6935ab79797608184218a3c1cbb2dbcf SHA512 5d2de29b3cca2ca8674e4a459e4f6bba21470777d151856b6cec58ac2dfb640183e705a6ecc04e2aa33d086d8aa4ebbd1e40bf62438d8bb2c1531e1863e0f074 WHIRLPOOL 96a2ea8598c9a3c45a34cb8f93d8dc38cdabbb8743d64bfe7f32478042e1c4d187f9df3bc10a82de55c2e1dede5b8dac632d9a35480da397f89f40d8b635c21a diff --git a/media-plugins/deadbeef-replaygain-control/deadbeef-replaygain-control-20140802.ebuild b/media-plugins/deadbeef-replaygain-control/deadbeef-replaygain-control-20140802.ebuild new file mode 100644 index 00000000..dd3d7d9e --- /dev/null +++ b/media-plugins/deadbeef-replaygain-control/deadbeef-replaygain-control-20140802.ebuild @@ -0,0 +1,27 @@ +# Distributed under the terms of the GNU General Public License v2= + +EAPI="5" + +DEADBEEF_GUI="yes" + +inherit deadbeef-plugins + +GITHUB_COMMIT="c0788d47e5bcc2428c57fe4321566891c4abe452" + +DESCRIPTION="DeaDBeeF replay gain control plugin" +HOMEPAGE="https://github.com/cboxdoerfer/ddb_replaygain_control" +SRC_URI="https://github.com/cboxdoerfer/ddb_replaygain_control/archive/${GITHUB_COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="~*" + +S="${WORKDIR}/ddb_replaygain_control-${GITHUB_COMMIT}" + +src_prepare() { + epatch "${FILESDIR}/${PN}-cflags.patch" +} + +src_compile() { + use gtk2 && emake gtk2 + use gtk3 && emake gtk3 +} diff --git a/media-plugins/deadbeef-replaygain-control/deadbeef-replaygain-control-99999999.ebuild b/media-plugins/deadbeef-replaygain-control/deadbeef-replaygain-control-99999999.ebuild new file mode 100644 index 00000000..c66f2866 --- /dev/null +++ b/media-plugins/deadbeef-replaygain-control/deadbeef-replaygain-control-99999999.ebuild @@ -0,0 +1,23 @@ +# Distributed under the terms of the GNU General Public License v2= + +EAPI="5" + +DEADBEEF_GUI="yes" + +inherit deadbeef-plugins git-r3 + +DESCRIPTION="DeaDBeeF replay gain control plugin" +HOMEPAGE="https://github.com/cboxdoerfer/ddb_replaygain_control" +EGIT_REPO_URI="https://github.com/cboxdoerfer/ddb_replaygain_control.git" + +LICENSE="GPL-2" +KEYWORDS="" + +src_prepare() { + epatch "${FILESDIR}/${PN}-cflags.patch" +} + +src_compile() { + use gtk2 && emake gtk2 + use gtk3 && emake gtk3 +} diff --git a/media-plugins/deadbeef-replaygain-control/files/deadbeef-replaygain-control-cflags.patch b/media-plugins/deadbeef-replaygain-control/files/deadbeef-replaygain-control-cflags.patch new file mode 100644 index 00000000..9680e6d7 --- /dev/null +++ b/media-plugins/deadbeef-replaygain-control/files/deadbeef-replaygain-control-cflags.patch @@ -0,0 +1,15 @@ +diff --git a/Makefile b/Makefile +index 1d05e5f..f7228da 100644 +--- a/Makefile ++++ b/Makefile +@@ -42,8 +42,8 @@ define compile + endef + + define link +- echo $(CC) $(LDFLAGS) $1 $2 $3 -o $@ +- $(CC) $(LDFLAGS) $1 $2 $3 -o $@ ++ echo $(CC) $(CFLAGS) $(LDFLAGS) $1 $2 $3 -o $@ ++ $(CC) $(CFLAGS) $(LDFLAGS) $1 $2 $3 -o $@ + endef + + # Builds both GTK+2 and GTK+3 versions of the plugin. diff --git a/media-plugins/deadbeef-spectrogram/Manifest b/media-plugins/deadbeef-spectrogram/Manifest new file mode 100644 index 00000000..1b9801a3 --- /dev/null +++ b/media-plugins/deadbeef-spectrogram/Manifest @@ -0,0 +1 @@ +DIST deadbeef-spectrogram-20150110.tar.gz 12503 SHA256 7db6356d994666a10b3f69e2397ee86f56f078ce44eadce63a7e4962e40f11f2 SHA512 cb0a9e8d989f7419c0c6b2547389755ced744611872a0c59c86406f1fc12a77fe86a4231a2552e272939a8d84c5693f788f2de26309fca09cbd04d596fffc2aa WHIRLPOOL 7526e92b1c5e2f7189ea4d7fe653f5e4f84ceb6c13b602e3b0a110aceda30258127b02e2e290b200ed2c3f00c953b42f86b95983ee74bc721e96b57e1ce71464 diff --git a/media-plugins/deadbeef-spectrogram/deadbeef-spectrogram-20150110.ebuild b/media-plugins/deadbeef-spectrogram/deadbeef-spectrogram-20150110.ebuild new file mode 100644 index 00000000..d8d73d6f --- /dev/null +++ b/media-plugins/deadbeef-spectrogram/deadbeef-spectrogram-20150110.ebuild @@ -0,0 +1,31 @@ +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +DEADBEEF_GUI="yes" + +inherit deadbeef-plugins + +GITHUB_COMMIT="8d1b3713f3a3a8a93b4934a4782fb3db7f744fb7" + +DESCRIPTION="DeaDBeeF spectrogram plugin" +HOMEPAGE="https://github.com/cboxdoerfer/ddb_spectrogram" +SRC_URI="https://github.com/cboxdoerfer/ddb_spectrogram/archive/${GITHUB_COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="~*" + +RDEPEND+=" sci-libs/fftw:3.0=" + +DEPEND="${RDEPEND}" + +S="${WORKDIR}/ddb_spectrogram-${GITHUB_COMMIT}" + +src_prepare() { + epatch "${FILESDIR}/${PN}-cflags.patch" +} + +src_compile() { + use gtk2 && emake gtk2 + use gtk3 && emake gtk3 +} diff --git a/media-plugins/deadbeef-spectrogram/deadbeef-spectrogram-99999999.ebuild b/media-plugins/deadbeef-spectrogram/deadbeef-spectrogram-99999999.ebuild new file mode 100644 index 00000000..12f794ba --- /dev/null +++ b/media-plugins/deadbeef-spectrogram/deadbeef-spectrogram-99999999.ebuild @@ -0,0 +1,27 @@ +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +DEADBEEF_GUI="yes" + +inherit deadbeef-plugins git-r3 + +DESCRIPTION="DeaDBeeF spectrogram plugin" +HOMEPAGE="https://github.com/cboxdoerfer/ddb_spectrogram" +EGIT_REPO_URI="https://github.com/cboxdoerfer/ddb_spectrogram.git" + +LICENSE="GPL-2" +KEYWORDS="" + +RDEPEND+=" sci-libs/fftw:3.0=" + +DEPEND="${RDEPEND}" + +src_prepare() { + epatch "${FILESDIR}/${PN}-cflags.patch" +} + +src_compile() { + use gtk2 && emake gtk2 + use gtk3 && emake gtk3 +} diff --git a/media-plugins/deadbeef-spectrogram/files/deadbeef-spectrogram-cflags.patch b/media-plugins/deadbeef-spectrogram/files/deadbeef-spectrogram-cflags.patch new file mode 100644 index 00000000..95b11fb4 --- /dev/null +++ b/media-plugins/deadbeef-spectrogram/files/deadbeef-spectrogram-cflags.patch @@ -0,0 +1,19 @@ +diff --git a/Makefile b/Makefile +index 9c894c7..86bb61b 100644 +--- a/Makefile ++++ b/Makefile +@@ -43,11 +43,13 @@ OBJ_GTK2?=$(patsubst %.c, $(GTK2_DIR)/%.o, $(SOURCES)) + OBJ_GTK3?=$(patsubst %.c, $(GTK3_DIR)/%.o, $(SOURCES)) + + define compile ++ echo $(CC) $(CFLAGS) $1 $2 $< -c -o $@ + $(CC) $(CFLAGS) $1 $2 $< -c -o $@ + endef + + define link +- $(CC) $(LDFLAGS) $1 $2 $3 -o $@ ++ echo $(CC) $(LDFLAGS) $1 $2 $3 -o $@ ++ $(CC) $(CFLAGS) $(LDFLAGS) $1 $2 $3 -o $@ + endef + + # Builds both GTK+2 and GTK+3 versions of the plugin. diff --git a/media-plugins/deadbeef-stereo-widener/Manifest b/media-plugins/deadbeef-stereo-widener/Manifest new file mode 100644 index 00000000..7f07e1ed --- /dev/null +++ b/media-plugins/deadbeef-stereo-widener/Manifest @@ -0,0 +1 @@ +DIST deadbeef-stereo-widener-20110319.tar.gz 2653 SHA256 9342dab76438f9fd66cd4aa95de6c24f1dfa9bc91e30369f77576e2458c60fb5 SHA512 1b3b54816ed7c8a8e63b549723b2137c5074c7ce31bc14149eb1d3c7c63528a9c6d218bc3f33d452cac028ac821248913b47501b6e4d3a08dc531119fee6bdb3 WHIRLPOOL 53ee06e8d0467aaea2e0662e64928cd6579be4a6aca2ceb1c40214fdd80a5773f05ca1daffec63d5fe766c080bd5e9776e3cc33b7967d877f6e38b244e50b75d diff --git a/media-plugins/deadbeef-stereo-widener/deadbeef-stereo-widener-20110319.ebuild b/media-plugins/deadbeef-stereo-widener/deadbeef-stereo-widener-20110319.ebuild new file mode 100644 index 00000000..e02a6033 --- /dev/null +++ b/media-plugins/deadbeef-stereo-widener/deadbeef-stereo-widener-20110319.ebuild @@ -0,0 +1,20 @@ +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit deadbeef-plugins + +GITORIOUS_COMMIT="d3990d772b02cdc6206f067748f5d1f9650616fb" + +DESCRIPTION="DeaDBeeF simple stereo widener plugin" +HOMEPAGE="https://gitorious.org/deadbeef-sm-plugins/stereo-widener" +SRC_URI="https://gitorious.org/deadbeef-sm-plugins/stereo-widener/archive/${GITORIOUS_COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +KEYWORDS="~*" + +S="${WORKDIR}/deadbeef-sm-plugins-stereo-widener" + +src_prepare() { + epatch "${FILESDIR}/${PN}.patch" +} diff --git a/media-plugins/deadbeef-stereo-widener/deadbeef-stereo-widener-99999999.ebuild b/media-plugins/deadbeef-stereo-widener/deadbeef-stereo-widener-99999999.ebuild new file mode 100644 index 00000000..e82ce6e0 --- /dev/null +++ b/media-plugins/deadbeef-stereo-widener/deadbeef-stereo-widener-99999999.ebuild @@ -0,0 +1,16 @@ +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit deadbeef-plugins git-r3 + +DESCRIPTION="DeaDBeeF simple stereo widener plugin" +HOMEPAGE="https://gitorious.org/deadbeef-sm-plugins/stereo-widener" +EGIT_REPO_URI="https://gitorious.org/deadbeef-sm-plugins/stereo-widener.git" + +LICENSE="MIT" +KEYWORDS="" + +src_prepare() { + epatch "${FILESDIR}/${PN}.patch" +} diff --git a/media-plugins/deadbeef-stereo-widener/files/deadbeef-stereo-widener.patch b/media-plugins/deadbeef-stereo-widener/files/deadbeef-stereo-widener.patch new file mode 100644 index 00000000..6cf316ad --- /dev/null +++ b/media-plugins/deadbeef-stereo-widener/files/deadbeef-stereo-widener.patch @@ -0,0 +1,27 @@ +diff --git a/Makefile b/Makefile +index 0fb6aaa..7ca9545 100644 +--- a/Makefile ++++ b/Makefile +@@ -1,2 +1,20 @@ +-all: +- gcc -I/usr/local/include -std=c99 -shared -O2 -o stereo_widener.so stereo_widener.c -fPIC -Wall -march=native ++CC?=gcc ++OUT=stereo_widener.so ++ ++CFLAGS+=-std=c99 -fPIC -Wall ++LDFLAGS+=-shared ++ ++SOURCES=stereo_widener.c ++ ++OBJECTS=$(SOURCES:.c=.o) ++ ++all: $(SOURCES) $(OUT) ++ ++$(OUT): $(OBJECTS) ++ $(CC) $(CFLAGS) $(OBJECTS) $(LDFLAGS) -o $@ ++ ++.c.o: ++ $(CC) $(CFLAGS) $< -c -o $@ ++ ++clean: ++ rm $(OBJECTS) $(OUT) diff --git a/media-plugins/deadbeef-vk/Manifest b/media-plugins/deadbeef-vk/Manifest new file mode 100644 index 00000000..ad93e288 --- /dev/null +++ b/media-plugins/deadbeef-vk/Manifest @@ -0,0 +1 @@ +DIST deadbeef-vk-0.2.2.tar.gz 14277 SHA256 f860148c98a724af2ec7430fd4f7fd495bb7db276a88fc055603d4ab076c27fa SHA512 7ca136146427902a8d52528e3f7e0bec4af99ada66fc8c76056f8322167843d0fb1cb2631af656d7b050bb65ce7b02d962f3ae7846ec4f112d029ebfed5dc1fd WHIRLPOOL 4484ba993d8010f0718c7de9fd10de64602349c6ab82340b75b7f7f55ea5324f087e63e4ca9bbc0ccd6c923764e1b5fa8763921da703ede1431982340f576107 diff --git a/media-plugins/deadbeef-vk/deadbeef-vk-0.2.2.ebuild b/media-plugins/deadbeef-vk/deadbeef-vk-0.2.2.ebuild new file mode 100644 index 00000000..f9cbf451 --- /dev/null +++ b/media-plugins/deadbeef-vk/deadbeef-vk-0.2.2.ebuild @@ -0,0 +1,33 @@ +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +DEADBEEF_GUI="yes" + +inherit cmake-utils deadbeef-plugins + +DESCRIPTION="DeaDBeeF plugin for listening music from vkontakte.com" +HOMEPAGE="https://github.com/scorpp/db-vk" +SRC_URI="https://github.com/scorpp/db-vk/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="~*" + +RDEPEND+=" dev-libs/json-glib:0 + media-sound/deadbeef:0[curl]" + +DEPEND="${RDEPEND}" + +S="${WORKDIR}/db-vk-${PV}" + +src_configure() { + local mycmakeargs=" + $(cmake-utils_use_with gtk2 GTK2) + $(cmake-utils_use_with gtk3 GTK3)" + + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile +} diff --git a/media-plugins/deadbeef-vk/deadbeef-vk-9999.ebuild b/media-plugins/deadbeef-vk/deadbeef-vk-9999.ebuild new file mode 100644 index 00000000..2328c93d --- /dev/null +++ b/media-plugins/deadbeef-vk/deadbeef-vk-9999.ebuild @@ -0,0 +1,33 @@ +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +DEADBEEF_GUI="yes" + +inherit cmake-utils deadbeef-plugins git-r3 + +DESCRIPTION="DeaDBeeF plugin for listening music from vkontakte.com" +HOMEPAGE="https://github.com/scorpp/db-vk" +EGIT_REPO_URI="https://github.com/scorpp/db-vk.git" + +LICENSE="GPL-2" +KEYWORDS="" + +RDEPEND+=" dev-libs/json-glib:0 + media-sound/deadbeef:0[curl]" + +DEPEND="${RDEPEND}" + +S="${WORKDIR}/db-vk-${PV}" + +src_configure() { + local mycmakeargs=" + $(cmake-utils_use_with gtk2 GTK2) + $(cmake-utils_use_with gtk3 GTK3)" + + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile +} diff --git a/media-plugins/deadbeef-vu-meter/Manifest b/media-plugins/deadbeef-vu-meter/Manifest new file mode 100644 index 00000000..38e08ae8 --- /dev/null +++ b/media-plugins/deadbeef-vu-meter/Manifest @@ -0,0 +1 @@ +DIST deadbeef-vu-meter-20140914.tar.gz 29953 SHA256 7b7cb777afce6dabbceef9f7c3cf74d6d6d5a41e5a4d885740ab6812a2f6a918 SHA512 2e9591512b1f76d70c0b64183bbe8d35008976a39553fd8979951adec3ed526acf078d60b1750044c17cdbd554529dfd8a147e08be9dd3dca2ebc307f6156bf1 WHIRLPOOL 4a027f881fdd07d4c1f52d0bb60d25c05d1abfc45b1de8cd1be387d885e0a7797a4e25c529d46bff5d14eb035e6e333705d5dae00b78e5a07126563509818ffc diff --git a/media-plugins/deadbeef-vu-meter/deadbeef-vu-meter-20140914.ebuild b/media-plugins/deadbeef-vu-meter/deadbeef-vu-meter-20140914.ebuild new file mode 100644 index 00000000..45b4b9a8 --- /dev/null +++ b/media-plugins/deadbeef-vu-meter/deadbeef-vu-meter-20140914.ebuild @@ -0,0 +1,23 @@ +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +DEADBEEF_GUI="yes" + +inherit deadbeef-plugins + +GITHUB_COMMIT="940d8d72a46993619c3fba4cde5e30c95f5a4b82" + +DESCRIPTION="DeaDBeeF vu meter plugin" +HOMEPAGE="https://github.com/cboxdoerfer/ddb_vu_meter" +SRC_URI="https://github.com/cboxdoerfer/ddb_vu_meter/archive/${GITHUB_COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="~*" + +S="${WORKDIR}/ddb_vu_meter-${GITHUB_COMMIT}" + +src_compile() { + use gtk2 && emake gtk2 + use gtk3 && emake gtk3 +} diff --git a/media-plugins/deadbeef-vu-meter/deadbeef-vu-meter-99999999.ebuild b/media-plugins/deadbeef-vu-meter/deadbeef-vu-meter-99999999.ebuild new file mode 100644 index 00000000..bed78a38 --- /dev/null +++ b/media-plugins/deadbeef-vu-meter/deadbeef-vu-meter-99999999.ebuild @@ -0,0 +1,19 @@ +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +DEADBEEF_GUI="yes" + +inherit deadbeef-plugins git-r3 + +DESCRIPTION="DeaDBeeF vu meter plugin" +HOMEPAGE="https://github.com/cboxdoerfer/ddb_vu_meter" +EGIT_REPO_URI="https://github.com/cboxdoerfer/ddb_vu_meter.git" + +LICENSE="GPL-2" +KEYWORDS="" + +src_compile() { + use gtk2 && emake gtk2 + use gtk3 && emake gtk3 +} diff --git a/media-plugins/deadbeef-waveform-seekbar/Manifest b/media-plugins/deadbeef-waveform-seekbar/Manifest new file mode 100644 index 00000000..86a218ab --- /dev/null +++ b/media-plugins/deadbeef-waveform-seekbar/Manifest @@ -0,0 +1 @@ +DIST deadbeef-waveform-seekbar-0.5.tar.gz 17765 SHA256 6ecd46267d2be48451fe8bf153b98ec35d6b4274ee45548a6133b891ce0285dd SHA512 710031315df6d807c7b355660664481db15a98d3546e5e34a20867730e0eab0888a796c0ecdc1973b85b90eebcac8819064f7dc2d47d03b2aa30910b58481034 WHIRLPOOL 6fd08f5e40d5e6020f353171d2c356f16f0f60e90268fcdfee2455bb5cd73e91cd54dc5be6c30091c527959ac3840c5d5d51c6f4045a7b1dbfad41d13b8e609f diff --git a/media-plugins/deadbeef-waveform-seekbar/deadbeef-waveform-seekbar-0.5.ebuild b/media-plugins/deadbeef-waveform-seekbar/deadbeef-waveform-seekbar-0.5.ebuild new file mode 100644 index 00000000..9e40dd7c --- /dev/null +++ b/media-plugins/deadbeef-waveform-seekbar/deadbeef-waveform-seekbar-0.5.ebuild @@ -0,0 +1,29 @@ +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +DEADBEEF_GUI="yes" + +inherit deadbeef-plugins + +DESCRIPTION="DeaDBeeF waveform seekbar plugin" +HOMEPAGE="https://github.com/cboxdoerfer/ddb_waveform_seekbar" +SRC_URI="https://github.com/cboxdoerfer/ddb_waveform_seekbar/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="~*" + +RDEPEND+=" dev-db/sqlite:3" + +DEPEND="${RDEPEND}" + +S="${WORKDIR}/ddb_waveform_seekbar-${PV}" + +src_prepare() { + epatch "${FILESDIR}/${PN}-cflags-lm.patch" +} + +src_compile() { + use gtk2 && emake gtk2 + use gtk3 && emake gtk3 +} diff --git a/media-plugins/deadbeef-waveform-seekbar/deadbeef-waveform-seekbar-9999.ebuild b/media-plugins/deadbeef-waveform-seekbar/deadbeef-waveform-seekbar-9999.ebuild new file mode 100644 index 00000000..bbf6fbc3 --- /dev/null +++ b/media-plugins/deadbeef-waveform-seekbar/deadbeef-waveform-seekbar-9999.ebuild @@ -0,0 +1,27 @@ +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +DEADBEEF_GUI="yes" + +inherit deadbeef-plugins git-r3 + +DESCRIPTION="DeaDBeeF waveform seekbar plugin" +HOMEPAGE="https://github.com/cboxdoerfer/ddb_waveform_seekbar" +EGIT_REPO_URI="https://github.com/cboxdoerfer/ddb_waveform_seekbar.git" + +LICENSE="GPL-2" +KEYWORDS="" + +RDEPEND+=" dev-db/sqlite:3" + +DEPEND="${RDEPEND}" + +src_prepare() { + epatch "${FILESDIR}/${PN}-cflags-lm.patch" +} + +src_compile() { + use gtk2 && emake gtk2 + use gtk3 && emake gtk3 +} diff --git a/media-plugins/deadbeef-waveform-seekbar/files/deadbeef-waveform-seekbar-cflags-lm.patch b/media-plugins/deadbeef-waveform-seekbar/files/deadbeef-waveform-seekbar-cflags-lm.patch new file mode 100644 index 00000000..7866cce1 --- /dev/null +++ b/media-plugins/deadbeef-waveform-seekbar/files/deadbeef-waveform-seekbar-cflags-lm.patch @@ -0,0 +1,26 @@ +diff --git a/Makefile b/Makefile +index e06b20c..a0867f8 100644 +--- a/Makefile ++++ b/Makefile +@@ -36,8 +36,8 @@ GTK3_LIBS?=`pkg-config --libs gtk+-3.0` + SQLITE_LIBS?=-lsqlite3 + + CC?=gcc +-CFLAGS+=-Wall -fPIC -std=c99 -D_GNU_SOURCE +-LDFLAGS+=-shared ++CFLAGS+=-Wall -fPIC -std=c99 -D_GNU_SOURCE -lm ++LDFLAGS+=-shared -lm + + GTK2_DIR?=gtk2 + GTK3_DIR?=gtk3 +@@ -52,8 +52,8 @@ define compile + endef + + define link +- echo $(CC) $(LDFLAGS) $1 $2 $3 -o $@ +- $(CC) $(LDFLAGS) $1 $2 $3 -o $@ ++ echo $(CC) $(CFLAGS) $(LDFLAGS) $1 $2 $3 -o $@ ++ $(CC) $(CFLAGS) $(LDFLAGS) $1 $2 $3 -o $@ + endef + + # Builds both GTK+2 and GTK+3 versions of the plugin. |