File eko.spec of Package eko
#
# spec file for package eko
#
# Copyright (c) 2025 SUSE LLC
#
# 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: eko
Version: @SERVICE@
Release: 0
Summary: Simple sound editor with the mixer
License: GPL-3.0-only
Group: Productivity/Multimedia/Sound/Editors and Convertors
URL: https://psemiletov.github.io/eko
Source0: %{name}-%{version}.tar.xz
BuildRequires: cmake >= 3.21.1
BuildRequires: desktop-file-utils
BuildRequires: hicolor-icon-theme
BuildRequires: pkgconfig
BuildRequires: update-desktop-files
BuildRequires: cmake(Qt6Core)
BuildRequires: cmake(Qt6Core5Compat)
BuildRequires: cmake(Qt6LinguistTools)
BuildRequires: cmake(Qt6Widgets)
BuildRequires: pkgconfig(portaudio-2.0)
BuildRequires: pkgconfig(samplerate)
BuildRequires: pkgconfig(sndfile)
Recommends: ffmpeg
Recommends: jack
Recommends: lame
Recommends: mplayer
%description
Simple sound editor with the mixer.
Features:
* real-time FX rack
* generators of sine, nouse
* channel converter
* RMS and level analysis
* DC offset corrector
* reverese
* handy editing
* color palettes
* hotkeys customizations
%prep
%autosetup -p1
sed -i 's/tea_/eko_/' CMakeLists.txt
rm -v translations/*.qm
%build
lupdate6 `find -name '*.cpp' -or -name '*.h' -or -name '*.ui'` -ts translations/*.ts
grep -n 'vanished' translations/*.ts
lrelease6 translations/*.ts
%cmake_qt6 \
-DCMAKE_SKIP_RPATH:BOOL=ON
%qt6_build
%install
%qt6_install
%suse_update_desktop_file -r %{name} AudioVideo Audio AudioVideoEditing
%files
%doc AUTHORS ChangeLog NEWS* TODO README
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/*/apps/%{name}.??g
%license COPYING
%changelog