diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2020-07-09 11:19:26 +0200 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2020-07-09 11:20:07 +0200 |
commit | 6be819b924c7df9591ab3a3025d5f237bbcae1de (patch) | |
tree | 428e57c021497611dbfbe7f7e01251a224397840 /media-libs | |
parent | media-libs/ladspa-sdk: bump to 1.15 (diff) | |
download | gentoo-6be819b924c7df9591ab3a3025d5f237bbcae1de.tar.gz gentoo-6be819b924c7df9591ab3a3025d5f237bbcae1de.tar.bz2 gentoo-6be819b924c7df9591ab3a3025d5f237bbcae1de.zip |
media-libs/ladspa-cmt: bump to 1.17
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/ladspa-cmt/Manifest | 1 | ||||
-rw-r--r-- | media-libs/ladspa-cmt/files/ladspa-cmt-1.17-darwin.patch | 13 | ||||
-rw-r--r-- | media-libs/ladspa-cmt/files/ladspa-cmt-1.17-makefile.patch | 27 | ||||
-rw-r--r-- | media-libs/ladspa-cmt/ladspa-cmt-1.17.ebuild | 57 |
4 files changed, 98 insertions, 0 deletions
diff --git a/media-libs/ladspa-cmt/Manifest b/media-libs/ladspa-cmt/Manifest index 8b5192b8e7c2..7f16a45c1572 100644 --- a/media-libs/ladspa-cmt/Manifest +++ b/media-libs/ladspa-cmt/Manifest @@ -1 +1,2 @@ +DIST cmt_1.17.tgz 64070 BLAKE2B 903b540f0232e34dadb4683f5fe2478a0124dd1864c49868f8d5db4742cd89e55600c1b7aadea56b04b831b528b8930c472c2d05149b00e81cec503c69dc9c87 SHA512 7df31a44c41622785b569ef79bef91cba098fed89ca65dcb31b9fdd751caff863cf42eb7ca2ffab08e883fbcd040ab1c7290a96abf58e908be44ab803d672e26 DIST cmt_src_1.16.tgz 63909 BLAKE2B b476b701f63125a11e2f03cb837552ddf26beba0c897873959c2577f3d897866bea0dccb480e4fcb0462a0ffea4d380b5a99998b082a46f7222049d2d2db4c9f SHA512 be4aaa064183b6121b4ca8d7d2535cb9a3bcb557e3a2f22b45ec9775b0e296f70a9a7edf697b78095d6ef1564bb5459bb742649082ac724d1774c0790379af21 diff --git a/media-libs/ladspa-cmt/files/ladspa-cmt-1.17-darwin.patch b/media-libs/ladspa-cmt/files/ladspa-cmt-1.17-darwin.patch new file mode 100644 index 000000000000..ab2733373f01 --- /dev/null +++ b/media-libs/ladspa-cmt/files/ladspa-cmt-1.17-darwin.patch @@ -0,0 +1,13 @@ +diff --git a/src/Makefile b/src/Makefile +index ec6a524..700ff75 100644 +--- a/src/Makefile ++++ b/src/Makefile +@@ -67,7 +67,7 @@ targets: $(PLUGIN_LIB) + + $(PLUGIN_LIB): $(PLUGIN_OBJECTS) gcc_exports.map + $(CXX) $(LDFLAGS) \ +- -shared \ ++ -dynamiclib -ldl \ + $(CFLAGS) \ + -fvisibility=hidden \ + -fvisibility-inlines-hidden \ diff --git a/media-libs/ladspa-cmt/files/ladspa-cmt-1.17-makefile.patch b/media-libs/ladspa-cmt/files/ladspa-cmt-1.17-makefile.patch new file mode 100644 index 000000000000..866cbfdbfc65 --- /dev/null +++ b/media-libs/ladspa-cmt/files/ladspa-cmt-1.17-makefile.patch @@ -0,0 +1,27 @@ +diff --git a/src/Makefile b/src/Makefile +index 159dd46..3b8aeeb 100644 +--- a/src/Makefile ++++ b/src/Makefile +@@ -11,7 +11,7 @@ INSTALL_PLUGINS_DIR = /usr/lib/ladspa/ + # GENERAL + # + +-CFLAGS = $(INCLUDES) -Wall -Werror -O2 -fPIC ++CFLAGS = $(INCLUDES) -Wall -Werror -fPIC + CXXFLAGS = $(CFLAGS) + PLUGIN_LIB = ../plugins/cmt.so + +@@ -66,11 +66,11 @@ plugin: $(PLUGIN_LIB) + targets: $(PLUGIN_LIB) + + $(PLUGIN_LIB): $(PLUGIN_OBJECTS) gcc_exports.map +- $(CXX) -shared \ ++ $(CXX) $(LDFLAGS) \ ++ -shared \ + $(CFLAGS) \ + -fvisibility=hidden \ + -fvisibility-inlines-hidden \ +- -s \ + -Wl,--version-script=gcc_exports.map \ + -o $(PLUGIN_LIB) \ + $(PLUGIN_OBJECTS) diff --git a/media-libs/ladspa-cmt/ladspa-cmt-1.17.ebuild b/media-libs/ladspa-cmt/ladspa-cmt-1.17.ebuild new file mode 100644 index 000000000000..97924f15ea6c --- /dev/null +++ b/media-libs/ladspa-cmt/ladspa-cmt-1.17.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit eutils multilib toolchain-funcs multilib-minimal + +MY_P="cmt_${PV}" +S="${WORKDIR}/${MY_P}" + +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 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +LICENSE="LGPL-2.1" +SLOT="0" +IUSE="" + +DEPEND=">=media-libs/ladspa-sdk-1.13-r2[${MULTILIB_USEDEP}]" +RDEPEND="" + +PATCHES=( + "${FILESDIR}/${P}-makefile.patch" +) + +DOCS="../README" +HTML_DOCS="../doc/*" + +src_prepare() { + default + + use elibc_Darwin && eapply "${FILESDIR}/${P}-darwin.patch" + + multilib_copy_sources +} + +multilib_src_compile() { + cd src + tc-export CXX + emake PLUGIN_LIB="cmt.so" +} + +multilib_src_install() { + cd src + insopts -m755 + insinto /usr/$(get_libdir)/ladspa + doins *.so +} + +multilib_src_install_all() { + cd src + insinto /usr/share/ladspa/rdf/ + doins "${FILESDIR}/cmt.rdf" + + einstalldocs +} |