diff options
author | 2022-07-31 09:26:29 +0200 | |
---|---|---|
committer | 2022-07-31 09:26:29 +0200 | |
commit | a8cd984486242a6c9078e5a744688e7dc8e2c1e4 (patch) | |
tree | 5d3a0ea4b0e1e71068706be6f7f9818bc40f6403 /media-libs/sratom | |
parent | dev-libs/sord: bump to 0.16.22 + updated live (diff) | |
download | gentoo-a8cd984486242a6c9078e5a744688e7dc8e2c1e4.tar.gz gentoo-a8cd984486242a6c9078e5a744688e7dc8e2c1e4.tar.bz2 gentoo-a8cd984486242a6c9078e5a744688e7dc8e2c1e4.zip |
media-libs/sratom: bump to 0.6.12
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-libs/sratom')
-rw-r--r-- | media-libs/sratom/Manifest | 1 | ||||
-rw-r--r-- | media-libs/sratom/sratom-0.6.12.ebuild | 68 |
2 files changed, 69 insertions, 0 deletions
diff --git a/media-libs/sratom/Manifest b/media-libs/sratom/Manifest index d57e387a4fcd..78dc8f57b2ea 100644 --- a/media-libs/sratom/Manifest +++ b/media-libs/sratom/Manifest @@ -1 +1,2 @@ DIST sratom-0.6.10.tar.bz2 327047 BLAKE2B 6205a0269216099556556cd251649eba58fdf1a2c8a80611367f3b9564fe410ed7ff1c565ab7b628743fa99ca893eb7a86fed631872eff86e19de9ba534fae49 SHA512 cc5d2848d61de45a37d1f844b2c741016decf065bcac975214dd01108171ba332f0a51526f2f1078d5f501055af0a48716704515cbe7a9f73526fd878621ca4b +DIST sratom-0.6.12.tar.xz 23328 BLAKE2B 76a01c84e418ee3ffeb1e0e44214e9b02ab58b9b572372ee43309650a7a674a55e49384e8b62657af30933b7bdb02faf38ff100030e2ec86947972cacf32db69 SHA512 e677945f59494970c8c723319216cf6543ed38c590b6db94e5e928e830004e96dc957a2cf2fb0b76278cf55f0d62ea03ba705fbc449424c467e29593eaa948dc diff --git a/media-libs/sratom/sratom-0.6.12.ebuild b/media-libs/sratom/sratom-0.6.12.ebuild new file mode 100644 index 000000000000..b1197982968b --- /dev/null +++ b/media-libs/sratom/sratom-0.6.12.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) +PYTHON_REQ_USE='threads(+)' +inherit meson-multilib python-any-r1 + +DESCRIPTION="Library for serialising LV2 atoms to/from RDF, particularly the Turtle syntax" +HOMEPAGE="http://drobilla.net/software/sratom/" +SRC_URI="http://download.drobilla.net/${P}.tar.xz" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="doc test" +RESTRICT="!test? ( test )" + +BDEPEND=" + virtual/pkgconfig + doc? ( + app-doc/doxygen + dev-python/sphinx + dev-python/sphinx_lv2_theme +) +" +RDEPEND=" + dev-libs/serd + dev-libs/sord + media-libs/lv2 +" +DEPEND="${RDEPEND} + ${PYTHON_DEPS} +" + +src_prepare() { + default + + # fix doc installation path + sed -iE "s%install_dir: docdir / 'sratom-0',%install_dir: docdir / '${PF}',%g" doc/c/meson.build || die +} + +multilib_src_configure() { + local emesonargs=( + $(meson_native_use_feature doc docs) + $(meson_feature test tests) + ) + + meson_src_configure +} + +multilib_src_test() { + meson_src_test +} + +multilib_src_compile() { + meson_src_compile +} + +multilib_src_install() { + meson_src_install +} + +mutlilib_src_install_all() { + local DOCS=( NEWS README.md ) + einstalldocs +} |