diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2021-01-08 14:13:39 +0100 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2021-01-08 14:13:39 +0100 |
commit | c9b78530a2cc65ecde7899e085874934895ad0f4 (patch) | |
tree | ed1de829ff4eae4354145e32bbdc85076a1100c7 /media-libs | |
parent | media-libs/lilv: removed obsolete 0.24.10 (diff) | |
download | gentoo-c9b78530a2cc65ecde7899e085874934895ad0f4.tar.gz gentoo-c9b78530a2cc65ecde7899e085874934895ad0f4.tar.bz2 gentoo-c9b78530a2cc65ecde7899e085874934895ad0f4.zip |
media-libs/lilv: bump to 0.24.12
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/lilv/Manifest | 1 | ||||
-rw-r--r-- | media-libs/lilv/lilv-0.24.12.ebuild | 81 |
2 files changed, 82 insertions, 0 deletions
diff --git a/media-libs/lilv/Manifest b/media-libs/lilv/Manifest index a73d0d2141a9..6444b39eb838 100644 --- a/media-libs/lilv/Manifest +++ b/media-libs/lilv/Manifest @@ -1 +1,2 @@ DIST lilv-0.24.10.tar.bz2 443795 BLAKE2B a316c0aae8f93a6104ad46e9e93cd3948b4596920a9bb7f1ab5bfe596428aa43e45413f79cd9e7c094ca3239e4811bd391015f17be5c059a54b0a050aff1e964 SHA512 1dfd4fef19537686b63a4e7df45e3b1a7c4a658acc21d5646daba4d3bd5676513857b3f437b89f1a06232516433ef155772d19625c33d49d13ada37a965982cf +DIST lilv-0.24.12.tar.bz2 427404 BLAKE2B 47efe553c6fc249ed0cde47a47a01e0b3496ea4dfac88849b75d9720cb3a158fa1c95959ffc1a09e606f8ba3831e79382ba08ad100ee17cf19c7f1ffa186d6e2 SHA512 ea22db4e995792b62d60d793169c792549b8fb0255c2cf7a85780dd149811921e2fae5eaea0fb83465f01b14dfa66361af3be40bf7cb3733e98655b943f4faee diff --git a/media-libs/lilv/lilv-0.24.12.ebuild b/media-libs/lilv/lilv-0.24.12.ebuild new file mode 100644 index 000000000000..5ff162080706 --- /dev/null +++ b/media-libs/lilv/lilv-0.24.12.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9} ) +PYTHON_REQ_USE='threads(+)' + +inherit python-single-r1 waf-utils bash-completion-r1 multilib-build multilib-minimal + +DESCRIPTION="Library to make the use of LV2 plugins as simple as possible for applications" +HOMEPAGE="http://drobilla.net/software/lilv/" +SRC_URI="http://download.drobilla.net/${P}.tar.bz2" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="doc +dyn-manifest static-libs test" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +RESTRICT="!test? ( test )" + +BDEPEND=" + virtual/pkgconfig + doc? ( app-doc/doxygen ) + test? ( + $(python_gen_cond_dep ' + dev-python/unittest2[${PYTHON_USEDEP}] + ') + ) +" +RDEPEND=" + ${PYTHON_DEPS} + dev-libs/serd[${MULTILIB_USEDEP}] + dev-libs/sord[${MULTILIB_USEDEP}] + media-libs/libsndfile + media-libs/lv2[${MULTILIB_USEDEP}] + media-libs/sratom[${MULTILIB_USEDEP}] +" +DEPEND="${RDEPEND}" + +pkg_setup() { + python_setup +} + +src_prepare() { + default + sed -i -e 's/^.*run_ldconfig/#\0/' wscript || die + multilib_copy_sources +} + +multilib_src_configure() { + waf-utils_src_configure \ + --docdir="${EPREFIX}"/usr/share/doc/${PF} \ + --no-bash-completion \ + $(multilib_native_usex doc --docs "") \ + $(usex test --test "") \ + $(usex static-libs --static "") \ + $(usex dyn-manifest --dyn-manifest "") +} + +multilib_src_compile() { + ./waf build || die +} + +multilib_src_test() { + ./waf test || die +} + +multilib_src_install() { + waf-utils_src_install +} + +multilib_src_install_all() { + sed -i "/lv2jack/d" utils/lilv.bash_completion + newbashcomp utils/lilv.bash_completion lv2info + + dodir /etc/env.d + echo "LV2_PATH=${EPREFIX}/usr/$(get_libdir)/lv2" > "${ED}/etc/env.d/60lv2" + + python_optimize +} |