1 |
commit: 55931a04b401d9aacecabd6d682b283ed70b3af2 |
2 |
Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 22 12:18:47 2021 +0000 |
4 |
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 22 12:19:05 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55931a04 |
7 |
|
8 |
media-sound/fluidsynth: removed obsolete and vulnerable 2.1.5 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/782700 |
11 |
Package-Manager: Portage-3.0.18, Repoman-3.0.3 |
12 |
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org> |
13 |
|
14 |
media-sound/fluidsynth/Manifest | 1 - |
15 |
media-sound/fluidsynth/fluidsynth-2.1.5.ebuild | 115 ------------------------- |
16 |
2 files changed, 116 deletions(-) |
17 |
|
18 |
diff --git a/media-sound/fluidsynth/Manifest b/media-sound/fluidsynth/Manifest |
19 |
index 7078a93ad75..c387c7d66f6 100644 |
20 |
--- a/media-sound/fluidsynth/Manifest |
21 |
+++ b/media-sound/fluidsynth/Manifest |
22 |
@@ -1,2 +1 @@ |
23 |
-DIST fluidsynth-2.1.5.tar.gz 1364924 BLAKE2B f5669f49db481ded6d953ee2cdaa8c59bb751f79210d993b69967cca1b71dce12b50fbf258512c144b1578441e78cc5299d96004da5fed44a40fc33858254bc0 SHA512 171ee6b1983ab9636086fb414ae464508f7a9a412cd2c1e7800a19a84d3dff21bbd86d1971f9bb5985e977f808b60e0d0cfbde4551b85fcc4aae4928a1abadbc |
24 |
DIST fluidsynth-2.2.0.tar.gz 1507709 BLAKE2B 4ec162ecf461f3fbc80d1b5c1a4bc0624d8274dedcfa32addfd79d7270811e532bccee46b90181bca504183e092176652f6c9d0ae8eccfb5617b9176b8bc511e SHA512 fa08c6d6914accbb5a99bb912066d97ded26ab3c706e663e76a4f1b024f610f676d2e1f7c30872d00e0fe86b5c494dcea581ecd0770977d235962a845c074bd6 |
25 |
|
26 |
diff --git a/media-sound/fluidsynth/fluidsynth-2.1.5.ebuild b/media-sound/fluidsynth/fluidsynth-2.1.5.ebuild |
27 |
deleted file mode 100644 |
28 |
index 8da1679f516..00000000000 |
29 |
--- a/media-sound/fluidsynth/fluidsynth-2.1.5.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,115 +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 |
- |
37 |
-CMAKE_ECLASS=cmake |
38 |
-inherit cmake-multilib systemd |
39 |
- |
40 |
-DESCRIPTION="Software real-time synthesizer based on the Soundfont 2 specifications" |
41 |
-HOMEPAGE="https://www.fluidsynth.org" |
42 |
-SRC_URI="https://github.com/FluidSynth/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
43 |
- |
44 |
-LICENSE="LGPL-2.1+" |
45 |
-SLOT="0/2" |
46 |
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ppc ppc64 sparc x86" |
47 |
-IUSE="alsa dbus debug examples ipv6 jack ladspa lash network oss portaudio pulseaudio +readline sdl +sndfile systemd threads" |
48 |
- |
49 |
-BDEPEND=" |
50 |
- virtual/pkgconfig |
51 |
-" |
52 |
-DEPEND=" |
53 |
- dev-libs/glib:2[${MULTILIB_USEDEP}] |
54 |
- alsa? ( |
55 |
- media-libs/alsa-lib[${MULTILIB_USEDEP}] |
56 |
- lash? ( media-sound/lash[${MULTILIB_USEDEP}] ) |
57 |
- ) |
58 |
- dbus? ( sys-apps/dbus[${MULTILIB_USEDEP}] ) |
59 |
- jack? ( virtual/jack[${MULTILIB_USEDEP}] ) |
60 |
- ladspa? ( |
61 |
- media-libs/ladspa-sdk[${MULTILIB_USEDEP}] |
62 |
- media-plugins/cmt-plugins[${MULTILIB_USEDEP}] |
63 |
- ) |
64 |
- portaudio? ( media-libs/portaudio[${MULTILIB_USEDEP}] ) |
65 |
- pulseaudio? ( media-sound/pulseaudio[${MULTILIB_USEDEP}] ) |
66 |
- readline? ( sys-libs/readline:0=[${MULTILIB_USEDEP}] ) |
67 |
- sdl? ( media-libs/libsdl2[${MULTILIB_USEDEP}] ) |
68 |
- sndfile? ( media-libs/libsndfile[${MULTILIB_USEDEP}] ) |
69 |
-" |
70 |
-RDEPEND="${DEPEND}" |
71 |
- |
72 |
-DOCS=( AUTHORS ChangeLog README.md THANKS TODO doc/fluidsynth-v20-devdoc.txt ) |
73 |
- |
74 |
-src_configure() { |
75 |
- local mycmakeargs=( |
76 |
- -Denable-alsa=$(usex alsa) |
77 |
- -Denable-aufile=ON |
78 |
- -Denable-dbus=$(usex dbus) |
79 |
- -Denable-debug=$(usex debug) |
80 |
- -Denable-dsound=OFF # Windows |
81 |
- -Denable-floats=OFF # loat instead of double for DSP samples |
82 |
- -Denable-fpe-check=$(usex debug) |
83 |
- -Denable-ipv6=$(usex ipv6) |
84 |
- -Denable-jack=$(usex jack) |
85 |
- -Denable-ladspa=$(usex ladspa) |
86 |
- -Denable-libinstpatch=ON # https://github.com/swami/libinstpatch |
87 |
- -Denable-midishare=OFF # http://midishare.sourceforge.net/ |
88 |
- -Denable-network=$(usex network) |
89 |
- -Denable-opensles=OFF |
90 |
- -Denable-oboe=OFF # requires OpenSLES and/or AAudio |
91 |
- -Denable-oss=$(usex oss) |
92 |
- -Denable-libsndfile=$(usex sndfile) |
93 |
- -Denable-pkgconfig=ON |
94 |
- -Denable-portaudio=$(usex portaudio) |
95 |
- -Denable-profiling=$(usex debug) |
96 |
- -Denable-pulseaudio=$(usex pulseaudio) |
97 |
- -Denable-readline=$(usex readline) |
98 |
- -Denable-sdl2=$(usex sdl) |
99 |
- -Denable-systemd=$(usex systemd) |
100 |
- -Denable-threads=$(usex threads) |
101 |
- -Denable-trap-on-fpe=$(usex debug) |
102 |
- -Denable-ubsan=OFF # compile and link against UBSan (for debugging fluidsynth internals) |
103 |
- -Denable-waveout=OFF # Windows |
104 |
- -Denable-winmidi=OFF # Windows |
105 |
- ) |
106 |
- |
107 |
- if use alsa; then |
108 |
- mycmakeargs+=( -Denable-lash=$(usex lash) ) |
109 |
- else |
110 |
- mycmakeargs+=( -Denable-lash=OFF ) |
111 |
- fi |
112 |
- |
113 |
- if use systemd; then |
114 |
- mycmakeargs+=( -DFLUID_DAEMON_ENV_FILE="/etc/fluidsynth.conf" ) |
115 |
- fi |
116 |
- |
117 |
- cmake-multilib_src_configure |
118 |
-} |
119 |
- |
120 |
-install_systemd_files() { |
121 |
- if multilib_is_native_abi; then |
122 |
- systemd_dounit "${BUILD_DIR}/fluidsynth.service" |
123 |
- insinto /etc |
124 |
- doins "${BUILD_DIR}/fluidsynth.conf" |
125 |
- fi |
126 |
-} |
127 |
- |
128 |
-src_install() { |
129 |
- cmake-multilib_src_install |
130 |
- |
131 |
- docinto pdf |
132 |
- dodoc doc/*.pdf |
133 |
- |
134 |
- if use examples; then |
135 |
- docinto examples |
136 |
- dodoc doc/*.c |
137 |
- fi |
138 |
- |
139 |
- if use systemd; then |
140 |
- multilib_foreach_abi install_systemd_files |
141 |
- |
142 |
- elog "When using fluidsynth as a systemd service, make sure" |
143 |
- elog "to configure your fluidsynth settings globally in " |
144 |
- elog "/etc/fluidsynth.conf or per-user in ~/.config/fluidsynth" |
145 |
- fi |
146 |
-} |