summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2022-09-10 07:32:33 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2022-09-10 07:32:37 +0200
commitda413508dcae24ced3e47eb1b230cf8b4ea0eea1 (patch)
tree976d5a1f8263e7170a72821e44805b99dfb686bf /media-libs
parentdev-libs/foma: drop 0.9.18-r1 (diff)
downloadgentoo-da413508dcae24ced3e47eb1b230cf8b4ea0eea1.tar.gz
gentoo-da413508dcae24ced3e47eb1b230cf8b4ea0eea1.tar.bz2
gentoo-da413508dcae24ced3e47eb1b230cf8b4ea0eea1.zip
media-libs/sratom: bump to 0.6.14
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/sratom/Manifest1
-rw-r--r--media-libs/sratom/sratom-0.6.14.ebuild56
2 files changed, 57 insertions, 0 deletions
diff --git a/media-libs/sratom/Manifest b/media-libs/sratom/Manifest
index 78dc8f57b2ea..bd02511b14ab 100644
--- a/media-libs/sratom/Manifest
+++ b/media-libs/sratom/Manifest
@@ -1,2 +1,3 @@
DIST sratom-0.6.10.tar.bz2 327047 BLAKE2B 6205a0269216099556556cd251649eba58fdf1a2c8a80611367f3b9564fe410ed7ff1c565ab7b628743fa99ca893eb7a86fed631872eff86e19de9ba534fae49 SHA512 cc5d2848d61de45a37d1f844b2c741016decf065bcac975214dd01108171ba332f0a51526f2f1078d5f501055af0a48716704515cbe7a9f73526fd878621ca4b
DIST sratom-0.6.12.tar.xz 23328 BLAKE2B 76a01c84e418ee3ffeb1e0e44214e9b02ab58b9b572372ee43309650a7a674a55e49384e8b62657af30933b7bdb02faf38ff100030e2ec86947972cacf32db69 SHA512 e677945f59494970c8c723319216cf6543ed38c590b6db94e5e928e830004e96dc957a2cf2fb0b76278cf55f0d62ea03ba705fbc449424c467e29593eaa948dc
+DIST sratom-0.6.14.tar.xz 24252 BLAKE2B 6f468e9a0de97cf83a4f3faeb8ceff8a5502da7f0dff6b5721ef985df352057cda0dbbf13656471ef7f3103a891570e3462ed6bf4517dbc546d9f83115db433b SHA512 3647ccca3ac98299a0bcc30d540788c627445c9a55f0b68a53e08ee45b15138c7a5466c92d1c10eac614325718d4f59eff6f0664f99891e8349e613be675c87d
diff --git a/media-libs/sratom/sratom-0.6.14.ebuild b/media-libs/sratom/sratom-0.6.14.ebuild
new file mode 100644
index 000000000000..7a0ecfc1b275
--- /dev/null
+++ b/media-libs/sratom/sratom-0.6.14.ebuild
@@ -0,0 +1,56 @@
+# 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_install_all() {
+ local DOCS=( NEWS README.md )
+ einstalldocs
+}