1 |
commit: fa1a79145e195de8929d5442971facf7ba378b6a |
2 |
Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 31 07:15:02 2022 +0000 |
4 |
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 31 07:15:11 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa1a7914 |
7 |
|
8 |
dev-libs/sord: bump to 0.16.22 + updated live |
9 |
|
10 |
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org> |
11 |
|
12 |
dev-libs/sord/Manifest | 1 + |
13 |
dev-libs/sord/metadata.xml | 11 +++--- |
14 |
dev-libs/sord/sord-0.16.12.ebuild | 70 +++++++++++++++++++++++++++++++++++++++ |
15 |
dev-libs/sord/sord-9999.ebuild | 47 ++++++++++++++++---------- |
16 |
4 files changed, 107 insertions(+), 22 deletions(-) |
17 |
|
18 |
diff --git a/dev-libs/sord/Manifest b/dev-libs/sord/Manifest |
19 |
index 2cda57b7b30c..9a9d1561b400 100644 |
20 |
--- a/dev-libs/sord/Manifest |
21 |
+++ b/dev-libs/sord/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST sord-0.16.10.tar.bz2 524630 BLAKE2B 6737d3495846529e6e4d14cbb2ac47ce4e67d04298381a119ba0107144deb56a53de9aa363397c2e302535f998c7c3ad44d340f52f70ac341ad6b635db608cb6 SHA512 715201eaf4a13a3635337cf8fa7c1a1f229f1d589f70cdf8f67183d90df29cd8b4af180650ce9cd0c651c712d11901bfdc6b51f9b8d7c6e70d8d8f30b1861281 |
24 |
+DIST sord-0.16.12.tar.xz 111328 BLAKE2B 9b89848440a994145a934e66e6fe7b844e82e926cb48d05223faef9357d315db981cd68b1174d7c47e5d63b97f8e15d8cc6b2b992a6bd790b8b117ebbb6c059a SHA512 d63cc1473d12676dac3724a096c85fd47745e456cf4b191fd9f8aaf8bb9399510c6878948fd045cc1942356e61dbefd8d88374c1ef6b327057e0bb8bfa03f926 |
25 |
|
26 |
diff --git a/dev-libs/sord/metadata.xml b/dev-libs/sord/metadata.xml |
27 |
index 3fed8a8997c3..6edf5b9eef03 100644 |
28 |
--- a/dev-libs/sord/metadata.xml |
29 |
+++ b/dev-libs/sord/metadata.xml |
30 |
@@ -1,8 +1,11 @@ |
31 |
<?xml version="1.0" encoding="UTF-8"?> |
32 |
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> |
33 |
<pkgmetadata> |
34 |
-<maintainer type="project"> |
35 |
- <email>proaudio@g.o</email> |
36 |
- <name>Gentoo ProAudio Project</name> |
37 |
-</maintainer> |
38 |
+ <maintainer type="project"> |
39 |
+ <email>proaudio@g.o</email> |
40 |
+ <name>Gentoo ProAudio Project</name> |
41 |
+ </maintainer> |
42 |
+ <use> |
43 |
+ <flag name="tools">Build command line utilities</flag> |
44 |
+ </use> |
45 |
</pkgmetadata> |
46 |
|
47 |
diff --git a/dev-libs/sord/sord-0.16.12.ebuild b/dev-libs/sord/sord-0.16.12.ebuild |
48 |
new file mode 100644 |
49 |
index 000000000000..9d71ccd834fc |
50 |
--- /dev/null |
51 |
+++ b/dev-libs/sord/sord-0.16.12.ebuild |
52 |
@@ -0,0 +1,70 @@ |
53 |
+# Copyright 1999-2022 Gentoo Authors |
54 |
+# Distributed under the terms of the GNU General Public License v2 |
55 |
+ |
56 |
+EAPI=8 |
57 |
+ |
58 |
+PYTHON_COMPAT=( python3_{8..11} ) |
59 |
+PYTHON_REQ_USE='threads(+)' |
60 |
+inherit meson-multilib python-any-r1 |
61 |
+ |
62 |
+if [[ ${PV} == 9999 ]]; then |
63 |
+ inherit git-r3 |
64 |
+ EGIT_REPO_URI="https://github.com/drobilla/sord.git" |
65 |
+else |
66 |
+ SRC_URI="http://download.drobilla.net/${P}.tar.xz" |
67 |
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" |
68 |
+fi |
69 |
+ |
70 |
+DESCRIPTION="Library for storing RDF data in memory" |
71 |
+HOMEPAGE="http://drobilla.net/software/sord/" |
72 |
+ |
73 |
+LICENSE="ISC" |
74 |
+SLOT="0" |
75 |
+IUSE="doc test tools" |
76 |
+RESTRICT="!test? ( test )" |
77 |
+ |
78 |
+BDEPEND=" |
79 |
+ virtual/pkgconfig |
80 |
+ doc? ( app-doc/doxygen ) |
81 |
+" |
82 |
+RDEPEND=" |
83 |
+ dev-libs/libpcre |
84 |
+ dev-libs/serd |
85 |
+" |
86 |
+DEPEND="${RDEPEND} |
87 |
+ ${PYTHON_DEPS} |
88 |
+" |
89 |
+ |
90 |
+src_prepare() { |
91 |
+ default |
92 |
+ |
93 |
+ # fix doc installation path |
94 |
+ sed -i "s/versioned_name/'${PF}'/g" doc/meson.build || die |
95 |
+} |
96 |
+ |
97 |
+multilib_src_configure() { |
98 |
+ local emesonargs=( |
99 |
+ $(meson_native_use_feature doc docs) |
100 |
+ $(meson_feature test tests) |
101 |
+ $(meson_feature tools) |
102 |
+ ) |
103 |
+ |
104 |
+ meson_src_configure |
105 |
+} |
106 |
+ |
107 |
+multilib_src_test() { |
108 |
+ meson_src_test |
109 |
+} |
110 |
+ |
111 |
+multilib_src_compile() { |
112 |
+ meson_src_compile |
113 |
+} |
114 |
+ |
115 |
+multilib_src_install() { |
116 |
+ meson_src_install |
117 |
+} |
118 |
+ |
119 |
+mutlilib_src_install_all() { |
120 |
+ local DOCS=( AUTHORS NEWS README.md ) |
121 |
+ einstalldocs |
122 |
+} |
123 |
|
124 |
diff --git a/dev-libs/sord/sord-9999.ebuild b/dev-libs/sord/sord-9999.ebuild |
125 |
index fbe89d308563..9d71ccd834fc 100644 |
126 |
--- a/dev-libs/sord/sord-9999.ebuild |
127 |
+++ b/dev-libs/sord/sord-9999.ebuild |
128 |
@@ -1,20 +1,26 @@ |
129 |
# Copyright 1999-2022 Gentoo Authors |
130 |
# Distributed under the terms of the GNU General Public License v2 |
131 |
|
132 |
-EAPI=7 |
133 |
+EAPI=8 |
134 |
|
135 |
PYTHON_COMPAT=( python3_{8..11} ) |
136 |
PYTHON_REQ_USE='threads(+)' |
137 |
-inherit python-any-r1 waf-utils multilib-build multilib-minimal git-r3 |
138 |
+inherit meson-multilib python-any-r1 |
139 |
+ |
140 |
+if [[ ${PV} == 9999 ]]; then |
141 |
+ inherit git-r3 |
142 |
+ EGIT_REPO_URI="https://github.com/drobilla/sord.git" |
143 |
+else |
144 |
+ SRC_URI="http://download.drobilla.net/${P}.tar.xz" |
145 |
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" |
146 |
+fi |
147 |
|
148 |
DESCRIPTION="Library for storing RDF data in memory" |
149 |
HOMEPAGE="http://drobilla.net/software/sord/" |
150 |
-EGIT_REPO_URI="https://github.com/drobilla/sord.git" |
151 |
|
152 |
LICENSE="ISC" |
153 |
SLOT="0" |
154 |
-KEYWORDS="" |
155 |
-IUSE="doc static-libs test" |
156 |
+IUSE="doc test tools" |
157 |
RESTRICT="!test? ( test )" |
158 |
|
159 |
BDEPEND=" |
160 |
@@ -28,32 +34,37 @@ RDEPEND=" |
161 |
DEPEND="${RDEPEND} |
162 |
${PYTHON_DEPS} |
163 |
" |
164 |
-DOCS=( "AUTHORS" "NEWS" "README.md" ) |
165 |
|
166 |
src_prepare() { |
167 |
- sed -i -e 's/^.*run_ldconfig/#\0/' wscript || die |
168 |
default |
169 |
- multilib_copy_sources |
170 |
+ |
171 |
+ # fix doc installation path |
172 |
+ sed -i "s/versioned_name/'${PF}'/g" doc/meson.build || die |
173 |
} |
174 |
|
175 |
multilib_src_configure() { |
176 |
- waf-utils_src_configure \ |
177 |
- --docdir=/usr/share/doc/${PF} \ |
178 |
- $(multilib_native_usex doc --docs "") \ |
179 |
- $(usex test --test "") \ |
180 |
- $(usex static-libs --static "") |
181 |
+ local emesonargs=( |
182 |
+ $(meson_native_use_feature doc docs) |
183 |
+ $(meson_feature test tests) |
184 |
+ $(meson_feature tools) |
185 |
+ ) |
186 |
+ |
187 |
+ meson_src_configure |
188 |
} |
189 |
|
190 |
multilib_src_test() { |
191 |
- ./waf test || die |
192 |
+ meson_src_test |
193 |
} |
194 |
|
195 |
multilib_src_compile() { |
196 |
- waf-utils_src_compile |
197 |
- default |
198 |
+ meson_src_compile |
199 |
} |
200 |
|
201 |
multilib_src_install() { |
202 |
- waf-utils_src_install |
203 |
- default |
204 |
+ meson_src_install |
205 |
+} |
206 |
+ |
207 |
+mutlilib_src_install_all() { |
208 |
+ local DOCS=( AUTHORS NEWS README.md ) |
209 |
+ einstalldocs |
210 |
} |