Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:edogawa
polyphone
polyphone.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File polyphone.spec of Package polyphone
# # spec file for package polyphone # # Copyright (c) 2023 SUSE LLC # Copyright (c) 2022 by Edgar Aichinger # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: polyphone Version: 2.3.0+git.66.50bc210 Release: 0 Summary: A free Soundfont (SF2) Editor License: GPL-3.0-or-later Group: Productivity/Multimedia/Sound/Editors and Convertors URL: https://www.polyphone-soundfonts.com/en/ Source0: %{name}-%{version}.tar.xz BuildRequires: pkgconfig BuildRequires: pkgconfig(Qt5Concurrent) BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5Network) BuildRequires: pkgconfig(Qt5PrintSupport) BuildRequires: pkgconfig(Qt5Svg) BuildRequires: pkgconfig(alsa) BuildRequires: pkgconfig(flac) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(jack) BuildRequires: pkgconfig(ogg) BuildRequires: pkgconfig(portaudio-2.0) BuildRequires: pkgconfig(qcustomplot) BuildRequires: pkgconfig(rtmidi) BuildRequires: pkgconfig(vorbis) BuildRequires: pkgconfig(zlib) BuildRequires: stk-devel %if %{defined fedora} BuildRequires: desktop-file-utils BuildRequires: openssl-devel BuildRequires: qt5-linguist %else BuildRequires: libqt5-linguist BuildRequires: update-desktop-files BuildRequires: pkgconfig(openssl) %endif %description Polyphone is a free software for editing soundfonts in format sf2. These files contain a multitude of audio samples put together and configured so as to form musical instruments that can be used by synthesizers such as fluidsynth and played using a MIDI keyboard. The goal of Polyphone is to provide: a simple and efficient interface for creating and editing .sf2 files, available on Windows, Mac OS X and Linux, tools to facilitate and automate the editing of different parameters, making it possible to handle a large amount of data. Polyphone is licensed under GNU General Public License. Anyone may thus access the source code, and is welcome to help in the development of the program. %prep %autosetup -n %{name}-%{version}/sources chmod 644 README %build %if %{defined fedora} export QTDIR=%{_qt5_prefix} %{_qt5_qmake} QMAKE_CFLAGS+="%{optflags}" QMAKE_CXXFLAGS+="%{optflags}" polyphone.pro %make_build %else %qmake5 PREFIX=%{_prefix} QMAKE_CFLAGS+="%{optflags}" QMAKE_CXXFLAGS+="%{optflags}" QMAKE_STRIP="/bin/true" polyphone.pro %make_build %endif %install mkdir -p %{buildroot}%{_bindir} install -m0755 bin/polyphone %{buildroot}%{_bindir}/ # install icon mkdir -p %{buildroot}%{_datadir}/icons/hicolor/512x512/apps/ install -m0644 resources/polyphone.png %{buildroot}%{_datadir}/icons/hicolor/512x512/apps/polyphone.png # create and install desktop entry mkdir -p %{buildroot}%{_datadir}/applications cat > polyphone.desktop << EOF [Desktop Entry] Encoding=UTF-8 Name=Polyphone GenericName=Polyphone Comment=Soundfont Editor Exec=%{_bindir}/polyphone Icon=polyphone.png Terminal=false Type=Application Categories=AudioVideo;Music; EOF %if %{defined fedora} desktop-file-install \ --dir %{buildroot}%{_datadir}/applications \ polyphone.desktop %endif %if 0%{?suse_version} %suse_update_desktop_file -i %{name} AudioVideo Music %endif %files %defattr(-,root,root,0755) %doc README %{_bindir}/polyphone %dir %{_datadir}/icons/hicolor %dir %{_datadir}/icons/hicolor/512x512 %dir %{_datadir}/icons/hicolor/512x512/apps %{_datadir}/applications/polyphone.desktop %{_datadir}/icons/hicolor/512x512/apps/polyphone.png %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor