diff options
author | Stefan Cristian B. <steven.darklight@gmail.com> | 2015-06-18 18:31:03 +0300 |
---|---|---|
committer | Stefan Cristian B. <steven.darklight@gmail.com> | 2015-06-18 18:31:03 +0300 |
commit | 71c20430bd06d80b663fb54d1df67598d804c219 (patch) | |
tree | 8ed9e8852b128c270f9197edf597532ac3fd8e11 /media-plugins/deadbeef-musical-spectrum | |
parent | 35875647a1f4db65a3a7a559479ef8e311acbac2 (diff) | |
parent | 975d01bc65f0f9190808c0d3cddf3131a790a8f6 (diff) |
Merge pull request #52 from crismblog/master
Applications useful and beautiful themes
Diffstat (limited to 'media-plugins/deadbeef-musical-spectrum')
4 files changed, 78 insertions, 0 deletions
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. |