diff options
author | Julian Ospald <hasufell@gentoo.org> | 2014-04-18 22:18:09 +0000 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2014-04-18 22:18:09 +0000 |
commit | c9378e4848d2456f3bb6f25a6dd88ceef4aefc6d (patch) | |
tree | 6c1857bf8b76b2ffeec0bd2c0d2da8c63ed819f8 /media-libs | |
parent | Mask updated emul-linux-x86-sdl. (diff) | |
download | gentoo-2-c9378e4848d2456f3bb6f25a6dd88ceef4aefc6d.tar.gz gentoo-2-c9378e4848d2456f3bb6f25a6dd88ceef4aefc6d.tar.bz2 gentoo-2-c9378e4848d2456f3bb6f25a6dd88ceef4aefc6d.zip |
add multilib support
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key BDEED020)
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/ladspa-cmt/ChangeLog | 9 | ||||
-rw-r--r-- | media-libs/ladspa-cmt/ladspa-cmt-1.16-r3.ebuild | 60 |
2 files changed, 67 insertions, 2 deletions
diff --git a/media-libs/ladspa-cmt/ChangeLog b/media-libs/ladspa-cmt/ChangeLog index fe9f53e16a6e..1e1358688986 100644 --- a/media-libs/ladspa-cmt/ChangeLog +++ b/media-libs/ladspa-cmt/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-libs/ladspa-cmt -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/ladspa-cmt/ChangeLog,v 1.52 2013/04/02 11:20:37 ago Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/ladspa-cmt/ChangeLog,v 1.53 2014/04/18 22:18:09 hasufell Exp $ + +*ladspa-cmt-1.16-r3 (18 Apr 2014) + + 18 Apr 2014; Julian Ospald <hasufell@gentoo.org> +ladspa-cmt-1.16-r3.ebuild: + add multilib support 02 Apr 2013; Agostino Sarubbo <ago@gentoo.org> ladspa-cmt-1.16-r2.ebuild: Stable for hppa, wrt bug #457374 diff --git a/media-libs/ladspa-cmt/ladspa-cmt-1.16-r3.ebuild b/media-libs/ladspa-cmt/ladspa-cmt-1.16-r3.ebuild new file mode 100644 index 000000000000..e872479dfd58 --- /dev/null +++ b/media-libs/ladspa-cmt/ladspa-cmt-1.16-r3.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/ladspa-cmt/ladspa-cmt-1.16-r3.ebuild,v 1.1 2014/04/18 22:18:09 hasufell Exp $ + +EAPI=4 + +inherit eutils multilib toolchain-funcs multilib-minimal + +IUSE="" + +S="${WORKDIR}/cmt/src" +MY_P="cmt_src_${PV}" + +DESCRIPTION="CMT (computer music toolkit) Lasdpa library plugins" +HOMEPAGE="http://www.ladspa.org/" +SRC_URI="http://www.ladspa.org/download/${MY_P}.tgz" + +KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +LICENSE="LGPL-2.1" +SLOT="0" + +DEPEND="media-libs/ladspa-sdk[${MULTILIB_USEDEP}] + >=sys-apps/sed-4" +RDEPEND="" + +src_prepare() { + sed -i \ + -e "/^CFLAGS/ s/-O3/${CFLAGS}/" \ + -e 's|/usr/local/include||g' \ + -e 's|/usr/local/lib||g' makefile \ + || die "sed makefile failed" + sed -i -e "s/^CXXFLAGS*/CXXFLAGS = ${CXXFLAGS} \$(INCLUDES) -Wall -fPIC\n#/" \ + "${S}/makefile" || die "sed makefile failed (CXXFLAGS)" + + cd "${S}" + epatch "${FILESDIR}/${P}-mallocstdlib.patch" + epatch "${FILESDIR}/${P}-respect-ldflags.patch" + epatch "${FILESDIR}/${P}-sa.patch" + use userland_Darwin && epatch "${FILESDIR}/${P}-darwin.patch" + multilib_copy_sources +} + +multilib_src_compile() { + tc-export CXX + emake PLUGIN_LIB="cmt.so" +} + +multilib_src_install() { + insopts -m755 + insinto /usr/$(get_libdir)/ladspa + doins *.so +} + +multilib_src_install_all() { + insinto /usr/share/ladspa/rdf/ + doins "${FILESDIR}/cmt.rdf" + + dodoc ../README + dohtml ../doc/* +} |