-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
soundkonverter.spec
100 lines (91 loc) · 2.47 KB
/
soundkonverter.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
Summary: An audio file converter, CD ripper and replay gain tool
Name: soundkonverter
Version: 3.0.1
Release: 3
License: GPLv2+
Group: Sound
Url: https://github.com/HessiJames/soundkonverter/
Source0: https://github.com/HessiJames/soundkonverter/archive/v%{version}/%{name}-%{version}.tar.gz
# Support for Taglib 2
Patch0: https://github.com/dfaust/soundkonverter/commit/dd52d33046cf740415f8507a3ffd5b37dffc5a2c.patch
# And Taglib 2's modified cmake files too
Patch1: soundkonverter-taglib-2.0.patch
BuildRequires: cmake
BuildRequires: cdda-devel
BuildRequires: pkgconfig(libcdio)
BuildRequires: pkgconfig(taglib)
BuildRequires: cmake(ECM)
BuildRequires: cmake(KF5Cddb)
BuildRequires: cmake(Qt5Network)
BuildRequires: cmake(Qt5Core)
BuildRequires: cmake(Qt5Gui)
BuildRequires: cmake(Qt5Widgets)
BuildRequires: cmake(KF5I18n)
BuildRequires: cmake(KF5XmlGui)
BuildRequires: cmake(KF5Solid)
BuildRequires: cmake(KF5Config)
BuildRequires: cmake(KF5ConfigWidgets)
BuildRequires: cmake(KF5KDELibs4Support)
BuildRequires: cmake(Phonon4Qt5)
BuildRequires: cmake(KF5KIO)
BuildRequires: cmake(Qt5Xml)
BuildRequires: cmake(KF5WidgetsAddons)
Requires: cdparanoia
Requires: flac
Requires: fluidsynth
Requires: ffmpeg
Requires: opus-tools
Requires: mplayer
Requires: mppenc
Requires: speex
Requires: TiMidity++
Requires: twolame
Requires: vorbis-tools
Requires: wavpack
# suggested requires on mrb to be imported in restricted eventually
Suggests: aacgain
Suggests: aften
Suggests: faac
Suggests: faad2
Suggests: flac123
Suggests: lame
Suggests: mac
Suggests: mp3gain
Suggests: mppdec
Suggests: neroaac
Suggests: shorten
Suggests: ttaenc
Suggests: vorbisgain
# Wrong library package
Conflicts: %{_lib}soundkonverter < 2.0.4
%description
An audio file converter, CD ripper and replay gain tool GUI for various
back-ends.
%files -f %{name}.lang
%{_kde5_bindir}/%{name}
%{_kde5_datadir}/solid/actions/%{name}-*
%{_datadir}/appdata/soundkonverter.appdata.xml
%{_kde5_applicationsdir}/%{name}.desktop
%{_kde5_iconsdir}/hicolor/*/apps/*.png
%{_kde5_services}/%{name}_*
%{_kde5_servicetypes}/%{name}_*
# codecs, filters etc
%{_kde5_libdir}/qt5/plugins/soundkonverter_*.so
%{_libdir}/libsoundkonvertercore.so
%{_datadir}/%{name}
%{_datadir}/kxmlgui5/%{name}
#----------------------------------------------------------------------------
%prep
%autosetup -p1
# fix debug linting more then 100 w
find . -type f -exec chmod -x {} \;
%build
pushd src
%cmake_kde5
%ninja
popd
%install
pushd src
%ninja_install -C build
popd
%find_lang %{name}