diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-libs/ladspa-cmt | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-libs/ladspa-cmt')
-rw-r--r-- | media-libs/ladspa-cmt/Manifest | 1 | ||||
-rw-r--r-- | media-libs/ladspa-cmt/files/cmt.rdf | 91 | ||||
-rw-r--r-- | media-libs/ladspa-cmt/files/ladspa-cmt-1.16-darwin.patch | 12 | ||||
-rw-r--r-- | media-libs/ladspa-cmt/files/ladspa-cmt-1.16-mallocstdlib.patch | 75 | ||||
-rw-r--r-- | media-libs/ladspa-cmt/files/ladspa-cmt-1.16-respect-ldflags.patch | 14 | ||||
-rw-r--r-- | media-libs/ladspa-cmt/files/ladspa-cmt-1.16-sa.patch | 18 | ||||
-rw-r--r-- | media-libs/ladspa-cmt/ladspa-cmt-1.16-r4.ebuild | 58 | ||||
-rw-r--r-- | media-libs/ladspa-cmt/metadata.xml | 5 |
8 files changed, 274 insertions, 0 deletions
diff --git a/media-libs/ladspa-cmt/Manifest b/media-libs/ladspa-cmt/Manifest new file mode 100644 index 000000000000..f955a8d589ea --- /dev/null +++ b/media-libs/ladspa-cmt/Manifest @@ -0,0 +1 @@ +DIST cmt_src_1.16.tgz 63909 SHA256 512a1d7e698b9e0e7c692202c29f4bd70846d52241ec254e1a324abaef405635 SHA512 be4aaa064183b6121b4ca8d7d2535cb9a3bcb557e3a2f22b45ec9775b0e296f70a9a7edf697b78095d6ef1564bb5459bb742649082ac724d1774c0790379af21 WHIRLPOOL 7daeaf8dfc30c1acb6b9387fe96ac55121f136c355c7cb0d48d402ac8c9ea2fcabf6f3d436ed009c65d9cafcedab2ed705204ef34e7f4a24dbcdca0054cbc0d8 diff --git a/media-libs/ladspa-cmt/files/cmt.rdf b/media-libs/ladspa-cmt/files/cmt.rdf new file mode 100644 index 000000000000..c63fd9249a1b --- /dev/null +++ b/media-libs/ladspa-cmt/files/cmt.rdf @@ -0,0 +1,91 @@ +<?xml version='1.0' encoding='ISO-8859-1'?> +<!DOCTYPE rdf:RDF [ + <!ENTITY rdf 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'> + <!ENTITY rdfs 'http://www.w3.org/2000/01/rdf-schema#'> + <!ENTITY dc 'http://purl.org/dc/elements/1.1/'> + <!ENTITY ladspa 'http://ladspa.org/ontology#'> +]> +<rdf:RDF xmlns:rdf="&rdf;" + xmlns:rdfs="&rdfs;" + xmlns:dc="&dc;" + xmlns:ladspa="&ladspa;"> + + <!-- New classes needed by CMT --> + <rdfs:Class rdf:about="&ladspa;AmbisonicPlugin" ladspa:hasLabel="Ambisonic"> + <rdfs:subClassOf rdf:resource="&ladspa;UtilityPlugin" /> + </rdfs:Class> + + <ladspa:AmbisonicPlugin rdf:about="&ladspa;1092"/> + <ladspa:AmbisonicPlugin rdf:about="&ladspa;1091"/> + <ladspa:AmbisonicPlugin rdf:about="&ladspa;1090"/> + <ladspa:AmbisonicPlugin rdf:about="&ladspa;1093"/> + <ladspa:AmbisonicPlugin rdf:about="&ladspa;1087"/> + <ladspa:AmbisonicPlugin rdf:about="&ladspa;1094"/> + <ladspa:AmbisonicPlugin rdf:about="&ladspa;1089"/> + <ladspa:AmbisonicPlugin rdf:about="&ladspa;1088"/> + + <ladspa:AmplifierPlugin rdf:about="&ladspa;1067"/> + <ladspa:AmplifierPlugin rdf:about="&ladspa;1068"/> + <ladspa:ModulatorPlugin rdf:about="&ladspa;1070"/> + + <ladspa:DistortionPlugin rdf:about="&ladspa;1846"/> + <ladspa:DistortionPlugin rdf:about="&ladspa;1227"/> + <ladspa:WaveshaperPlugin rdf:about="&ladspa;1097"/> + + <ladspa:DelayPlugin rdf:about="&ladspa;1225"/> + <ladspa:DelayPlugin rdf:about="&ladspa;1053"/> + <ladspa:DelayPlugin rdf:about="&ladspa;1054"/> + <ladspa:DelayPlugin rdf:about="&ladspa;1055"/> + <ladspa:DelayPlugin rdf:about="&ladspa;1056"/> + <ladspa:DelayPlugin rdf:about="&ladspa;1057"/> + <ladspa:DelayPlugin rdf:about="&ladspa;1058"/> + <ladspa:DelayPlugin rdf:about="&ladspa;1059"/> + <ladspa:DelayPlugin rdf:about="&ladspa;1060"/> + <ladspa:DelayPlugin rdf:about="&ladspa;1061"/> + <ladspa:DelayPlugin rdf:about="&ladspa;1062"/> + + <ladspa:UtilityPlugin rdf:about="&ladspa;1080"/> + <ladspa:UtilityPlugin rdf:about="&ladspa;1081"/> + <ladspa:UtilityPlugin rdf:about="&ladspa;1078"/> + <ladspa:UtilityPlugin rdf:about="&ladspa;1079"/> + <ladspa:UtilityPlugin rdf:about="&ladspa;1098"/> + <ladspa:UtilityPlugin rdf:about="&ladspa;1099"/> + <ladspa:UtilityPlugin rdf:about="&ladspa;1849"/> + <ladspa:UtilityPlugin rdf:about="&ladspa;1071"/> + <ladspa:UtilityPlugin rdf:about="&ladspa;1083"/> + <ladspa:UtilityPlugin rdf:about="&ladspa;1084"/> + <ladspa:UtilityPlugin rdf:about="&ladspa;1085"/> + <ladspa:UtilityPlugin rdf:about="&ladspa;1086"/> + <ladspa:UtilityPlugin rdf:about="&ladspa;1082"/> + + <ladspa:ReverbPlugin rdf:about="&ladspa;1123"/> + + <ladspa:GeneratorPlugin rdf:about="&ladspa;1221"/> + <ladspa:GeneratorPlugin rdf:about="&ladspa;1096"/> + <ladspa:GeneratorPlugin rdf:about="&ladspa;1069"/> + <ladspa:GeneratorPlugin rdf:about="&ladspa;1222"/> + <ladspa:GeneratorPlugin rdf:about="&ladspa;1226"/> + <ladspa:GeneratorPlugin rdf:about="&ladspa;1841"/> + <ladspa:GeneratorPlugin rdf:about="&ladspa;1844"/> + <ladspa:GeneratorPlugin rdf:about="&ladspa;1843"/> + <ladspa:GeneratorPlugin rdf:about="&ladspa;1063"/> + <ladspa:GeneratorPlugin rdf:about="&ladspa;1064"/> + <ladspa:GeneratorPlugin rdf:about="&ladspa;1065"/> + <ladspa:GeneratorPlugin rdf:about="&ladspa;1066"/> + <ladspa:GeneratorPlugin rdf:about="&ladspa;1223"/> + + <ladspa:GatePlugin rdf:about="&ladspa;1845"/> + <ladspa:LimiterPlugin rdf:about="&ladspa;1848"/> + <ladspa:LimiterPlugin rdf:about="&ladspa;1842"/> + <ladspa:LimiterPlugin rdf:about="&ladspa;1076"/> + <ladspa:LimiterPlugin rdf:about="&ladspa;1077"/> + <ladspa:CompressorPlugin rdf:about="&ladspa;1072"/> + <ladspa:CompressorPlugin rdf:about="&ladspa;1073"/> + <ladspa:ExpanderPlugin rdf:about="&ladspa;1074"/> + <ladspa:ExpanderPlugin rdf:about="&ladspa;1075"/> + + <ladspa:LowpassPlugin rdf:about="&ladspa;1051"/> + <ladspa:LowpassPlugin rdf:about="&ladspa;1224"/> + <ladspa:HighpassPlugin rdf:about="&ladspa;1052"/> + +</rdf:RDF> diff --git a/media-libs/ladspa-cmt/files/ladspa-cmt-1.16-darwin.patch b/media-libs/ladspa-cmt/files/ladspa-cmt-1.16-darwin.patch new file mode 100644 index 000000000000..f4352bfdcb91 --- /dev/null +++ b/media-libs/ladspa-cmt/files/ladspa-cmt-1.16-darwin.patch @@ -0,0 +1,12 @@ +diff -u src-org/makefile src/makefile +--- src-org/makefile Thu Oct 28 19:22:56 2004 ++++ src/makefile Thu Oct 28 19:28:16 2004 +@@ -68,7 +68,7 @@ + targets: $(PLUGIN_LIB) + + $(PLUGIN_LIB): $(PLUGIN_OBJECTS) +- $(CXX) -shared \ ++ $(CXX) -dynamiclib -ldl \ + -o $(PLUGIN_LIB) \ + $(PLUGIN_OBJECTS) + diff --git a/media-libs/ladspa-cmt/files/ladspa-cmt-1.16-mallocstdlib.patch b/media-libs/ladspa-cmt/files/ladspa-cmt-1.16-mallocstdlib.patch new file mode 100644 index 000000000000..f4e7663282c6 --- /dev/null +++ b/media-libs/ladspa-cmt/files/ladspa-cmt-1.16-mallocstdlib.patch @@ -0,0 +1,75 @@ +Index: cmt/src/analogue.cpp +=================================================================== +--- cmt.orig/src/analogue.cpp ++++ cmt/src/analogue.cpp +@@ -24,7 +24,6 @@ + + /*****************************************************************************/ + +-#include <malloc.h> + #include <math.h> + #include <stdlib.h> + #include "cmt.h" +Index: cmt/src/canyondelay.cpp +=================================================================== +--- cmt.orig/src/canyondelay.cpp ++++ cmt/src/canyondelay.cpp +@@ -25,7 +25,7 @@ + /*****************************************************************************/ + + +-#include <malloc.h> ++#include <stdlib.h> + #include <math.h> + #include "cmt.h" + +Index: cmt/src/lofi.cpp +=================================================================== +--- cmt.orig/src/lofi.cpp ++++ cmt/src/lofi.cpp +@@ -24,7 +24,6 @@ + + /*****************************************************************************/ + +-#include <malloc.h> + #include <math.h> + #include <stdlib.h> + #include "cmt.h" +Index: cmt/src/phasemod.cpp +=================================================================== +--- cmt.orig/src/phasemod.cpp ++++ cmt/src/phasemod.cpp +@@ -24,7 +24,6 @@ + + /*****************************************************************************/ + +-#include <malloc.h> + #include <math.h> + #include <stdlib.h> + #include "cmt.h" +Index: cmt/src/syndrum.cpp +=================================================================== +--- cmt.orig/src/syndrum.cpp ++++ cmt/src/syndrum.cpp +@@ -24,7 +24,7 @@ + + /*****************************************************************************/ + +-#include <malloc.h> ++#include <stdlib.h> + #include <math.h> + #include "cmt.h" + +Index: cmt/src/vcf303.cpp +=================================================================== +--- cmt.orig/src/vcf303.cpp ++++ cmt/src/vcf303.cpp +@@ -26,7 +26,7 @@ + /*****************************************************************************/ + + +-#include <malloc.h> ++#include <stdlib.h> + #include <math.h> + #include "cmt.h" + diff --git a/media-libs/ladspa-cmt/files/ladspa-cmt-1.16-respect-ldflags.patch b/media-libs/ladspa-cmt/files/ladspa-cmt-1.16-respect-ldflags.patch new file mode 100644 index 000000000000..e851c2a781ed --- /dev/null +++ b/media-libs/ladspa-cmt/files/ladspa-cmt-1.16-respect-ldflags.patch @@ -0,0 +1,14 @@ +https://bugs.gentoo.org/show_bug.cgi?id=334711 + +--- cmt/src/makefile.old 2010-09-13 16:43:26.000000000 +0100 ++++ cmt/src/makefile 2010-09-13 16:45:08.000000000 +0100 +@@ -66,7 +66,8 @@ + targets: $(PLUGIN_LIB) + + $(PLUGIN_LIB): $(PLUGIN_OBJECTS) +- $(CXX) -shared \ ++ $(CXX) $(LDFLAGS) \ ++ -shared \ + -o $(PLUGIN_LIB) \ + $(PLUGIN_OBJECTS) + diff --git a/media-libs/ladspa-cmt/files/ladspa-cmt-1.16-sa.patch b/media-libs/ladspa-cmt/files/ladspa-cmt-1.16-sa.patch new file mode 100644 index 000000000000..161c06d27eed --- /dev/null +++ b/media-libs/ladspa-cmt/files/ladspa-cmt-1.16-sa.patch @@ -0,0 +1,18 @@ +Fix strict aliasing warnings: reeverb/Components/allpass.h:36:2: warning: +dereferencing type-punned pointer will break strict-aliasing rules + +https://bugs.gentoo.org/show_bug.cgi?id=307563 + +Index: cmt/src/freeverb/Components/denormals.h +=================================================================== +--- cmt.orig/src/freeverb/Components/denormals.h ++++ cmt/src/freeverb/Components/denormals.h +@@ -8,7 +8,7 @@ + #ifndef _denormals_
+ #define _denormals_
+
+-#define undenormalise(sample) if(((*(unsigned int*)&sample)&0x7f800000)==0) sample=0.0f
++#define undenormalise(sample) if((((unsigned int)sample)&0x7f800000)==0) sample=0.0f
+
+ #endif//_denormals_
+
diff --git a/media-libs/ladspa-cmt/ladspa-cmt-1.16-r4.ebuild b/media-libs/ladspa-cmt/ladspa-cmt-1.16-r4.ebuild new file mode 100644 index 000000000000..860c729d307c --- /dev/null +++ b/media-libs/ladspa-cmt/ladspa-cmt-1.16-r4.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils multilib toolchain-funcs multilib-minimal + +S="${WORKDIR}/cmt/src" +MY_P="cmt_src_${PV}" + +DESCRIPTION="CMT (computer music toolkit) LADSPA 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" +IUSE="" + +DEPEND=">=media-libs/ladspa-sdk-1.13-r2[${MULTILIB_USEDEP}]" +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}" || die + epatch "${FILESDIR}/${P}-mallocstdlib.patch" + epatch "${FILESDIR}/${P}-respect-ldflags.patch" + epatch "${FILESDIR}/${P}-sa.patch" + use elibc_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/* +} diff --git a/media-libs/ladspa-cmt/metadata.xml b/media-libs/ladspa-cmt/metadata.xml new file mode 100644 index 000000000000..0dc3775f83d7 --- /dev/null +++ b/media-libs/ladspa-cmt/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>proaudio</herd> +</pkgmetadata> |