Gentoo Archives: gentoo-commits

From: "Miroslav Šulc" <fordfrog@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/sratom/
Date: Sat, 10 Sep 2022 05:32:42
Message-Id: 1662787957.da413508dcae24ced3e47eb1b230cf8b4ea0eea1.fordfrog@gentoo
1 commit: da413508dcae24ced3e47eb1b230cf8b4ea0eea1
2 Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 10 05:32:33 2022 +0000
4 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 10 05:32:37 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da413508
7
8 media-libs/sratom: bump to 0.6.14
9
10 Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
11
12 media-libs/sratom/Manifest | 1 +
13 media-libs/sratom/sratom-0.6.14.ebuild | 56 ++++++++++++++++++++++++++++++++++
14 2 files changed, 57 insertions(+)
15
16 diff --git a/media-libs/sratom/Manifest b/media-libs/sratom/Manifest
17 index 78dc8f57b2ea..bd02511b14ab 100644
18 --- a/media-libs/sratom/Manifest
19 +++ b/media-libs/sratom/Manifest
20 @@ -1,2 +1,3 @@
21 DIST sratom-0.6.10.tar.bz2 327047 BLAKE2B 6205a0269216099556556cd251649eba58fdf1a2c8a80611367f3b9564fe410ed7ff1c565ab7b628743fa99ca893eb7a86fed631872eff86e19de9ba534fae49 SHA512 cc5d2848d61de45a37d1f844b2c741016decf065bcac975214dd01108171ba332f0a51526f2f1078d5f501055af0a48716704515cbe7a9f73526fd878621ca4b
22 DIST sratom-0.6.12.tar.xz 23328 BLAKE2B 76a01c84e418ee3ffeb1e0e44214e9b02ab58b9b572372ee43309650a7a674a55e49384e8b62657af30933b7bdb02faf38ff100030e2ec86947972cacf32db69 SHA512 e677945f59494970c8c723319216cf6543ed38c590b6db94e5e928e830004e96dc957a2cf2fb0b76278cf55f0d62ea03ba705fbc449424c467e29593eaa948dc
23 +DIST sratom-0.6.14.tar.xz 24252 BLAKE2B 6f468e9a0de97cf83a4f3faeb8ceff8a5502da7f0dff6b5721ef985df352057cda0dbbf13656471ef7f3103a891570e3462ed6bf4517dbc546d9f83115db433b SHA512 3647ccca3ac98299a0bcc30d540788c627445c9a55f0b68a53e08ee45b15138c7a5466c92d1c10eac614325718d4f59eff6f0664f99891e8349e613be675c87d
24
25 diff --git a/media-libs/sratom/sratom-0.6.14.ebuild b/media-libs/sratom/sratom-0.6.14.ebuild
26 new file mode 100644
27 index 000000000000..7a0ecfc1b275
28 --- /dev/null
29 +++ b/media-libs/sratom/sratom-0.6.14.ebuild
30 @@ -0,0 +1,56 @@
31 +# Copyright 1999-2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +PYTHON_COMPAT=( python3_{8..11} )
37 +PYTHON_REQ_USE='threads(+)'
38 +inherit meson-multilib python-any-r1
39 +
40 +DESCRIPTION="Library for serialising LV2 atoms to/from RDF, particularly the Turtle syntax"
41 +HOMEPAGE="http://drobilla.net/software/sratom/"
42 +SRC_URI="http://download.drobilla.net/${P}.tar.xz"
43 +
44 +LICENSE="ISC"
45 +SLOT="0"
46 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
47 +IUSE="doc test"
48 +RESTRICT="!test? ( test )"
49 +
50 +BDEPEND="
51 + virtual/pkgconfig
52 + doc? (
53 + app-doc/doxygen
54 + dev-python/sphinx
55 + dev-python/sphinx_lv2_theme
56 +)
57 +"
58 +RDEPEND="
59 + dev-libs/serd
60 + dev-libs/sord
61 + media-libs/lv2
62 +"
63 +DEPEND="${RDEPEND}
64 + ${PYTHON_DEPS}
65 +"
66 +
67 +src_prepare() {
68 + default
69 +
70 + # fix doc installation path
71 + sed -iE "s%install_dir: docdir / 'sratom-0',%install_dir: docdir / '${PF}',%g" doc/c/meson.build || die
72 +}
73 +
74 +multilib_src_configure() {
75 + local emesonargs=(
76 + $(meson_native_use_feature doc docs)
77 + $(meson_feature test tests)
78 + )
79 +
80 + meson_src_configure
81 +}
82 +
83 +multilib_src_install_all() {
84 + local DOCS=( NEWS README.md )
85 + einstalldocs
86 +}