diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-12-15 18:09:03 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-12-15 18:09:03 +0000 |
commit | 7bc9c63c9da678a7e6fceb095d56c634afd22c56 (patch) | |
tree | 4a67d50a439e9af63947e5f8b6ba3719af98b6c9 /media-libs/lv2 | |
parent | b284a3168fa91a038925d2ecf5e4791011ea5e7d (diff) |
gentoo resync : 15.12.2019
Diffstat (limited to 'media-libs/lv2')
-rw-r--r-- | media-libs/lv2/Manifest | 3 | ||||
-rw-r--r-- | media-libs/lv2/files/lv2-1.16.0-python3.patch | 22 | ||||
-rw-r--r-- | media-libs/lv2/lv2-1.16.0.ebuild | 61 |
3 files changed, 86 insertions, 0 deletions
diff --git a/media-libs/lv2/Manifest b/media-libs/lv2/Manifest index ac817ab07e8e..9c8805efe575 100644 --- a/media-libs/lv2/Manifest +++ b/media-libs/lv2/Manifest @@ -1,3 +1,6 @@ +AUX lv2-1.16.0-python3.patch 855 BLAKE2B 9b6e74afdca510e3f7e43cf99eff7168db2e738bf12697b435accb54037611f2e24cc842b06abe3789503a1cc0a1ca74f50edf55d26dd7712406ba817f4959c0 SHA512 756c794acbdb2941553a60d1966635a66b44ff7209019fc9516d66baffa6101071f0f412b675823d32ad48c47d533a29cbeadc56459e88435509032569d62fbf DIST lv2-1.14.0.tar.bz2 386438 BLAKE2B e09e6c2b1bbf24d5896e7803b970fd8877a5b6a9ded0fcf294561c365d5f0b2e89503c0306b02dd956f7ac6ebd9df4ca0c0a17564ef3851443d81847dd41b261 SHA512 6991d848ed9f04a48ca3070efc15af83431f680aa8a8559a02b1666f7b8d43af8e089f78c3b14ad3345dac32fd1c8ad0faf3a3f56dddc07c6f0e0aeef4077498 +DIST lv2-1.16.0.tar.bz2 502116 BLAKE2B 00b364311f61b1a9f251d8eb3e27b66d4a59e313006df549dbb80fc6a1106b588bc59c7766910037ee093254d96e508f8538615666833b0c00c8282301bfe0e4 SHA512 ead6d590cded5dd7a548d6ffe0f2f9f8efadfa7bb9e8b4fa0aea6664ccdfbb3ca697514bddebe695a9442fba5b62714b5cd45c1bf7d0aaef12ffe50972c2d88c EBUILD lv2-1.14.0-r1.ebuild 1327 BLAKE2B 9d8d72738728c102b12eac16275f3c2a49c9e634bec2220a916d0a43930d2950a929a5853f8c902d35c076a9e946576b31f02541b1a382fa2f4da654b21c4f14 SHA512 5cee8e2342ecdec9fa459a6e417ab152eed31a5bf114ad531988cf63cc7eba7ce296aa0c0fb7e231f14c9a08726a74d8579abe9c357c4d575ef60494db672779 +EBUILD lv2-1.16.0.ebuild 1332 BLAKE2B 7159f58d88e0fd1e48538a8e36dcdc0105e1782ad0bd898f61bfedf123c14771d0a322a40f20c6b9095aaa1299f56cc4a843fa4721ea6744992908b9236cc335 SHA512 ced3ea94265707f07ba7562156646cea47e18a5d50b7494392dd37ae1dfc5553a4a4c21a6bbafed8cb1b5e0ac4ed3ba6254244deac3df2d021065314fa538def MISC metadata.xml 340 BLAKE2B e8469f758a451316b9d89c286f2d47c82b62d57ff9d43a6f2f93da8cf0abb5579fa8e568d8e6422e5d144a368310ccdec6e89ce2672f53b9db149bbf838afa68 SHA512 a31345dfd0bb1ac92461cd26ffcd20197775288be0ee4a2d660e90b8655f5288166c9613ba42ef3eef6dff6c97d268ffc85af3429eb093ffb29ad9581a5fa33d diff --git a/media-libs/lv2/files/lv2-1.16.0-python3.patch b/media-libs/lv2/files/lv2-1.16.0-python3.patch new file mode 100644 index 000000000000..330fc4cfcac7 --- /dev/null +++ b/media-libs/lv2/files/lv2-1.16.0-python3.patch @@ -0,0 +1,22 @@ +diff --git a/lv2specgen/lv2specgen.py b/lv2specgen/lv2specgen.py +index ddd0ba5..224ace8 100755 +--- a/lv2specgen/lv2specgen.py ++++ b/lv2specgen/lv2specgen.py +@@ -329,7 +329,7 @@ def getComment(m, urinode, classlist, proplist, instalist): + if have_lxml: + try: + # Parse and validate documentation as XHTML Basic 1.1 +- doc = """<?xml version="1.0" encoding="UTF-8"?> ++ doc = """<?xml version="1.0"?> + <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.1//EN" + "DTD/xhtml-basic11.dtd"> + <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> +@@ -340,7 +340,7 @@ def getComment(m, urinode, classlist, proplist, instalist): + %s + </body> + </html> +-""" % str(markup.decode()) ++""" % str(markup) + + oldcwd = os.getcwd() + os.chdir(specgendir) diff --git a/media-libs/lv2/lv2-1.16.0.ebuild b/media-libs/lv2/lv2-1.16.0.ebuild new file mode 100644 index 000000000000..9284873bc1ff --- /dev/null +++ b/media-libs/lv2/lv2-1.16.0.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python3_{5,6,7} ) +PYTHON_REQ_USE='threads(+)' + +inherit python-single-r1 waf-utils multilib-build multilib-minimal + +DESCRIPTION="A simple but extensible successor of LADSPA" +HOMEPAGE="http://lv2plug.in/" +SRC_URI="http://lv2plug.in/spec/${P}.tar.bz2" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="doc plugins" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +BDEPEND=" + plugins? ( virtual/pkgconfig ) + doc? ( app-doc/doxygen dev-python/rdflib ) +" +CDEPEND=" + ${PYTHON_DEPS} + plugins? ( x11-libs/gtk+:2 media-libs/libsndfile ) +" +DEPEND="${CDEPEND}" +RDEPEND=" + ${CDEPEND} + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}] + dev-python/rdflib[${PYTHON_USEDEP}] +" +DOCS=( "README.md" "NEWS" ) + +PATCHES=( + "${FILESDIR}/${P}-python3.patch" +) + +src_prepare() { + default + multilib_copy_sources +} + +multilib_src_configure() { + waf-utils_src_configure \ + --docdir="${EPREFIX}"/usr/share/doc/${PF} \ + --lv2dir="${EPREFIX}"/usr/$(get_libdir)/lv2 \ + $(use plugins || echo " --no-plugins") \ + $(multilib_native_usex doc --docs "") +} + +multilib_src_install() { + waf-utils_src_install +} + +multilib_src_install_all() { + python_fix_shebang "${D}" +} |