Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.0
sonic-visualiser
sonic-visualiser.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File sonic-visualiser.spec of Package sonic-visualiser
# # spec file for package sonic-visualiser # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2016 Tom Mbrt <tom.mbrt@googlemail.com> # Copyright (c) 2005-2010 oc2pus # Copyright (c) 2011 Evstifeev Roman <someuniquename@gmail.com> # Copyright (c) 2012 Pascal Bleser <pascal.bleser@opensuse.org> # # 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 http://bugs.opensuse.org/ # Name: sonic-visualiser Version: 3.0.3 Release: 0 Summary: A program for viewing and analysing contents of audio files License: GPL-2.0+ Group: Productivity/Multimedia/Sound/Utilities Url: http://www.sonicvisualiser.org/ Source: https://code.soundsoftware.ac.uk/attachments/download/2246/%{name}-%{version}.tar.gz Source2: %{name}.xml Source3: https://raw.githubusercontent.com/piper-audio/piper/02bafb5284eb20e4c8d96ac5fe5b697ed11f59a4/capnp/piper.capnp Patch1: sonic-visualiser-remove-svcore-test.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: capnproto BuildRequires: dssi BuildRequires: flac BuildRequires: gcc-c++ BuildRequires: hicolor-icon-theme BuildRequires: ladspa BuildRequires: libqt5-qtbase-devel >= 5.2 BuildRequires: pkgconfig BuildRequires: pkgconfig(Qt5Svg) BuildRequires: pkgconfig(alsa) BuildRequires: pkgconfig(bzip2) BuildRequires: pkgconfig(capnp) %if 0%{?BUILD_ORIG} || 0%{?suse_version} > 1320 BuildRequires: pkgconfig(dataquay) >= 0.9 %endif BuildRequires: pkgconfig(fftw3) BuildRequires: pkgconfig(fishsound) BuildRequires: pkgconfig(flac) BuildRequires: pkgconfig(freetype2) BuildRequires: pkgconfig(id3tag) BuildRequires: pkgconfig(jack) BuildRequires: pkgconfig(libcurl) %if 0%{?suse_version} > 1320 BuildRequires: pkgconfig(libjpeg) %else BuildRequires: libjpeg8-devel %endif BuildRequires: pkgconfig(liblo) BuildRequires: pkgconfig(libpng) BuildRequires: pkgconfig(libpulse) BuildRequires: pkgconfig(libxslt) BuildRequires: pkgconfig(lrdf) BuildRequires: pkgconfig(mad) BuildRequires: pkgconfig(ogg) BuildRequires: pkgconfig(oggz) >= 0.9.5 BuildRequires: pkgconfig(rasqal) BuildRequires: pkgconfig(raptor2) >= 2.0.4 BuildRequires: pkgconfig(redland) >= 1.0.14 BuildRequires: pkgconfig(rubberband) BuildRequires: pkgconfig(samplerate) BuildRequires: pkgconfig(serd-0) BuildRequires: pkgconfig(sndfile) BuildRequires: pkgconfig(sord-0) BuildRequires: pkgconfig(speex) BuildRequires: pkgconfig(vamp-sdk) >= 2.5 BuildRequires: pkgconfig(vorbis) BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(zlib) BuildRequires: portaudio-devel BuildRequires: shared-mime-info BuildRequires: update-desktop-files Requires: dssi Requires: ladspa %description Sonic Visualiser is a program for viewing and analysing the contents of music audio files. With Sonic Visualiser you can: * Load audio files in various formats and view their waveforms * Look at audio visualisations such as spectrogram views, with interactive adjustment of display parameters * Annotate audio data by adding labelled time points and defining segments, point values and curves * Run feature-extraction plugins to calculate annotations automatically, using algorithms such as beat trackers, pitch detectors and so on * Import annotation data from various text formats and MIDI files * Play back the original audio with synthesised annotations, taking care to synchronise playback with the display position * Slow down playback and loop segments of interest, including seamless looping of complex non-contiguous areas * Export annotations and audio selections to external files. * Sonic Visualiser can also be controlled remotely using the Open Sound Control (OSC) protocol %prep %setup -q %patch1 -p1 cp %{SOURCE3} piper-cpp/vamp-capnp/ %build pushd piper-cpp/vamp-capnp capnp compile -oc++ piper.capnp popd export dataquay_CFLAGS='-I/usr/include/dataquay' export dataquay_LIBS='-ldataquay -lrdf' export CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" sh bootstrap.sh %configure make %{?_smp_mflags} %install install -dm 755 %{buildroot}%{_bindir} install -m 755 sonic-visualiser %{buildroot}%{_bindir} install -m 755 piper-vamp-simple-server %{buildroot}%{_bindir} install -m 755 checker/vamp-plugin-load-checker %{buildroot}%{_bindir} # plugin dir install -dm 755 %{buildroot}%{_libdir}/vamp # icon for size in 16 22 24 32 48 64 128 ; do install -Dm 644 icons/sv-${size}x${size}.png %{buildroot}/%{_datadir}/icons/hicolor/${size}x${size}/apps/%{name}.png done install -Dm 644 icons/sv-icon.svg %{buildroot}/%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg ln -s sonic-visualiser.svg %{buildroot}/%{_datadir}/icons/hicolor/scalable/apps/sv-icon.svg # mime types install -Dm 644 %{SOURCE2} %{buildroot}%{_datadir}/mime/packages/%{name}.xml install -Dm 644 x-sonicvisualiser.desktop %{buildroot}/%{_datadir}/mimelnk/application/x-sonicvisualiser.desktop install -Dm 644 x-sonicvisualiser-layer.desktop %{buildroot}/%{_datadir}/mimelnk/application/x-sonicvisualiser-layer.desktop # Menu %suse_update_desktop_file -i %{name} AudioVideo Audio Music %post %desktop_database_post %icon_theme_cache_post %{_bindir}/update-mime-database %{_datadir}/mime &> /dev/null || : %postun %desktop_database_postun %icon_theme_cache_postun %{_bindir}/update-mime-database %{_datadir}/mime &> /dev/null || : %files %defattr(-,root,root) %doc COPYING README* %{_bindir}/%{name} %{_bindir}/piper-vamp-simple-server %{_bindir}/vamp-plugin-load-checker %dir %{_libdir}/vamp %{_datadir}/icons/hicolor/*/apps/%{name}.* %{_datadir}/icons/hicolor/scalable/apps/sv-icon.svg %{_datadir}/applications/%{name}.desktop %{_datadir}/mime/packages/%{name}.xml %dir %{_datadir}/mimelnk %dir %{_datadir}/mimelnk/application %{_datadir}/mimelnk/application/x-sonicvisualiser* %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