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