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: Sun, 31 Jul 2022 07:26:42
Message-Id: 1659252389.a8cd984486242a6c9078e5a744688e7dc8e2c1e4.fordfrog@gentoo
1 commit: a8cd984486242a6c9078e5a744688e7dc8e2c1e4
2 Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jul 31 07:26:29 2022 +0000
4 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
5 CommitDate: Sun Jul 31 07:26:29 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8cd9844
7
8 media-libs/sratom: bump to 0.6.12
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.12.ebuild | 68 ++++++++++++++++++++++++++++++++++
14 2 files changed, 69 insertions(+)
15
16 diff --git a/media-libs/sratom/Manifest b/media-libs/sratom/Manifest
17 index d57e387a4fcd..78dc8f57b2ea 100644
18 --- a/media-libs/sratom/Manifest
19 +++ b/media-libs/sratom/Manifest
20 @@ -1 +1,2 @@
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
24 diff --git a/media-libs/sratom/sratom-0.6.12.ebuild b/media-libs/sratom/sratom-0.6.12.ebuild
25 new file mode 100644
26 index 000000000000..b1197982968b
27 --- /dev/null
28 +++ b/media-libs/sratom/sratom-0.6.12.ebuild
29 @@ -0,0 +1,68 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +PYTHON_COMPAT=( python3_{8..11} )
36 +PYTHON_REQ_USE='threads(+)'
37 +inherit meson-multilib python-any-r1
38 +
39 +DESCRIPTION="Library for serialising LV2 atoms to/from RDF, particularly the Turtle syntax"
40 +HOMEPAGE="http://drobilla.net/software/sratom/"
41 +SRC_URI="http://download.drobilla.net/${P}.tar.xz"
42 +
43 +LICENSE="ISC"
44 +SLOT="0"
45 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
46 +IUSE="doc test"
47 +RESTRICT="!test? ( test )"
48 +
49 +BDEPEND="
50 + virtual/pkgconfig
51 + doc? (
52 + app-doc/doxygen
53 + dev-python/sphinx
54 + dev-python/sphinx_lv2_theme
55 +)
56 +"
57 +RDEPEND="
58 + dev-libs/serd
59 + dev-libs/sord
60 + media-libs/lv2
61 +"
62 +DEPEND="${RDEPEND}
63 + ${PYTHON_DEPS}
64 +"
65 +
66 +src_prepare() {
67 + default
68 +
69 + # fix doc installation path
70 + sed -iE "s%install_dir: docdir / 'sratom-0',%install_dir: docdir / '${PF}',%g" doc/c/meson.build || die
71 +}
72 +
73 +multilib_src_configure() {
74 + local emesonargs=(
75 + $(meson_native_use_feature doc docs)
76 + $(meson_feature test tests)
77 + )
78 +
79 + meson_src_configure
80 +}
81 +
82 +multilib_src_test() {
83 + meson_src_test
84 +}
85 +
86 +multilib_src_compile() {
87 + meson_src_compile
88 +}
89 +
90 +multilib_src_install() {
91 + meson_src_install
92 +}
93 +
94 +mutlilib_src_install_all() {
95 + local DOCS=( NEWS README.md )
96 + einstalldocs
97 +}