From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- media-libs/slv2/Manifest | 7 ++++ media-libs/slv2/files/ldconfig.patch | 14 ++++++++ .../slv2/files/slv2-0.6.6-raptor2-link.patch | 23 +++++++++++++ media-libs/slv2/metadata.xml | 8 +++++ media-libs/slv2/slv2-0.6.6-r2.ebuild | 39 ++++++++++++++++++++++ 5 files changed, 91 insertions(+) create mode 100644 media-libs/slv2/Manifest create mode 100644 media-libs/slv2/files/ldconfig.patch create mode 100644 media-libs/slv2/files/slv2-0.6.6-raptor2-link.patch create mode 100644 media-libs/slv2/metadata.xml create mode 100644 media-libs/slv2/slv2-0.6.6-r2.ebuild (limited to 'media-libs/slv2') diff --git a/media-libs/slv2/Manifest b/media-libs/slv2/Manifest new file mode 100644 index 000000000000..a0c6bc7f7e40 --- /dev/null +++ b/media-libs/slv2/Manifest @@ -0,0 +1,7 @@ +AUX ldconfig.patch 441 SHA256 492e270623f07fbf4f748ee94056a1e30d012dd40cb07203d4dfdce0a9aed19b SHA512 0b42b212448ba01f92a324146d5a39dac20532dae9c5a5be1af8ddb10503e431eb8b1391bc091f0459706cc309cab92cd39ac00f94f0da7c6354b24cb35c6c7a WHIRLPOOL 21ca1000a40e8a7421dd7283037a1580c5761d8c50e68ee9299b3fdaff9339a7f37630956f2e8cde224a429f010de607f617dad9e9aeb9b92f1bd8f36b4b1530 +AUX slv2-0.6.6-raptor2-link.patch 1127 SHA256 b323d6133ee0d2ae33c5aee59fac6b0609c2a253b4be47e85787727b5aad243d SHA512 a906f820e7fb423636845ab3466060c5d6c180334f4701187c6dfcdde641836534faa4c896cb1f93f1ba1f1168b079bc4b1156f2a24c9fd37482e5c3a9eccf36 WHIRLPOOL f8d50cd6039471dd658285f5f14c23b0f5fab34ecb5130e5805dfbc96b08d52d613ee4eb175506ad3b455780acf1d2d66bf62b7797771b3cc15bfa9a2b4953f5 +DIST slv2-0.6.6.tar.bz2 170859 SHA256 60d3539b8c34d40d2d63e47832ef2e7bf34a9b1af2898547b19721e3f6b7f9f0 SHA512 b9751b944e4a4d9639fcbfe73cdb31bc4d7f1256c0b1b75f9ab58f5f951767d12a4dd6bb8fc95743de9f6787c663e6815c3e41c025299a4228325d0568b08359 WHIRLPOOL cfe418ef19af71030b3b20816877871e327a34beee3a598c6ba759743bb871c7b1a8d4123ee481a40136f6dc9e50c8d3b1f52d33196f1824b2cb7a76eb951780 +EBUILD slv2-0.6.6-r2.ebuild 983 SHA256 86aab0eb6d8cbed4c19170ef9941d2604c5dd714cbda924e323cd8817ca7712b SHA512 e6ccfcef2ff6519dd67be2f556ce53d0a25d57e90f305602a8b7f3980c47caa1cfc8fcf4ca18c57cbbf6063b6e8869cded95c82d0c7ab663cba170ba1a67f121 WHIRLPOOL 058a0217abc60a477d6bafe30218eff5cd27447dfbe3016ef5baf1d3bbb7d203c062a96d07802aca52e82c25d1637d755f2be4377f7827b357022f811607e894 +MISC ChangeLog 2827 SHA256 30bb8a178b243bb37aa151c847e5c85bf827d591fb7df3ea88f9641265a17b3c SHA512 ee6e8245695598e769cd5b9f760b619d3d7296d2f8e3d7f895c75f61db7063f0963b373eb0539da6e333e3416ec73d8f7aabc76653a2f9d8dbbf30e835551d59 WHIRLPOOL 6ed0cb9e17831d1f8735f397138f867a8354466f8867e3465f0fa81eba07df4df14055943114a7278e5b3287bb3b0c1da1d4bfec5c5c0611d109644b9186d0dd +MISC ChangeLog-2015 2817 SHA256 85adcd7f200270a095c4c82f3d68fa4b45c16476d2d804ed41ec6c880804a469 SHA512 1bab54c6ae304cb60d1f5e0c0b8e700f0abc1fb415b36b4ce48f1972a84ae243aa96a0d8288dbd97647ad00d24b8725dc06661c8d1598db8338f641d5dd98571 WHIRLPOOL b597f359be90826833b36aef517ad1358796d526260bda3361e01f500f7d66ce5df41bce7699b32e06703886de6f54395c681ddf3c8dff1a6aa71e0660f9f43a +MISC metadata.xml 255 SHA256 fc6dd027d0011f9f42d437ea0687857760a11bf2137f8822ec8692186d0bcbe3 SHA512 9e74b875aa129f5b8108121402291772fde4ac18a157dc60f7b3e19c318ee54cd1be54e283a68bc61562f2dc3f5b338b161028d673ff7baa267192ff3b7e8dc8 WHIRLPOOL de03966b13986c67a61f862755281e80740260a9031e5e34cbee88a3053e66f705df0f36499b154744ff447c94e19a28b8649535e08819216569e78eb4ce9a38 diff --git a/media-libs/slv2/files/ldconfig.patch b/media-libs/slv2/files/ldconfig.patch new file mode 100644 index 000000000000..f53ff9e7df59 --- /dev/null +++ b/media-libs/slv2/files/ldconfig.patch @@ -0,0 +1,14 @@ +Index: slv2-0.6.2/autowaf.py +=================================================================== +--- slv2-0.6.2.orig/autowaf.py ++++ slv2-0.6.2/autowaf.py +@@ -324,8 +324,5 @@ def build_dox(bld, name, version, srcdir + out1.command_is_external = True + + def shutdown(): +- # This isn't really correct (for packaging), but people asking is annoying +- if Options.commands['install']: +- try: os.popen("/sbin/ldconfig") +- except: pass ++ return + diff --git a/media-libs/slv2/files/slv2-0.6.6-raptor2-link.patch b/media-libs/slv2/files/slv2-0.6.6-raptor2-link.patch new file mode 100644 index 000000000000..a6a113a7627c --- /dev/null +++ b/media-libs/slv2/files/slv2-0.6.6-raptor2-link.patch @@ -0,0 +1,23 @@ +To reproduce it run: + $ LDFLAGS="-Wl,--no-undefined" emerge -1 slv2 +Fixes https://bugs.gentoo.org/371747 by ftrvxmtrx +--- slv2-0.6.6.orig/wscript 2009-05-26 05:44:51.000000000 +0200 ++++ slv2-0.6.6/wscript 2014-01-21 00:46:19.890443103 +0100 +@@ -51,6 +51,7 @@ + autowaf.check_pkg(conf, 'lv2core', uselib_store='LV2CORE', atleast_version='1.0', mandatory=True) + autowaf.check_pkg(conf, 'redland', uselib_store='REDLAND', atleast_version='1.0.6', mandatory=True) + autowaf.check_pkg(conf, 'jack', uselib_store='JACK', atleast_version='0.107.0', mandatory=False) ++ autowaf.check_pkg(conf, 'raptor2', uselib_store='RAPTOR2', atleast_version='2.0.8', mandatory=True) + conf.env.append_value('CCFLAGS', '-std=c99') + conf.define('SLV2_VERSION', SLV2_VERSION) + conf.write_config_header('slv2-config.h') +@@ -96,7 +97,8 @@ + obj.target = 'slv2' + obj.vnum = SLV2_LIB_VERSION + obj.install_path = '${LIBDIR}' +- autowaf.use_lib(bld, obj, 'REDLAND LV2CORE') ++ obj.lib = ['dl'] ++ autowaf.use_lib(bld, obj, 'REDLAND LV2CORE RAPTOR2') + + # Static library (for unit test code coverage) + if bld.env['BUILD_TESTS']: diff --git a/media-libs/slv2/metadata.xml b/media-libs/slv2/metadata.xml new file mode 100644 index 000000000000..f79bb67acbd9 --- /dev/null +++ b/media-libs/slv2/metadata.xml @@ -0,0 +1,8 @@ + + + + + proaudio@gentoo.org + Gentoo ProAudio Project + + diff --git a/media-libs/slv2/slv2-0.6.6-r2.ebuild b/media-libs/slv2/slv2-0.6.6-r2.ebuild new file mode 100644 index 000000000000..734510116818 --- /dev/null +++ b/media-libs/slv2/slv2-0.6.6-r2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE='threads(+)' +inherit eutils multilib python-any-r1 toolchain-funcs waf-utils + +DESCRIPTION="A library to make the use of LV2 plugins as simple as possible for applications" +HOMEPAGE="http://wiki.drobilla.net/SLV2" +SRC_URI="http://download.drobilla.net/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~ppc x86" +IUSE="doc jack" + +RDEPEND=">=dev-libs/redland-1.0.6 + jack? ( virtual/jack ) + || ( media-libs/lv2 media-libs/lv2core )" +DEPEND="${RDEPEND} + ${PYTHON_DEPS} + virtual/pkgconfig + doc? ( app-doc/doxygen )" + +src_prepare() { + epatch "${FILESDIR}"/ldconfig.patch + epatch "${FILESDIR}"/${P}-raptor2-link.patch +} + +src_configure() { + waf-utils_src_configure \ + --prefix=/usr \ + --libdir=/usr/$(get_libdir) \ + --htmldir=/usr/share/doc/${PF}/html \ + $(use doc && echo --build-docs) \ + $(use jack || echo --no-jack) +} -- cgit v1.2.3