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-replaygain-control | |
parent | 35875647a1f4db65a3a7a559479ef8e311acbac2 (diff) | |
parent | 975d01bc65f0f9190808c0d3cddf3131a790a8f6 (diff) |
Merge pull request #52 from crismblog/master
Applications useful and beautiful themes
Diffstat (limited to 'media-plugins/deadbeef-replaygain-control')
4 files changed, 66 insertions, 0 deletions
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. |