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