]>
Commit | Line | Data |
---|---|---|
099c8bfb | 1 | # |
2 | # Conditional build: | |
dd146957 | 3 | %bcond_with audacious # without audacious plugin |
e5f6d8a7 | 4 | %bcond_without xmms # without xmms plugin |
099c8bfb | 5 | # |
6 | Summary: Plugin for Crossfading and Continuous Output | |
7 | Summary(pl.UTF-8): Wtyczka wyjściowa zapewniająca dźwięk bez przerw | |
ad5e2c15 | 8 | Name: xmms-crossfade |
5b4b367b | 9 | Version: 0.3.14 |
dd146957 | 10 | Release: 2 |
99be7c49 | 11 | License: GPL v2+ |
80ffc5ab | 12 | Group: X11/Applications/Sound |
ad5e2c15 | 13 | Source0: http://www.eisenlohr.org/xmms-crossfade/%{name}-%{version}.tar.gz |
5b4b367b | 14 | # Source0-md5: 026c52544c7f3193d384288c9f8296aa |
ad5e2c15 | 15 | Patch0: %{name}-only-libs.patch |
ee436214 | 16 | URL: http://www.eisenlohr.org/xmms-crossfade/ |
e5f6d8a7 JB |
17 | %{?with_audacious:BuildRequires: audacious-devel >= 1.4.2} |
18 | BuildRequires: autoconf >= 2.53 | |
d4484ce0 | 19 | BuildRequires: automake |
ef497cf3 | 20 | BuildRequires: gtk+-devel |
099c8bfb | 21 | BuildRequires: gtk+2-devel |
e5f6d8a7 | 22 | BuildRequires: libsamplerate-devel |
03ef2191 | 23 | BuildRequires: libtool |
e5f6d8a7 | 24 | BuildRequires: pkgconfig |
90f0fcde | 25 | BuildRequires: rpmbuild(macros) >= 1.125 |
099c8bfb | 26 | %{?with_xmms:BuildRequires: xmms-devel} |
ef497cf3 | 27 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
28 | ||
ef497cf3 | 29 | %description |
ad5e2c15 | 30 | xmms-crossfade features: |
ef497cf3 | 31 | - Crossfading: Crossfade between two songs, i.e. fade out the end of |
32 | the current song while fading in the beginning of the next for a | |
33 | smooth transition. Length and volume of the fadings can be adjusted | |
34 | separately for fading in and out. | |
35 | - Fadein/Fadeout: Smoothly fadein/fadeout at the beginning or end of | |
36 | playback. | |
37 | - Continuous output: Keeps the audio device opened when switching from | |
38 | one song to the next. When used with the Gap-Killer, this allows for | |
39 | seamless playback of whole albums without any audible interruption | |
40 | between the tracks. | |
41 | - Gap-Killer: Removes the short gaps of silence at the beginning | |
23d8aa41 | 42 | and/or end of MP3 files. These gaps are caused by some MP3-encoders. |
ef497cf3 | 43 | - Automatic detection of live albums: Automatically detects live |
44 | albums and pre-mixed tracks which already are crossfaded. For those | |
45 | tracks, crossfading can be disabled automatically. | |
46 | - High quality: XMMS-crossfade can take special care to avoid the | |
47 | clicks some soundcards produce when suddenly being stopped. Also, it | |
48 | can improve quality when seeking within a song. | |
49 | - Secondary effect plugin: XMMS-crossfade allows you to select a | |
3ba8bad3 | 50 | second effect plugin. This is useful for example when using the |
ef497cf3 | 51 | volume normalizing plugin together with the icecast plugin. |
52 | ||
34a3f3cf | 53 | %description -l pl.UTF-8 |
ad5e2c15 | 54 | Możliwości xmms-crossfade to: |
55 | - płynne przechodzenie między dwoma utworami | |
56 | - płynne wchodzenie i wyciszanie na początku i końcu odtwarzania | |
57 | - ciągłe odtwarzanie dźwięku, także przy przechodzeniu między | |
58 | utworami; w połączeniu z Gap-Killerem daje to możliwość odtworzenia | |
59 | całego albumu bez żadnej słyszalnej przerwy | |
60 | - Gap-Killer - usuwający fragmenty ciszy na początku i końcu plików | |
61 | MP3 (spowodowane przez niektóre kodery) | |
62 | - automatyczne wykrywanie albumów koncertowych i pre-miksowanych, na | |
63 | których ścieżki już mają płynne przejścia - dla nich dodawanie | |
64 | płynnych przejść może być automatycznie wyłączane | |
65 | - wysoka jakość - XMMS-crossfade stara się unikać trzasków | |
66 | występujących na niektórych kartach dźwiękowych przy zatrzymywaniu | |
67 | odtwarzania | |
68 | - wtyczka dodatkowego efektu: XMMS-crossfade pozwala wybrać dodatkową | |
69 | wtyczkę, np. do normalizacji wraz z wtyczką icecast. | |
70 | ||
71 | %package -n xmms-output-crossfade | |
72 | Summary: XMMS Plugin for Crossfading and Continuous Output | |
73 | Summary(pl.UTF-8): Wtyczka wyjściowa dla XMMS-a zapewniająca dźwięk bez przerw | |
74 | Group: X11/Applications/Sound | |
75 | Requires: xmms | |
76 | Provides: xmms-output-plugin | |
77 | ||
78 | %description -n xmms-output-crossfade | |
79 | xmms-output-crossfade features: | |
80 | - Crossfading: Crossfade between two songs, i.e. fade out the end of | |
81 | the current song while fading in the beginning of the next for a | |
82 | smooth transition. Length and volume of the fadings can be adjusted | |
83 | separately for fading in and out. | |
84 | - Fadein/Fadeout: Smoothly fadein/fadeout at the beginning or end of | |
85 | playback. | |
86 | - Continuous output: Keeps the audio device opened when switching from | |
87 | one song to the next. When used with the Gap-Killer, this allows for | |
88 | seamless playback of whole albums without any audible interruption | |
89 | between the tracks. | |
90 | - Gap-Killer: Removes the short gaps of silence at the beginning | |
91 | and/or end of MP3 files. These gaps are caused by some MP3-encoders. | |
92 | - Automatic detection of live albums: Automatically detects live | |
93 | albums and pre-mixed tracks which already are crossfaded. For those | |
94 | tracks, crossfading can be disabled automatically. | |
95 | - High quality: XMMS-crossfade can take special care to avoid the | |
96 | clicks some soundcards produce when suddenly being stopped. Also, it | |
97 | can improve quality when seeking within a song. | |
98 | - Secondary effect plugin: XMMS-crossfade allows you to select a | |
99 | second effect plugin. This is useful for example when using the | |
100 | volume normalizing plugin together with the icecast plugin. | |
101 | ||
102 | %description -n xmms-output-crossfade -l pl.UTF-8 | |
34a3f3cf JR |
103 | Możliwości xmms-output-crossfade to: |
104 | - płynne przechodzenie między dwoma utworami | |
105 | - płynne wchodzenie i wyciszanie na początku i końcu odtwarzania | |
106 | - ciągłe odtwarzanie dźwięku, także przy przechodzeniu między | |
107 | utworami; w połączeniu z Gap-Killerem daje to możliwość odtworzenia | |
108 | całego albumu bez żadnej słyszalnej przerwy | |
109 | - Gap-Killer - usuwający fragmenty ciszy na początku i końcu plików | |
110 | MP3 (spowodowane przez niektóre kodery) | |
111 | - automatyczne wykrywanie albumów koncertowych i pre-miksowanych, na | |
112 | których ścieżki już mają płynne przejścia - dla nich dodawanie | |
113 | płynnych przejść może być automatycznie wyłączane | |
114 | - wysoka jakość - XMMS-crossfade stara się unikać trzasków | |
115 | występujących na niektórych kartach dźwiękowych przy zatrzymywaniu | |
1f0e2e1d | 116 | odtwarzania |
34a3f3cf JR |
117 | - wtyczka dodatkowego efektu: XMMS-crossfade pozwala wybrać dodatkową |
118 | wtyczkę, np. do normalizacji wraz z wtyczką icecast. | |
1f0e2e1d | 119 | |
099c8bfb | 120 | %package -n audacious-output-crossfade |
121 | Summary: Audacious Plugin for Crossfading and Continuous Output | |
122 | Summary(pl.UTF-8): Wtyczka wyjściowa dla Audacious zapewniająca dźwięk bez przerw | |
123 | Group: X11/Applications/Sound | |
124 | Requires: audacious | |
125 | Provides: audacious-output-plugin | |
126 | ||
127 | %description -n audacious-output-crossfade | |
128 | audacious-output-crossfade features: | |
129 | - Crossfading: Crossfade between two songs, i.e. fade out the end of | |
130 | the current song while fading in the beginning of the next for a | |
131 | smooth transition. Length and volume of the fadings can be adjusted | |
132 | separately for fading in and out. | |
133 | - Fadein/Fadeout: Smoothly fadein/fadeout at the beginning or end of | |
134 | playback. | |
135 | - Continuous output: Keeps the audio device opened when switching from | |
136 | one song to the next. When used with the Gap-Killer, this allows for | |
137 | seamless playback of whole albums without any audible interruption | |
138 | between the tracks. | |
139 | - Gap-Killer: Removes the short gaps of silence at the beginning | |
140 | and/or end of MP3 files. These gaps are caused by some MP3-encoders. | |
141 | - Automatic detection of live albums: Automatically detects live | |
142 | albums and pre-mixed tracks which already are crossfaded. For those | |
143 | tracks, crossfading can be disabled automatically. | |
144 | - High quality: XMMS-crossfade can take special care to avoid the | |
145 | clicks some soundcards produce when suddenly being stopped. Also, it | |
146 | can improve quality when seeking within a song. | |
147 | - Secondary effect plugin: XMMS-crossfade allows you to select a | |
148 | second effect plugin. This is useful for example when using the | |
149 | volume normalizing plugin together with the icecast plugin. | |
150 | ||
151 | %description -n audacious-output-crossfade -l pl.UTF-8 | |
152 | Możliwości audacious-output-crossfade to: | |
153 | - płynne przechodzenie między dwoma utworami | |
154 | - płynne wchodzenie i wyciszanie na początku i końcu odtwarzania | |
155 | - ciągłe odtwarzanie dźwięku, także przy przechodzeniu między | |
156 | utworami; w połączeniu z Gap-Killerem daje to możliwość odtworzenia | |
157 | całego albumu bez żadnej słyszalnej przerwy | |
158 | - Gap-Killer - usuwający fragmenty ciszy na początku i końcu plików | |
159 | MP3 (spowodowane przez niektóre kodery) | |
160 | - automatyczne wykrywanie albumów koncertowych i pre-miksowanych, na | |
161 | których ścieżki już mają płynne przejścia - dla nich dodawanie | |
162 | płynnych przejść może być automatycznie wyłączane | |
163 | - wysoka jakość - XMMS-crossfade stara się unikać trzasków | |
164 | występujących na niektórych kartach dźwiękowych przy zatrzymywaniu | |
165 | odtwarzania | |
166 | - wtyczka dodatkowego efektu: XMMS-crossfade pozwala wybrać dodatkową | |
167 | wtyczkę, np. do normalizacji wraz z wtyczką icecast. | |
168 | ||
ef497cf3 | 169 | %prep |
ad5e2c15 | 170 | %setup -q |
9501a9b3 | 171 | %patch0 -p1 |
ef497cf3 | 172 | |
173 | %build | |
1efa7161 | 174 | %{__libtoolize} |
7922b08d | 175 | %{__aclocal} |
b583a4cf | 176 | %{__autoconf} |
177 | %{__automake} | |
099c8bfb | 178 | |
e5f6d8a7 JB |
179 | %if %{with xmms} |
180 | mkdir -p xmms | |
181 | cd xmms | |
182 | ../%configure \ | |
ee436214 | 183 | --enable-player=xmms |
ef497cf3 | 184 | %{__make} |
e5f6d8a7 | 185 | cd .. |
099c8bfb | 186 | %endif |
187 | ||
188 | %if %{with audacious} | |
e5f6d8a7 | 189 | mkdir -p audacious |
099c8bfb | 190 | cd audacious |
e5f6d8a7 | 191 | ../%configure \ |
099c8bfb | 192 | --enable-player=audacious |
193 | %{__make} | |
194 | %endif | |
ef497cf3 | 195 | |
196 | %install | |
197 | rm -rf $RPM_BUILD_ROOT | |
198 | ||
099c8bfb | 199 | %if %{with xmms} |
e5f6d8a7 | 200 | %{__make} -C xmms install \ |
099c8bfb | 201 | DESTDIR=$RPM_BUILD_ROOT |
52263a8a JB |
202 | |
203 | rm -f $RPM_BUILD_ROOT%{_libdir}/xmms/Output/libcrossfade.la | |
099c8bfb | 204 | %endif |
205 | ||
206 | %if %{with audacious} | |
e5f6d8a7 | 207 | %{__make} -C audacious install \ |
90f0fcde | 208 | DESTDIR=$RPM_BUILD_ROOT |
52263a8a | 209 | |
e4e9d410 | 210 | rm -f $RPM_BUILD_ROOT%{_libdir}/audacious/Output/libcrossfade.la |
099c8bfb | 211 | %endif |
ef497cf3 | 212 | |
ef497cf3 | 213 | %clean |
214 | rm -rf $RPM_BUILD_ROOT | |
215 | ||
099c8bfb | 216 | %if %{with xmms} |
ad5e2c15 | 217 | %files -n xmms-output-crossfade |
ef497cf3 | 218 | %defattr(644,root,root,755) |
ad5e2c15 | 219 | %doc AUTHORS README ChangeLog |
52263a8a | 220 | %attr(755,root,root) %{_libdir}/xmms/Output/libcrossfade.so |
099c8bfb | 221 | %endif |
222 | ||
7f17f5a6 | 223 | %if %{with audacious} |
099c8bfb | 224 | %files -n audacious-output-crossfade |
225 | %defattr(644,root,root,755) | |
226 | %doc AUTHORS README ChangeLog | |
5b4b367b | 227 | %attr(755,root,root) %{_libdir}/audacious/Output/libcrossfade.so |
099c8bfb | 228 | %endif |