1 |
commit: 0d7ff8a108279605ffddabcaf7b6bd2996f86b83 |
2 |
Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jun 30 06:44:45 2021 +0000 |
4 |
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 30 06:44:45 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d7ff8a1 |
7 |
|
8 |
media-sound/ardour: removed obsolete 6.6-r1 |
9 |
|
10 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
11 |
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org> |
12 |
|
13 |
media-sound/ardour/Manifest | 2 - |
14 |
media-sound/ardour/ardour-6.6-r1.ebuild | 183 -------------------------------- |
15 |
2 files changed, 185 deletions(-) |
16 |
|
17 |
diff --git a/media-sound/ardour/Manifest b/media-sound/ardour/Manifest |
18 |
index a7955a638ed..20798aa982a 100644 |
19 |
--- a/media-sound/ardour/Manifest |
20 |
+++ b/media-sound/ardour/Manifest |
21 |
@@ -1,3 +1 @@ |
22 |
-DIST Ardour-6.6.0.tar.bz2 12046173 BLAKE2B d3a61ebe97fc26d89eee3f7a43c1ac47f5fda28251b76dcd635bba8c794541436a48fa288f40d1e156f01841e085588b60c8fa962b958c2f4bc6d7cdb4b1af75 SHA512 e175100bc03921865c5b387de68e30c21dd3e65dbf3868783092d165d5106a883aa4fca74e71b2e267e50b3c2f5c7b707a73967bbc93e66808d25aa3065b425f |
23 |
DIST Ardour-6.7.0.tar.bz2 12135868 BLAKE2B 3b217340187e16d3da9302e3505c499c3bba8da7e3be82ff12e8aa99e1c934d42e71c62ae357d7a1265e668293c933a2192ae2f6d6b97f21a2f7c379caf5e9be SHA512 73cf6fff40c838c42c3b29842e15d2e2b991f1e92d57ef0a8e68ef75b39ec8075906ac3ded322b521f2c5fd9fa9d1b7f9c7770b4cc6deee9efe1796889aeffe2 |
24 |
-DIST ardour-6.6-volatile-atomic-glib-2.68.patch.gz 22322 BLAKE2B cd113f721d0c6c63c85372873cd43782e3a43b8963c4f9222e771039c4b397585582ffd4cb77d4928bcdc656ef533e4a4b40799ff0c32355985c592589766466 SHA512 3fa2ede8b943881b9c77b233892f146e354c4722265f6599417d55fdf69961d65f6d54ed2c74f53f1f835d006ee99e44adcb03ee117ba44a7be3bedbae2c8efc |
25 |
|
26 |
diff --git a/media-sound/ardour/ardour-6.6-r1.ebuild b/media-sound/ardour/ardour-6.6-r1.ebuild |
27 |
deleted file mode 100644 |
28 |
index fd67dc62545..00000000000 |
29 |
--- a/media-sound/ardour/ardour-6.6-r1.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,183 +0,0 @@ |
32 |
-# Copyright 1999-2021 Gentoo Authors |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
- |
35 |
-EAPI=7 |
36 |
-PYTHON_COMPAT=( python3_{7,8,9} ) |
37 |
-PYTHON_REQ_USE='threads(+)' |
38 |
-PLOCALES="cs de el en_GB es eu fr it ja nn pl pt pt_PT ru sv zh" |
39 |
-inherit eutils toolchain-funcs flag-o-matic l10n python-any-r1 waf-utils desktop xdg |
40 |
- |
41 |
-DESCRIPTION="Digital Audio Workstation" |
42 |
-HOMEPAGE="https://ardour.org/" |
43 |
- |
44 |
-if [[ ${PV} == *9999* ]]; then |
45 |
- EGIT_REPO_URI="https://git.ardour.org/ardour/ardour.git" |
46 |
- inherit git-r3 |
47 |
-else |
48 |
- KEYWORDS="amd64 x86" |
49 |
- SRC_URI="https://dev.gentoo.org/~fordfrog/distfiles/Ardour-${PV}.0.tar.bz2" |
50 |
- SRC_URI+=" https://dev.gentoo.org/~mattst88/distfiles/${P}-volatile-atomic-glib-2.68.patch.gz" |
51 |
- S="${WORKDIR}/Ardour-${PV}.0" |
52 |
-fi |
53 |
- |
54 |
-LICENSE="GPL-2" |
55 |
-SLOT="6" |
56 |
-IUSE="altivec doc jack nls phonehome pulseaudio cpu_flags_x86_sse cpu_flags_x86_mmx cpu_flags_x86_3dnow" |
57 |
- |
58 |
-RDEPEND=" |
59 |
- dev-cpp/glibmm:2 |
60 |
- dev-cpp/gtkmm:2.4 |
61 |
- dev-cpp/libgnomecanvasmm:2.6 |
62 |
- dev-libs/boost:= |
63 |
- dev-libs/glib:2 |
64 |
- dev-libs/libsigc++:2 |
65 |
- dev-libs/libxml2:2 |
66 |
- dev-libs/libxslt |
67 |
- >=gnome-base/libgnomecanvas-2 |
68 |
- media-libs/alsa-lib |
69 |
- media-libs/aubio |
70 |
- media-libs/flac |
71 |
- media-libs/freetype:2 |
72 |
- media-libs/libart_lgpl |
73 |
- media-libs/liblo |
74 |
- media-libs/liblrdf |
75 |
- media-libs/libsamplerate |
76 |
- media-libs/libsndfile |
77 |
- media-libs/libsoundtouch |
78 |
- media-libs/raptor:2 |
79 |
- media-libs/rubberband |
80 |
- media-libs/taglib |
81 |
- media-libs/vamp-plugin-sdk |
82 |
- net-misc/curl |
83 |
- sys-libs/readline:0= |
84 |
- sci-libs/fftw:3.0[threads] |
85 |
- virtual/libusb:1 |
86 |
- x11-libs/cairo |
87 |
- x11-libs/gtk+:2 |
88 |
- x11-libs/pango |
89 |
- jack? ( virtual/jack ) |
90 |
- pulseaudio? ( media-sound/pulseaudio ) |
91 |
- media-libs/lilv |
92 |
- media-libs/sratom |
93 |
- dev-libs/sord |
94 |
- media-libs/suil |
95 |
- media-libs/lv2" |
96 |
-# !bundled-libs? ( media-sound/fluidsynth ) at least libltc is missing to be able to unbundle... |
97 |
- |
98 |
-DEPEND="${RDEPEND} |
99 |
- ${PYTHON_DEPS} |
100 |
- dev-util/itstool |
101 |
- sys-devel/gettext |
102 |
- virtual/pkgconfig |
103 |
- doc? ( app-doc/doxygen[dot] ) |
104 |
- jack? ( virtual/jack )" |
105 |
- |
106 |
-pkg_pretend() { |
107 |
- [[ $(tc-getLD) == *gold* ]] && (has_version sci-libs/fftw[openmp] || has_version sci-libs/fftw[threads]) && \ |
108 |
- ewarn "Linking with gold linker might produce broken executable, see bug #733972" |
109 |
-} |
110 |
- |
111 |
-pkg_setup() { |
112 |
- if has_version \>=dev-libs/libsigc++-2.6 ; then |
113 |
- append-cxxflags -std=c++11 |
114 |
- fi |
115 |
- python-any-r1_pkg_setup |
116 |
-} |
117 |
- |
118 |
-src_prepare() { |
119 |
- default |
120 |
- xdg_src_prepare |
121 |
- |
122 |
- eapply "${WORKDIR}/${P}-volatile-atomic-glib-2.68.patch" |
123 |
- |
124 |
- sed 's/'full-optimization\'\ :\ \\[.*'/'full-optimization\'\ :\ \'\','/' -i "${S}"/wscript || die |
125 |
- MARCH=$(get-flag march) |
126 |
- OPTFLAGS="" |
127 |
- if use cpu_flags_x86_sse; then |
128 |
- if [[ ${MARCH} == "i686" ]] || [[ ${MARCH} == "i486" ]]; then |
129 |
- elog "You enabled sse but use an march that does not support sse!" |
130 |
- elog "We add -msse to the flags now, but please consider switching your march in make.conf!" |
131 |
- fi |
132 |
- OPTFLAGS="sse" |
133 |
- fi |
134 |
- if use cpu_flags_x86_mmx; then |
135 |
- if [[ ${MARCH} == "i486" ]]; then |
136 |
- elog "You enabled mmx with i486 set as march! You have been warned!" |
137 |
- fi |
138 |
- OPTFLAGS="${OPTFLAGS} mmx" |
139 |
- fi |
140 |
- if use cpu_flags_x86_3dnow; then |
141 |
- OPTFLAGS="${OPTFLAGS} 3dnow" |
142 |
- fi |
143 |
- sed 's/flag_line\ =\ o.*/flag_line\ =\ \": '"${OPTFLAGS}"' just some place holders\"/' \ |
144 |
- -i "${S}"/wscript || die |
145 |
- sed 's/cpu\ ==\ .*/cpu\ ==\ "LeaveMarchAsIs":/' -i "${S}"/wscript || die |
146 |
- append-flags "-lboost_system" |
147 |
- python_fix_shebang "${S}"/wscript |
148 |
- python_fix_shebang "${S}"/waf |
149 |
- my_lcmsg() { |
150 |
- rm -f {gtk2_ardour,gtk2_ardour/appdata,libs/ardour,libs/gtkmm2ext}/po/${1}.po |
151 |
- } |
152 |
- l10n_for_each_disabled_locale_do my_lcmsg |
153 |
-} |
154 |
- |
155 |
-src_configure() { |
156 |
- local backends="alsa,dummy" |
157 |
- use jack && backends+=",jack" |
158 |
- use pulseaudio && backends+=",pulseaudio" |
159 |
- |
160 |
- tc-export CC CXX |
161 |
- mkdir -p "${D}" |
162 |
- local myconf=( |
163 |
- --configdir=/etc |
164 |
- --freedesktop |
165 |
- --noconfirm |
166 |
- --optimize |
167 |
- --with-backends=${backends} |
168 |
- $({ use altivec || use cpu_flags_x86_sse; } && echo "--fpu-optimization" || echo "--no-fpu-optimization") |
169 |
- $(usex doc "--docs" '') |
170 |
- $(usex nls "--nls" "--no-nls") |
171 |
- $(usex phonehome "--phone-home" "--no-phone-home") |
172 |
- # not possible right now --use-external-libs |
173 |
- ) |
174 |
- |
175 |
- waf-utils_src_configure "${myconf[@]}" |
176 |
-} |
177 |
- |
178 |
-src_compile() { |
179 |
- waf-utils_src_compile |
180 |
- use nls && waf-utils_src_compile i18n |
181 |
-} |
182 |
- |
183 |
-src_install() { |
184 |
- local s |
185 |
- |
186 |
- waf-utils_src_install |
187 |
- |
188 |
- mv ${PN}.1 ${PN}${SLOT}.1 || die |
189 |
- doman ${PN}${SLOT}.1 |
190 |
- |
191 |
- for s in 16 22 32 48 256 512; do |
192 |
- newicon -s ${s} gtk2_ardour/resources/Ardour-icon_${s}px.png ardour${SLOT}.png |
193 |
- done |
194 |
- |
195 |
- sed -i \ |
196 |
- -e "s/\(^Name=\).*/\1Ardour ${SLOT}/" \ |
197 |
- -e 's/;AudioEditing;/;X-AudioEditing;/' \ |
198 |
- build/gtk2_ardour/ardour${SLOT}.desktop || die |
199 |
- domenu build/gtk2_ardour/ardour${SLOT}.desktop |
200 |
- |
201 |
- insinto /usr/share/mime/packages |
202 |
- newins build/gtk2_ardour/ardour.xml ardour${SLOT}.xml |
203 |
- |
204 |
- insinto /usr/share/metainfo |
205 |
- doins build/gtk2_ardour/ardour${SLOT}.appdata.xml |
206 |
-} |
207 |
- |
208 |
-pkg_postinst() { |
209 |
- xdg_pkg_postinst |
210 |
- |
211 |
- elog "Please do _not_ report problems with the package to ${PN} upstream." |
212 |
- elog "If you think you've found a bug, check the upstream binary package" |
213 |
- elog "before you report anything to upstream." |
214 |
-} |