1 |
commit: 796c79ae5c21967d86132a5913ff16d89b4c1399 |
2 |
Author: Andreas Schuerch <nativemad <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 28 14:11:33 2020 +0000 |
4 |
Commit: Andreas Schuerch <nativemad <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 28 14:13:40 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=796c79ae |
7 |
|
8 |
media-sound/ardour: version bump to 6.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
11 |
Signed-off-by: Andreas Schuerch <nativemad <AT> gentoo.org> |
12 |
|
13 |
media-sound/ardour/Manifest | 1 + |
14 |
.../{ardour-9999.ebuild => ardour-6.0.ebuild} | 27 ++++++++++++++-------- |
15 |
media-sound/ardour/ardour-9999.ebuild | 27 ++++++++++++++-------- |
16 |
media-sound/ardour/metadata.xml | 3 +++ |
17 |
4 files changed, 38 insertions(+), 20 deletions(-) |
18 |
|
19 |
diff --git a/media-sound/ardour/Manifest b/media-sound/ardour/Manifest |
20 |
index 2715b3fb7e1..bf2aa3d6bda 100644 |
21 |
--- a/media-sound/ardour/Manifest |
22 |
+++ b/media-sound/ardour/Manifest |
23 |
@@ -1 +1,2 @@ |
24 |
+DIST Ardour-6.0.0.tar.bz2 10999598 BLAKE2B d403a76bb95a7c8dc411b45b54d9b1afb64ab0ba104c283c6890ec5bb152c9f67b825222460bb7b29a28724e7581023e5d3c7ce3b7ff9c88f3d584fab8cb03f7 SHA512 42cd5ea69200aefc60fc93ca7347f08fc511a9821a03023c4362d626f0957570ba0a7b174af67016f7fa27a29eed3c932d502e090d780125c63b5690faa642a3 |
25 |
DIST ardour-5.12.tar.bz2 8852834 BLAKE2B 0409d920ab0abc9e52a40cc343c5481d53292bea6e5c89c58328f95c53f7f09f30ce421f2ed0da0e3fdb4eaeeb5a25da0d07ed1d4c382b5b607f3b89324eca1b SHA512 c4b4332bddb2406924119c181622801725f4a7dd7741c1a66ddbc2236542764b786337da2f0a751f3bbe6e0389b5da765eb19b14a6a90c8f8a7fd68231e5067d |
26 |
|
27 |
diff --git a/media-sound/ardour/ardour-9999.ebuild b/media-sound/ardour/ardour-6.0.ebuild |
28 |
similarity index 80% |
29 |
copy from media-sound/ardour/ardour-9999.ebuild |
30 |
copy to media-sound/ardour/ardour-6.0.ebuild |
31 |
index 36ca3e79777..304e08fcb60 100644 |
32 |
--- a/media-sound/ardour/ardour-9999.ebuild |
33 |
+++ b/media-sound/ardour/ardour-6.0.ebuild |
34 |
@@ -5,7 +5,8 @@ EAPI=6 |
35 |
PYTHON_COMPAT=( python2_7 ) |
36 |
PYTHON_REQ_USE='threads(+)' |
37 |
#EPYTHON='python2.7' |
38 |
-inherit eutils toolchain-funcs flag-o-matic python-any-r1 waf-utils |
39 |
+PLOCALES="cs de el en_GB es eu fr it ja nn pl pt pt_PT ru sv zh" |
40 |
+inherit eutils toolchain-funcs flag-o-matic l10n python-any-r1 waf-utils |
41 |
|
42 |
DESCRIPTION="Digital Audio Workstation" |
43 |
HOMEPAGE="http://ardour.org/" |
44 |
@@ -15,13 +16,13 @@ if [[ ${PV} == *9999* ]]; then |
45 |
inherit git-r3 |
46 |
else |
47 |
KEYWORDS="~amd64 ~x86" |
48 |
- SRC_URI="mirror://gentoo/${P}.tar.bz2" |
49 |
+ SRC_URI="https://community.ardour.org/src/Ardour-${PV}.0.tar.bz2" |
50 |
S="${WORKDIR}/Ardour-${PV}.0" |
51 |
fi |
52 |
|
53 |
LICENSE="GPL-2" |
54 |
SLOT="6" |
55 |
-IUSE="altivec doc jack cpu_flags_x86_sse cpu_flags_x86_mmx cpu_flags_x86_3dnow" |
56 |
+IUSE="altivec doc jack nls phonehome cpu_flags_x86_sse cpu_flags_x86_mmx cpu_flags_x86_3dnow" |
57 |
|
58 |
RDEPEND=" |
59 |
>=dev-cpp/glibmm-2.32.0 |
60 |
@@ -60,6 +61,7 @@ RDEPEND=" |
61 |
dev-libs/sord |
62 |
>=media-libs/suil-0.6.10 |
63 |
>=media-libs/lv2-1.4.0" |
64 |
+# !bundled-libs? ( media-sound/fluidsynth ) at leat libltc is missing to be able to unbundle... |
65 |
|
66 |
DEPEND="${RDEPEND} |
67 |
${PYTHON_DEPS} |
68 |
@@ -77,10 +79,6 @@ pkg_setup() { |
69 |
|
70 |
src_prepare() { |
71 |
eapply_user |
72 |
- if ! [[ ${PV} == *9999* ]]; then |
73 |
- eapply "${FILESDIR}"/${PN}-4.x-revision-naming.patch |
74 |
- touch "${S}/libs/ardour/revision.cc" |
75 |
- fi |
76 |
sed 's/'full-optimization\'\ :\ \\[.*'/'full-optimization\'\ :\ \'\','/' -i "${S}"/wscript || die |
77 |
MARCH=$(get-flag march) |
78 |
OPTFLAGS="" |
79 |
@@ -106,6 +104,10 @@ src_prepare() { |
80 |
append-flags "-lboost_system" |
81 |
python_fix_shebang "${S}"/wscript |
82 |
python_fix_shebang "${S}"/waf |
83 |
+ my_lcmsg() { |
84 |
+ rm -f {gtk2_ardour,gtk2_ardour/appdata,libs/ardour,libs/gtkmm2ext}/po/${1}.po |
85 |
+ } |
86 |
+ l10n_for_each_disabled_locale_do my_lcmsg |
87 |
} |
88 |
|
89 |
src_configure() { |
90 |
@@ -115,13 +117,18 @@ src_configure() { |
91 |
$(usex doc "--docs" '') \ |
92 |
$({ use altivec || use cpu_flags_x86_sse; } && echo "--fpu-optimization" || echo "--no-fpu-optimization") \ |
93 |
$(usex jack "--with-backends=alsa,jack" "--with-backends=alsa --libjack=weak") \ |
94 |
- --destdir="${D}" \ |
95 |
+ $( use phonehome && echo "--phone-home" ) || echo "--no-phone-home" \ |
96 |
+ $( use nls && echo "--nls" ) || echo --no-nls \ |
97 |
+ --destdir="${D}" \ |
98 |
--prefix=/usr \ |
99 |
--configdir=/etc \ |
100 |
- --nls \ |
101 |
--optimize |
102 |
+#not possible right now --use-external-libs |
103 |
+} |
104 |
+src_compile() { |
105 |
+ waf-utils_src_compile |
106 |
+ use nls && waf-utils_src_compile i18n |
107 |
} |
108 |
- |
109 |
src_install() { |
110 |
waf-utils_src_install |
111 |
mv ${PN}.1 ${PN}${SLOT}.1 |
112 |
|
113 |
diff --git a/media-sound/ardour/ardour-9999.ebuild b/media-sound/ardour/ardour-9999.ebuild |
114 |
index 36ca3e79777..304e08fcb60 100644 |
115 |
--- a/media-sound/ardour/ardour-9999.ebuild |
116 |
+++ b/media-sound/ardour/ardour-9999.ebuild |
117 |
@@ -5,7 +5,8 @@ EAPI=6 |
118 |
PYTHON_COMPAT=( python2_7 ) |
119 |
PYTHON_REQ_USE='threads(+)' |
120 |
#EPYTHON='python2.7' |
121 |
-inherit eutils toolchain-funcs flag-o-matic python-any-r1 waf-utils |
122 |
+PLOCALES="cs de el en_GB es eu fr it ja nn pl pt pt_PT ru sv zh" |
123 |
+inherit eutils toolchain-funcs flag-o-matic l10n python-any-r1 waf-utils |
124 |
|
125 |
DESCRIPTION="Digital Audio Workstation" |
126 |
HOMEPAGE="http://ardour.org/" |
127 |
@@ -15,13 +16,13 @@ if [[ ${PV} == *9999* ]]; then |
128 |
inherit git-r3 |
129 |
else |
130 |
KEYWORDS="~amd64 ~x86" |
131 |
- SRC_URI="mirror://gentoo/${P}.tar.bz2" |
132 |
+ SRC_URI="https://community.ardour.org/src/Ardour-${PV}.0.tar.bz2" |
133 |
S="${WORKDIR}/Ardour-${PV}.0" |
134 |
fi |
135 |
|
136 |
LICENSE="GPL-2" |
137 |
SLOT="6" |
138 |
-IUSE="altivec doc jack cpu_flags_x86_sse cpu_flags_x86_mmx cpu_flags_x86_3dnow" |
139 |
+IUSE="altivec doc jack nls phonehome cpu_flags_x86_sse cpu_flags_x86_mmx cpu_flags_x86_3dnow" |
140 |
|
141 |
RDEPEND=" |
142 |
>=dev-cpp/glibmm-2.32.0 |
143 |
@@ -60,6 +61,7 @@ RDEPEND=" |
144 |
dev-libs/sord |
145 |
>=media-libs/suil-0.6.10 |
146 |
>=media-libs/lv2-1.4.0" |
147 |
+# !bundled-libs? ( media-sound/fluidsynth ) at leat libltc is missing to be able to unbundle... |
148 |
|
149 |
DEPEND="${RDEPEND} |
150 |
${PYTHON_DEPS} |
151 |
@@ -77,10 +79,6 @@ pkg_setup() { |
152 |
|
153 |
src_prepare() { |
154 |
eapply_user |
155 |
- if ! [[ ${PV} == *9999* ]]; then |
156 |
- eapply "${FILESDIR}"/${PN}-4.x-revision-naming.patch |
157 |
- touch "${S}/libs/ardour/revision.cc" |
158 |
- fi |
159 |
sed 's/'full-optimization\'\ :\ \\[.*'/'full-optimization\'\ :\ \'\','/' -i "${S}"/wscript || die |
160 |
MARCH=$(get-flag march) |
161 |
OPTFLAGS="" |
162 |
@@ -106,6 +104,10 @@ src_prepare() { |
163 |
append-flags "-lboost_system" |
164 |
python_fix_shebang "${S}"/wscript |
165 |
python_fix_shebang "${S}"/waf |
166 |
+ my_lcmsg() { |
167 |
+ rm -f {gtk2_ardour,gtk2_ardour/appdata,libs/ardour,libs/gtkmm2ext}/po/${1}.po |
168 |
+ } |
169 |
+ l10n_for_each_disabled_locale_do my_lcmsg |
170 |
} |
171 |
|
172 |
src_configure() { |
173 |
@@ -115,13 +117,18 @@ src_configure() { |
174 |
$(usex doc "--docs" '') \ |
175 |
$({ use altivec || use cpu_flags_x86_sse; } && echo "--fpu-optimization" || echo "--no-fpu-optimization") \ |
176 |
$(usex jack "--with-backends=alsa,jack" "--with-backends=alsa --libjack=weak") \ |
177 |
- --destdir="${D}" \ |
178 |
+ $( use phonehome && echo "--phone-home" ) || echo "--no-phone-home" \ |
179 |
+ $( use nls && echo "--nls" ) || echo --no-nls \ |
180 |
+ --destdir="${D}" \ |
181 |
--prefix=/usr \ |
182 |
--configdir=/etc \ |
183 |
- --nls \ |
184 |
--optimize |
185 |
+#not possible right now --use-external-libs |
186 |
+} |
187 |
+src_compile() { |
188 |
+ waf-utils_src_compile |
189 |
+ use nls && waf-utils_src_compile i18n |
190 |
} |
191 |
- |
192 |
src_install() { |
193 |
waf-utils_src_install |
194 |
mv ${PN}.1 ${PN}${SLOT}.1 |
195 |
|
196 |
diff --git a/media-sound/ardour/metadata.xml b/media-sound/ardour/metadata.xml |
197 |
index 20dec2c8d4e..1f9044f06be 100644 |
198 |
--- a/media-sound/ardour/metadata.xml |
199 |
+++ b/media-sound/ardour/metadata.xml |
200 |
@@ -8,4 +8,7 @@ |
201 |
<upstream> |
202 |
<remote-id type="github">Ardour/ardour</remote-id> |
203 |
</upstream> |
204 |
+ <use> |
205 |
+ <flag name="phonehome">contact ardour.org at startup for new announcements</flag> |
206 |
+ </use> |
207 |
</pkgmetadata> |