summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGavin Pryke <gavinlee303@gmail.com>2015-10-15 20:01:45 +0100
committerGavin Pryke <gavinlee303@gmail.com>2015-10-30 17:27:45 +0000
commit6bdad727b9ad9d4fd441c27796f0e8a1559793df (patch)
tree776a115c1b481f7e17823589817d315d48a3aaf7 /media-plugins/mcp-plugins/mcp-plugins-0.4.0-r1.ebuild
parentmedia-plugins/rev-plugins: fix HOMEPAGE, SRC_URI, EAPI=5. bug #437186 (diff)
downloadgentoo-6bdad727b9ad9d4fd441c27796f0e8a1559793df.tar.gz
gentoo-6bdad727b9ad9d4fd441c27796f0e8a1559793df.tar.bz2
gentoo-6bdad727b9ad9d4fd441c27796f0e8a1559793df.zip
media-plugins/mcp-plugins: fix HOMEPAGE, SRC_URI, EAPI=5. bug #437186
The HOMEPAGE and SRC_URI for kokkinizita upstream was changed some time ago. These changes point said variables to the new location. The previous ebuild was EAPI=4 which has been marked deprecated so bumped to EAPI=5, revbumped and modified ebuild accordingly. Bug: https://bugs.gentoo.org/show_bug.cgi?id=437186
Diffstat (limited to 'media-plugins/mcp-plugins/mcp-plugins-0.4.0-r1.ebuild')
-rw-r--r--media-plugins/mcp-plugins/mcp-plugins-0.4.0-r1.ebuild35
1 files changed, 35 insertions, 0 deletions
diff --git a/media-plugins/mcp-plugins/mcp-plugins-0.4.0-r1.ebuild b/media-plugins/mcp-plugins/mcp-plugins-0.4.0-r1.ebuild
new file mode 100644
index 000000000000..344f21d487b8
--- /dev/null
+++ b/media-plugins/mcp-plugins/mcp-plugins-0.4.0-r1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit multilib toolchain-funcs
+
+MY_P=${P/mcp/MCP}
+
+DESCRIPTION="MCP ladspa plugins package. Includes moogvcf, phaser & chorus"
+HOMEPAGE="http://kokkinizita.linuxaudio.org/linuxaudio/"
+SRC_URI="http://kokkinizita.linuxaudio.org/linuxaudio/downloads/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND="media-libs/ladspa-sdk"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ tc-export CXX
+ sed -i -e "s/-O3//" \
+ -e "s/g++/$(tc-getCXX) ${LDFLAGS}/" Makefile || die "sed failed"
+}
+
+src_install() {
+ dodoc AUTHORS README
+ insinto /usr/$(get_libdir)/ladspa
+ insopts -m0755
+ doins *.so
+}