Accepting request 1005859 from home:derselbst:branches:multimedia:libs
- Update to 2.3.0 * CMake 3.13 is now required * for a full changelog, see https://github.com/FluidSynth/fluidsynth/wiki/ChangeLog#fluidsynth-230 - Remove hard-coded fluidsynth.service and use .service generated during build OBS-URL: https://build.opensuse.org/request/show/1005859 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/fluidsynth?expand=0&rev=108
This commit is contained in:
parent
676d9d2d7a
commit
4781a4ba0a
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:bc62494ec2554fdcfc01512a2580f12fc1e1b01ce37a18b370dd7902af7a8159
|
|
||||||
size 1750977
|
|
3
fluidsynth-2.3.0.tar.gz
Normal file
3
fluidsynth-2.3.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:1df5a1afb91acf3b945b7fdb89ac0d99877622161d9b5155533da59113eaaa20
|
||||||
|
size 1757143
|
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Sep 24 16:39:05 UTC 2022 - Tom Mbrt <tom.mbrt@googlemail.com>
|
||||||
|
|
||||||
|
- Update to 2.3.0
|
||||||
|
* CMake 3.13 is now required
|
||||||
|
* for a full changelog, see https://github.com/FluidSynth/fluidsynth/wiki/ChangeLog#fluidsynth-230
|
||||||
|
- Remove hard-coded fluidsynth.service and use .service generated during build
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Sep 6 11:48:15 UTC 2022 - Tom Mbrt <tom.mbrt@googlemail.com>
|
Tue Sep 6 11:48:15 UTC 2022 - Tom Mbrt <tom.mbrt@googlemail.com>
|
||||||
|
|
||||||
|
@ -1,24 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=FluidSynth GM daemon
|
|
||||||
Documentation=man:fluidsynth(1)
|
|
||||||
After=sound.target
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
# added automatically, for details please see
|
|
||||||
# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
||||||
ProtectSystem=full
|
|
||||||
ProtectHome=true
|
|
||||||
ProtectHostname=true
|
|
||||||
ProtectKernelTunables=true
|
|
||||||
ProtectKernelModules=true
|
|
||||||
ProtectKernelLogs=true
|
|
||||||
ProtectControlGroups=true
|
|
||||||
# end of automatic additions
|
|
||||||
User=fluidsynth
|
|
||||||
Group=audio
|
|
||||||
EnvironmentFile=-/etc/sysconfig/fluidsynth
|
|
||||||
ExecStart=/usr/bin/fluidsynth -is $OTHER_OPTS $SOUND_FONT
|
|
||||||
LimitRTPRIO=90
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
%define sover 3
|
%define sover 3
|
||||||
Name: fluidsynth
|
Name: fluidsynth
|
||||||
Version: 2.2.9
|
Version: 2.3.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A Real-Time Software Synthesizer That Uses Soundfont(tm)
|
Summary: A Real-Time Software Synthesizer That Uses Soundfont(tm)
|
||||||
License: LGPL-2.1-or-later
|
License: LGPL-2.1-or-later
|
||||||
@ -26,9 +26,8 @@ Group: Productivity/Multimedia/Sound/Midi
|
|||||||
URL: https://www.fluidsynth.orga/
|
URL: https://www.fluidsynth.orga/
|
||||||
Source0: https://github.com/FluidSynth/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
Source0: https://github.com/FluidSynth/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
Source1: %{name}.conf
|
Source1: %{name}.conf
|
||||||
Source2: %{name}.service
|
|
||||||
Source1000: baselibs.conf
|
Source1000: baselibs.conf
|
||||||
BuildRequires: cmake >= 3.1.0
|
BuildRequires: cmake >= 3.13.0
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: ladspa-devel
|
BuildRequires: ladspa-devel
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
@ -76,6 +75,7 @@ This package contains the shared library for Fluidsynth.
|
|||||||
%build
|
%build
|
||||||
%cmake \
|
%cmake \
|
||||||
-DFLUID_DAEMON_ENV_FILE=%{_fillupdir}/sysconfig.%{name} \
|
-DFLUID_DAEMON_ENV_FILE=%{_fillupdir}/sysconfig.%{name} \
|
||||||
|
-DDEFAULT_SOUNDFONT=/usr/share/sounds/sf2/FluidR3_GM.sf2 \
|
||||||
-Denable-lash=0
|
-Denable-lash=0
|
||||||
%cmake_build
|
%cmake_build
|
||||||
|
|
||||||
@ -90,7 +90,7 @@ This package contains the shared library for Fluidsynth.
|
|||||||
%cmake_install
|
%cmake_install
|
||||||
mkdir -p %{buildroot}%{_localstatedir}/lib/%{name}
|
mkdir -p %{buildroot}%{_localstatedir}/lib/%{name}
|
||||||
install -Dpm0644 %{SOURCE1} %{buildroot}%{_fillupdir}/sysconfig.%{name}
|
install -Dpm0644 %{SOURCE1} %{buildroot}%{_fillupdir}/sysconfig.%{name}
|
||||||
install -Dpm0644 %{SOURCE2} %{buildroot}%{_unitdir}/%{name}.service
|
install -Dpm0644 build/fluidsynth.service %{buildroot}%{_unitdir}/%{name}.service
|
||||||
mkdir %{buildroot}%{_sbindir}
|
mkdir %{buildroot}%{_sbindir}
|
||||||
ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}
|
ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}
|
||||||
|
|
||||||
@ -126,6 +126,8 @@ getent passwd %{name} >/dev/null || useradd -rc 'FluidSynth GM daemon' -s /bin/f
|
|||||||
%{_includedir}/%{name}.h
|
%{_includedir}/%{name}.h
|
||||||
%{_libdir}/lib%{name}.so
|
%{_libdir}/lib%{name}.so
|
||||||
%{_libdir}/pkgconfig/%{name}.pc
|
%{_libdir}/pkgconfig/%{name}.pc
|
||||||
|
%dir %{_libdir}/cmake/%{name}/
|
||||||
|
%{_libdir}/cmake/%{name}/*.cmake
|
||||||
|
|
||||||
%files -n libfluidsynth%{sover}
|
%files -n libfluidsynth%{sover}
|
||||||
%{_libdir}/lib%{name}.so.%{sover}*
|
%{_libdir}/lib%{name}.so.%{sover}*
|
||||||
|
Loading…
Reference in New Issue
Block a user