Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/audacity/
Date: Wed, 21 Feb 2018 10:14:25
Message-Id: 1519208056.74fa47da0d2bcd5623b81f04ef479d78eb185b52.polynomial-c@gentoo
1 commit: 74fa47da0d2bcd5623b81f04ef479d78eb185b52
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 21 10:02:05 2018 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 21 10:14:16 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74fa47da
7
8 media-sound/audacity: Bump to version 2.2.2
9
10 Package-Manager: Portage-2.3.24, Repoman-2.3.6
11
12 media-sound/audacity/Manifest | 2 +
13 media-sound/audacity/audacity-2.2.2.ebuild | 116 +++++++++++++++++++++++++++++
14 2 files changed, 118 insertions(+)
15
16 diff --git a/media-sound/audacity/Manifest b/media-sound/audacity/Manifest
17 index 8dadee1cfdc..0c7212e7bca 100644
18 --- a/media-sound/audacity/Manifest
19 +++ b/media-sound/audacity/Manifest
20 @@ -1,4 +1,6 @@
21 DIST audacity-help-2.1.3.zip 20682229 BLAKE2B f3a7c5870c2fd10e5d1420c03ea608d39e9768989ac106b6b1554994646200fb58550bb07ba889002dc652e9c2ea5a16f2ee87daa1e66433fc6f322d24fbc564 SHA512 4666d414628aaf611f98001350bdbcb761dac19ce4cc1e59d1a29e5d74056b9bfe4492a356bcd6c44aac9a3aaa24e30acd7bb9647ca10395fa8d5f0839f893ec
22 +DIST audacity-manual-2.2.2.zip 13501474 BLAKE2B f0289f22dc4134b31f38d4acee3bda9f915829842030f8454cce1801377d177c32a7f35077673ce7db0a0f059a644d8146457e6a6377c5f6abc01c11da6a4f53 SHA512 a34ded796157d763fa024e0a235ecce7c67a68bcce86b487f8c022d45d8337fe550e40f56df4155a16293b974511d0bcf130cb086b3594bc0c42d9d0f84f1e86
23 DIST audacity-minsrc-2.1.3.tar.xz 8073388 BLAKE2B 4ab323ad9daa93c568d46d00cb3a7f2460a3b6022b990f1eb1759790cd343d5e61d6080c94a7cd00f25c72280f3a459c79049292fdca69be89644e539f04c119 SHA512 96e8bc49ef431b964d67857387cd9e5c1b398becfcaa452e26ef7617f267b7688617a5312d4a9873a24ee34986ea411148369e0ce138d86fea9b520e2c74a3ef
24 DIST audacity-minsrc-2.2.0.tar.xz 10191924 BLAKE2B e0f84978e351c9486302c3d07079932840e12c7c1b71ad7f45521cb513e18a468421326e7c595c9ea8f09370445dc9ab0cc07bbec1ad2e15ddad15cb1dccf605 SHA512 2b0cfbedce279faff4d26b8a8fc68730596891394a6cc7d9bce9d48f2e180d6ecdebfb87cdd381f1f92111a9d143d2ebd3906517206d888a2d922dc176a0f7ec
25 DIST audacity-minsrc-2.2.1.tar.xz 8111992 BLAKE2B 99b4a7602ed8e03714ff8c59c226ba98fb35344964d5033e541079f7f12a71f6c5264aa60613d02cdb6f254d5a542dc9380e6dfbfd870f2f3536c031c0cec54e SHA512 92c094e4903c438b0aac27b1fb6c9ccc9ca089e4d3123769ff23e434de1e6a519482b42588a54f56afdf5d2013e5681fce3d143f9e092731a9511d4bba31cfaa
26 +DIST audacity-minsrc-2.2.2.tar.xz 8210700 BLAKE2B b887cff6994f2d5315b5d22b47d460a6b7c7b7af4f212585740a7534dc1345a8b3cda701a8541fabeef1aedf30cd336466798b2da4ef62ed010152540ee02d26 SHA512 8e52b4456a3a328a9933961746722ab5c545d17f7c05f3ae4aa83ba5d4f8323590ffa070de9462163362032b372aa48bc61fc96459e5565eec29a146b7a0351c
27
28 diff --git a/media-sound/audacity/audacity-2.2.2.ebuild b/media-sound/audacity/audacity-2.2.2.ebuild
29 new file mode 100644
30 index 00000000000..da0be8df73c
31 --- /dev/null
32 +++ b/media-sound/audacity/audacity-2.2.2.ebuild
33 @@ -0,0 +1,116 @@
34 +# Copyright 1999-2018 Gentoo Foundation
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=5
38 +inherit eutils wxwidgets xdg-utils
39 +
40 +MY_P="${PN}-minsrc-${PV}"
41 +DOC_PV="${PV}"
42 +DESCRIPTION="Free crossplatform audio editor"
43 +HOMEPAGE="http://web.audacityteam.org/"
44 +SRC_URI="https://dev.gentoo.org/~polynomial-c/dist/${MY_P}.tar.xz
45 + doc? ( https://dev.gentoo.org/~polynomial-c/dist/${PN}-manual-${DOC_PV}.zip )"
46 + # wget doesn't seem to work on FossHub links, so we mirror
47 +
48 +LICENSE="GPL-2"
49 +SLOT="0"
50 +KEYWORDS="~amd64 ~mips ~ppc ~ppc64 ~x86"
51 +IUSE="alsa cpu_flags_x86_sse doc ffmpeg +flac id3tag jack +ladspa +lame libav
52 + +lv2 mad +midi nls +portmixer sbsms +soundtouch twolame vamp +vorbis +vst"
53 +RESTRICT="test"
54 +
55 +RDEPEND=">=app-arch/zip-2.3
56 + dev-libs/expat
57 + >=media-libs/libsndfile-1.0.0
58 + =media-libs/portaudio-19*
59 + media-libs/soxr
60 + x11-libs/wxGTK:3.0[X]
61 + alsa? ( media-libs/alsa-lib )
62 + ffmpeg? ( libav? ( media-video/libav:= )
63 + !libav? ( >=media-video/ffmpeg-1.2:= ) )
64 + flac? ( >=media-libs/flac-1.3.1[cxx] )
65 + id3tag? ( media-libs/libid3tag )
66 + jack? ( virtual/jack )
67 + lame? ( >=media-sound/lame-3.70 )
68 + lv2? ( media-libs/lv2 )
69 + mad? ( >=media-libs/libmad-0.14.2b )
70 + midi? ( media-libs/portmidi )
71 + sbsms? ( media-libs/libsbsms )
72 + soundtouch? ( >=media-libs/libsoundtouch-1.3.1 )
73 + twolame? ( media-sound/twolame )
74 + vamp? ( >=media-libs/vamp-plugin-sdk-2.0 )
75 + vorbis? ( >=media-libs/libvorbis-1.0 )"
76 +DEPEND="${RDEPEND}
77 + app-arch/xz-utils
78 + virtual/pkgconfig
79 + nls? ( sys-devel/gettext )"
80 +
81 +REQUIRED_USE="soundtouch? ( midi )"
82 +
83 +S="${WORKDIR}/${MY_P}-rc1"
84 +
85 +src_configure() {
86 + local WX_GTK_VER="3.0"
87 + need-wxwidgets unicode
88 +
89 + # * always use system libraries if possible
90 + # * options listed in the order that configure --help lists them
91 + local myeconfargs=(
92 + --disable-dynamic-loading
93 + --enable-nyquist
94 + --enable-unicode
95 + --with-expat=system
96 + --with-libsndfile=system
97 + --with-libsoxr=system
98 + --with-portaudio
99 + --with-widgetextra=local
100 + --with-wx-version=${WX_GTK_VER}
101 + $(use_enable cpu_flags_x86_sse sse)
102 + $(use_enable ladspa)
103 + $(use_enable nls)
104 + $(use_enable vst)
105 + #$(use_with alsa)
106 + $(use_with ffmpeg)
107 + $(use_with flac libflac)
108 + $(use_with id3tag libid3tag)
109 + #$(use_with jack)
110 + $(use_with lame)
111 + $(use_with lv2)
112 + $(use_with mad libmad)
113 + $(use_with midi)
114 + $(use_with sbsms)
115 + $(use_with soundtouch)
116 + $(use_with twolame libtwolame)
117 + $(use_with vamp libvamp)
118 + $(use_with vorbis libvorbis)
119 + $(use_with portmixer)
120 + )
121 + econf "${myeconfargs[@]}"
122 +}
123 +
124 +src_install() {
125 + emake DESTDIR="${D}" install
126 +
127 + # Remove bad doc install
128 + rm -r "${D%/}"/usr/share/doc || die
129 +
130 + # Install our docs
131 + dodoc README.txt
132 +
133 + if use doc ; then
134 + docinto html
135 + dodoc -r "${WORKDIR}"/help/manual/{m,man,manual}
136 + dodoc "${WORKDIR}"/help/manual/{favicon.ico,index.html,quick_help.html}
137 + dosym ../../doc/${PF}/html /usr/share/${PN}/help/manual
138 + fi
139 +}
140 +
141 +pkg_postinst() {
142 + xdg_desktop_database_update
143 + xdg_mimeinfo_database_update
144 +}
145 +
146 +pkg_postrm() {
147 + xdg_desktop_database_update
148 + xdg_mimeinfo_database_update
149 +}