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: Fri, 08 Jan 2021 12:05:17
Message-Id: 1610107474.7c373d449938a0bf563e45fb06ac9f0d6bb40406.fordfrog@gentoo
1 commit: 7c373d449938a0bf563e45fb06ac9f0d6bb40406
2 Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jan 8 11:58:15 2021 +0000
4 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 8 12:04:34 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c373d44
7
8 media-libs/sratom: bump to 0.6.8
9
10 Bug: https://bugs.gentoo.org/724668
11 Package-Manager: Portage-3.0.12, Repoman-3.0.2
12 Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
13
14 media-libs/sratom/Manifest | 1 +
15 media-libs/sratom/sratom-0.6.8.ebuild | 60 +++++++++++++++++++++++++++++++++++
16 2 files changed, 61 insertions(+)
17
18 diff --git a/media-libs/sratom/Manifest b/media-libs/sratom/Manifest
19 index caf807ff90b..b88bf5beb3d 100644
20 --- a/media-libs/sratom/Manifest
21 +++ b/media-libs/sratom/Manifest
22 @@ -1 +1,2 @@
23 DIST sratom-0.6.6.tar.bz2 347297 BLAKE2B 0cb1949486deb5e8f823b17c98fb415dc44b0cefece647b6c5b3646438736ee9c7afa617bb00a68d61a31c80f6e643758f48602f647655aa4b185b2cc5fff893 SHA512 ccc209af68a39c1a669ba694d250b292df2f588aeea2a9d1dfe54a23e31f032fcce1d99ebf9dd7cff80ce5aedd204c74e3ccc04d6cd239921cd3e443db83ed55
24 +DIST sratom-0.6.8.tar.bz2 327027 BLAKE2B 8e11e03e6a66e9c96f90a0f31f4a65c660ed44304600caa2daad09b955a4829b266f7495b8ed85c62c34adfbc3e7f97790096bd721b51e1038986ac2e3926e60 SHA512 49ec4b230a72005ab7a7a3de0bfa630a27a16f9f811ca8e7f6da7fcf6b34526577217075d428a993f95b813dd2a82a9b6892eeb2e36b66b122ada778fbb3fb95
25
26 diff --git a/media-libs/sratom/sratom-0.6.8.ebuild b/media-libs/sratom/sratom-0.6.8.ebuild
27 new file mode 100644
28 index 00000000000..b3294902ca6
29 --- /dev/null
30 +++ b/media-libs/sratom/sratom-0.6.8.ebuild
31 @@ -0,0 +1,60 @@
32 +# Copyright 1999-2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +PYTHON_COMPAT=( python3_{6,7,8,9} )
38 +PYTHON_REQ_USE='threads(+)'
39 +inherit python-any-r1 waf-utils multilib-build multilib-minimal
40 +
41 +DESCRIPTION="Library for serialising LV2 atoms to/from RDF, particularly the Turtle syntax"
42 +HOMEPAGE="http://drobilla.net/software/sratom/"
43 +SRC_URI="http://download.drobilla.net/${P}.tar.bz2"
44 +
45 +LICENSE="ISC"
46 +SLOT="0"
47 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
48 +IUSE="doc static-libs test"
49 +RESTRICT="!test? ( test )"
50 +
51 +BDEPEND="
52 + virtual/pkgconfig
53 + doc? ( app-doc/doxygen )
54 +"
55 +RDEPEND="
56 + dev-libs/serd
57 + dev-libs/sord
58 + media-libs/lv2
59 +"
60 +DEPEND="${RDEPEND}
61 + ${PYTHON_DEPS}
62 +"
63 +DOCS=( "NEWS" "README.md" )
64 +
65 +src_prepare() {
66 + sed -i -e 's/^.*run_ldconfig/#\0/' wscript || die
67 + default
68 + multilib_copy_sources
69 +}
70 +
71 +multilib_src_configure() {
72 + waf-utils_src_configure \
73 + --docdir=/usr/share/doc/${PF} \
74 + $(multilib_native_usex doc --docs "") \
75 + $(usex test --test "") \
76 + $(usex static-libs --static "")
77 +}
78 +
79 +multilib_src_test() {
80 + ./waf test || die
81 +}
82 +
83 +multilib_src_compile() {
84 + waf-utils_src_compile
85 + default
86 +}
87 +
88 +multilib_src_install() {
89 + waf-utils_src_install
90 + default
91 +}