audacious-plugins-vl.spec 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462
  1. # Now, these features provide self-build-audacious-plugins-extra package
  2. # to enable features, rpmbuild with '--with feature'
  3. #define with_aac %{?_with_aac:1}%{!?_with_aac:0}
  4. #define with_wma %{?_with_wma:1}%{!?_with_wma:0}
  5. #define with_lame %{?_with_lame:1}%{!?_with_lame:0}
  6. %define _audacious_ver 2.3-1%{?_dist_release}
  7. %define _gtk2_ver 2.8.0
  8. %define _glib2_ver 2.12.0
  9. # to build OSD plugin, pango >= 1.14.7, cairo >= 1.2.6 are required
  10. %define _pango_ver 1.14.7
  11. %define _esound_ver 0.2
  12. %define _libvorbis_ver 1.0
  13. %define _libogg_ver 1.0
  14. %define _libsndfile_ver 0.19
  15. %define _flac_ver 1.2.0
  16. %define _alsa_ver 1.0
  17. %define _libxml2_ver 2.0.0
  18. %define _sdl_ver 1.2.5
  19. %define _libmtp_ver 0.3.5
  20. #define extraver alpha5
  21. %define plugindir %{_libdir}/audacious
  22. Summary: Audacious Media Player plugins
  23. Summary(ja): Audacious メディアプレイヤー プラグイン集
  24. Name: audacious-plugins
  25. Version: 2.3
  26. Release: 2%{?_dist_release}
  27. # LGPLv2+: adplug, bio2jack, rocklight
  28. # MIT: crystalizer, dockalbumart
  29. # BSD: lastfm
  30. License: GPLv2 and GPLv2+ and LGPLv2+ and MIT and BSD
  31. Group: Applications/Multimedia
  32. URL: http://audacious-media-player.org/
  33. Source: http://distfiles.atheme.org/audacious-plugins-%{version}%{?extraver:-%extraver}.tgz
  34. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  35. BuildRequires: audacious-devel >= %{_audacious_ver}
  36. BuildRequires: glib2-devel >= %{_glib2_ver}
  37. BuildRequires: gtk2-devel >= %{_gtk2_ver}
  38. BuildRequires: pango-devel >= %{_pango_ver}
  39. BuildRequires: dbus-devel >= 0.80
  40. BuildRequires: dbus-glib-devel >= 0.60
  41. BuildRequires: libmowgli-devel >= 0.4.0
  42. BuildRequires: esound-devel >= %{_esound_ver}
  43. BuildRequires: pulseaudio-libs-devel >= 0.9.9
  44. BuildRequires: libshout-devel >= 2.0.0
  45. BuildRequires: lirc
  46. BuildRequires: libogg-devel >= %{_libogg_ver}
  47. BuildRequires: libvorbis-devel >= %{_libvorbis_ver}
  48. BuildRequires: flac-devel >= %{_flac_ver}
  49. BuildRequires: libsndfile-devel >= %{_libsndfile_ver}
  50. BuildRequires: jack-audio-connection-kit-devel
  51. BuildRequires: alsa-lib-devel >= %{_alsa_ver}
  52. BuildRequires: libcdio-devel >= 0.70
  53. BuildRequires: libcddb-devel >= 1.2.1
  54. BuildRequires: neon-devel >= 0.26
  55. BuildRequires: libmtp-devel >= %{_libmtp_ver}
  56. # bluetooth plugin has been broken by the output plugin on-demand work
  57. #BuildRequires: bluez-libs-devel
  58. BuildRequires: libxml2-devel >= %{_libxml2_ver}
  59. BuildRequires: libprojectm-devel
  60. BuildRequires: SDL-devel >= %{_sdl_ver}
  61. BuildRequires: gtkglext-devel
  62. BuildRequires: libsamplerate-devel
  63. BuildRequires: mesa-libGLU-devel
  64. Requires: audacious >= %{_audacious_ver}
  65. Requires: glib2 >= %{_glib2_ver}, gtk2 >= %{_gtk2_ver}
  66. Requires: pango >= %{_pango_ver}
  67. Requires: libvorbis >= %{_libvorbis_ver}
  68. Requires: libogg >= %{_libogg_ver}
  69. Requires: libsndfile >= %{_libsndfile_ver}
  70. Requires: alsa-lib >= %{_alsa_ver}
  71. Requires: libxml2 >= %{_libxml2_ver}
  72. Requires(post): /sbin/update-alternatives
  73. Requires(postun): /sbin/update-alternatives
  74. Obsoletes: audacious < 1.2.0
  75. Obsoletes: beepmp, beepmp-alsa
  76. Vendor: Project Vine
  77. Distribution: Vine Linux
  78. %description
  79. Audacious is a media player that currently uses a skinned user interface
  80. based on Winamp 2.x skins.
  81. This package provides essential plugins for audio input, audio output and
  82. visualization.
  83. %package -n audacious-jack
  84. Summary: Audacious output plugin for JACK sound service
  85. Group: Applications/Multimedia
  86. Requires: audacious >= %{_audacious_ver}
  87. %description -n audacious-jack
  88. This package provides an Audacious output plugin that uses the
  89. JACK sound service.
  90. %package -n audacious-flac
  91. Summary: Audacious plugin to play FLAC files
  92. Summary(ja): FLAC ファイルを再生するための Audacious プラグイン
  93. Group: Applications/Multimedia
  94. Requires: audacious >= %{_audacious_ver}
  95. Requires: flac >= %{_flac_ver}
  96. Obsoletes: beepmp-flac
  97. %description -n audacious-flac
  98. This package contains a input plugin that enables playback of FLAC files
  99. in Audacious.
  100. %description -l ja -n audacious-flac
  101. このパッケージには、Audacious で FLAC ファイル (*.flac/fla) を再生するため
  102. の入力プラグインが含まれています。
  103. %package -n audacious-esd
  104. Summary: Audacious plugin to output audio via EsounD
  105. Summary(ja): Audacious EsounD オーディオ出力プラグイン
  106. Group: Applications/Multimedia
  107. Requires: audacious >= %{_audacious_ver}
  108. Requires: esound >= %{_esound_ver}
  109. %description -n audacious-esd
  110. This package contains an audio output plugin via EsounD for Audacious.
  111. %description -l ja -n audacious-esd
  112. このパッケージには、Audacious で EsounD を用いて音声を出力するための
  113. プラグインが含まれています。
  114. %package -n audacious-visualization
  115. Summary: Audacious visualization plugins
  116. Summary(ja): Audacious 視覚化プラグイン
  117. Group: Applications/Multimedia
  118. Requires: audacious >= %{_audacious_ver}
  119. Requires: SDL >= %{_sdl_ver}
  120. Requires: libprojectm
  121. Obsoletes: audacious-paranormal
  122. %description -n audacious-visualization
  123. This package contains extra visualization plugin for Audacious.
  124. %description -l ja -n audacious-visualization
  125. このパッケージには、Audacious で再生した音声を視覚化する追加のプラグインが
  126. 含まれています。
  127. %prep
  128. %setup -q -n %{name}-%{version}%{?extraver:-%extraver}
  129. %build
  130. %configure \
  131. --enable-ipv6 \
  132. --enable-chardet \
  133. --disable-aac \
  134. --disable-ffaudio \
  135. --disable-filewriter_mp3 \
  136. --disable-mp3
  137. %__make %{_smp_mflags} VERBOSE=1
  138. %install
  139. %__rm -rf %{buildroot}
  140. %__make DESTDIR=%{buildroot} install
  141. # rename for alternatives
  142. pushd $RPM_BUILD_ROOT%{plugindir}/Output/
  143. mkdir filewriter
  144. mv filewriter.so filewriter/plus.so
  145. popd
  146. %find_lang %{name}
  147. %clean
  148. %__rm -rf %{buildroot}
  149. %post
  150. /sbin/update-alternatives --install \
  151. %{plugindir}/Output/filewriter.so \
  152. filewriter.so \
  153. %{plugindir}/Output/filewriter/plus.so 10
  154. %postun
  155. if [ $1 = 0 ]; then
  156. /sbin/update-alternatives --remove filewriter.so %{plugindir}/Output/filewriter/plus.so
  157. /sbin/update-alternatives --auto filewriter.so
  158. fi
  159. %posttrans
  160. # fix broken symlink if it's there
  161. if [ ! -f %{plugindir}/Output/filewriter.so ] ; then
  162. /sbin/update-alternatives --auto filewriter.so
  163. fi
  164. %files -f %{name}.lang
  165. %defattr(-,root,root,-)
  166. %doc AUTHORS COPYING
  167. # container plugins
  168. %{plugindir}/Container/m3u.so
  169. %{plugindir}/Container/pls.so
  170. %{plugindir}/Container/xspf.so
  171. # effect plugins
  172. %{plugindir}/Effect/compressor.so
  173. %{plugindir}/Effect/crystalizer.so
  174. %{plugindir}/Effect/echo.so
  175. %{plugindir}/Effect/ladspa.so
  176. %{plugindir}/Effect/resample.so
  177. %{plugindir}/Effect/sndstretch.so
  178. %{plugindir}/Effect/stereo.so
  179. %{plugindir}/Effect/voice_removal.so
  180. # general plugins
  181. %{plugindir}/General/alarm.so
  182. %{plugindir}/General/aosd.so
  183. #{plugindir}/General/bluetooth.so
  184. %{plugindir}/General/cd-menu-items.so
  185. %{plugindir}/General/evdev-plug.so
  186. %{plugindir}/General/gnomeshortcuts.so
  187. %{plugindir}/General/gtkui.so
  188. %{plugindir}/General/hotkey.so
  189. %{plugindir}/General/lirc.so
  190. %{plugindir}/General/mtp_up.so
  191. %{plugindir}/General/skins.so
  192. %{plugindir}/General/song_change.so
  193. %{plugindir}/General/statusicon.so
  194. %{plugindir}/General/streambrowser.so
  195. %{plugindir}/General/vfstrace.so
  196. # input plugins
  197. #{plugindir}/Input/alac.so
  198. %{plugindir}/Input/amidi-plug.so
  199. %{plugindir}/Input/amidi-plug/ap-alsa.so
  200. %{plugindir}/Input/cdaudio-ng.so
  201. %{plugindir}/Input/console.so
  202. #{plugindir}/Input/cuesheet_ng.so
  203. #{plugindir}/Input/demac.so
  204. #{plugindir}/Input/madplug.so
  205. %{plugindir}/Input/metronom.so
  206. %{plugindir}/Input/modplug.so
  207. %exclude %{plugindir}/Input/psf2.so
  208. %{plugindir}/Input/sndfile.so
  209. %{plugindir}/Input/tonegen.so
  210. %{plugindir}/Input/vorbis.so
  211. %{plugindir}/Input/vtx.so
  212. %exclude %{plugindir}/Input/xsf.so
  213. # output plugins
  214. %{plugindir}/Output/alsa.so
  215. %{plugindir}/Output/OSS.so
  216. %{plugindir}/Output/crossfade.so
  217. #{plugindir}/Output/filewriter.so
  218. %{plugindir}/Output/filewriter/plus.so
  219. %{plugindir}/Output/icecast.so
  220. %{plugindir}/Output/null.so
  221. %{plugindir}/Output/pulse_audio.so
  222. # transport plugins
  223. %{plugindir}/Transport/gio.so
  224. %{plugindir}/Transport/neon.so
  225. %{plugindir}/Transport/unix-io.so
  226. # visualization plugins
  227. %{plugindir}/Visualization/blur_scope.so
  228. %{plugindir}/Visualization/spectrum.so
  229. %dir %{_datadir}/audacious
  230. %{_datadir}/audacious/images/bookmarks.png
  231. %{_datadir}/audacious/images/shoutcast.png
  232. %{_datadir}/audacious/images/streambrowser-*.png
  233. %{_datadir}/audacious/images/xiph.png
  234. # skins
  235. %{_datadir}/audacious/Skins/*
  236. %files -n audacious-jack
  237. %defattr(-,root,root,-)
  238. %{plugindir}/Output/jackout.so
  239. %files -n audacious-flac
  240. %defattr(-,root,root,-)
  241. %{plugindir}/Input/flacng.so
  242. %files -n audacious-esd
  243. %defattr(-,root,root,-)
  244. %{plugindir}/Output/ESD.so
  245. %files -n audacious-visualization
  246. %defattr(-,root,root,-)
  247. %{plugindir}/Visualization/paranormal.so
  248. %{plugindir}/Visualization/rocklight.so
  249. %{plugindir}/Visualization/projectm-1.0.so
  250. %{_datadir}/audacious/paranormal
  251. %changelog
  252. * Sat Jun 5 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.3-2
  253. - rebuilt with libprojectm-2.0.1
  254. - added BR: libshout-devel
  255. - renamed filewriter.so for alternatives (audacious-lame)
  256. * Sat May 29 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.3-1
  257. - new upstream release
  258. - remove BR: arts-devel
  259. - added BR: libcdio-devel, libcddb-devel
  260. * Sun Aug 9 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.1-1
  261. - new upstream release
  262. - added --disable-mp3 options
  263. * Tue Apr 28 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.5.1-4
  264. - add BuildRequires: libmtp-devel >= 0.3.5
  265. - add Patch10 to fix mtp.c for API changes on libmtp >= 0.3.0
  266. * Sun Apr 26 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.5.1-3
  267. - rebuilt with libmowgli-0.7.0
  268. * Sat Mar 14 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.5.1-2
  269. - add BuildRequires: libsamplerate-devel and mesa-libGLU-devel
  270. - add BuildRequires: neon-devel, lirc and pulseaudio-libs-devel
  271. * Sat Dec 6 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.5.1-1vl5
  272. - new upstream release
  273. * Sun Sep 14 2008 Shu KONNO <owa@bg.wakwak.com> 1.3.5-1vl5
  274. - applied new versioning policy, spec in utf-8
  275. * Sat Sep 22 2007 KAZUKI SHIMURA <ksh753@y5.dion.ne.jp> 1.3.5-0vl2
  276. - add Obsoletes: beepmp, beepmp-alsa
  277. - add Obsoletes: beepmp-flac to audacious-flac package
  278. - add Obsoletes: audioscrobbler-beepmp to audacious-scrobbler package
  279. * Sat Aug 18 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.3.5-0vl1
  280. - new upstream release
  281. - rebuilt with flac-1.2.0
  282. * Fri May 18 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.4-0vl1
  283. - new upstream release
  284. - build with new environment/toolchain
  285. * Mon Mar 12 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.3.1-0vl1
  286. - new upstream release
  287. * Fri Mar 09 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.3.0-0vl1
  288. - new upstream release
  289. - update ja.po (source1)
  290. - update %%_audacious_ver
  291. - overwrite POTFILES.in (source3)
  292. - 1.3.0 contains old version of POTFILES.in
  293. - drop obsolete id3tag.h.patch (patch0)
  294. - drop BuildRequires: libglade2-devel, taglib-devel
  295. - add %%with_lame macro
  296. - enable lame plugin if rpmbuild with '--with lame'
  297. * Thu Feb 22 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.3.0-0vl0.0alpha5.1
  298. - add BuildRequires: libmad-devel
  299. - add id3tag.h.patch (patch0)
  300. * Wed Feb 21 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.3.0-0vl0.0alpha5
  301. - update to 1.3.0alpha5
  302. - update ja.po (source1)
  303. - update %%_audacious_ver
  304. - drop obsolete avoid-null-dereference.patch (patch0)
  305. - drop BuildRequires: libid3tag-devel
  306. - NOTE: taglib is not used, but required in configure.ac
  307. - add plugin to core package
  308. - libmadplug.so instead of libmpg123.so (Input)
  309. - move plugin to visualization package
  310. - librocklight.so (Visualization)
  311. - add Requires: audacious instead of %%{name} to sub packages
  312. * Fri Feb 09 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.3.0-0vl0.0alpha4.1
  313. - add avoid-null-dereference.patch (patch0) to avoid crash
  314. r1316 | nenolod | 2007-02-08 03:35:13 +0900 (Thu, 08 Feb 2007) | 2 lines
  315. - avoid NULL dereference. closes mandriva #28603.
  316. * Thu Feb 08 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.3.0-0vl0.0alpha4
  317. - update to 1.3.0alpha4
  318. - update ja.po (source1)
  319. - update %%_audacious_ver
  320. - update URLs
  321. - add BuildRequires: libprojectM-devel
  322. - add plugin to visualization package
  323. - libprojectm.so (Visualization)
  324. * Wed Jan 31 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.3.0-0vl0.0alpha3
  325. - update to 1.3.0alpha3
  326. - update ja.po (source1)
  327. - add BuildRequires: libid3tag-devel
  328. - add plugins to core package
  329. - libcurl.so, libevdev-plug.so, libstatusicon.so (General)
  330. - add new package: audacious-tta
  331. - libtta.so (Input)
  332. * Sun Jan 21 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.3.0-0vl0.0alpha2.1
  333. - update ja.po (source1)
  334. * Sat Jan 13 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.3.0-0vl0.0alpha2
  335. - update to 1.3.0alpha2
  336. - update %%_audacious_ver
  337. - drop '--disable-gnome-vfs' option from %%configure (no longer supported)
  338. - add audacious-1.2.2's ja.po (source1)
  339. to use some translations prior to plugin separation
  340. - add plugins to core package:
  341. - libstdio.so (Container)
  342. - libmetronom.so, libmodplug.so (Input)
  343. - librocklight.so (Visualization)
  344. - rename paranormal package to visualization
  345. - add Obsoletes: audacious-paranormal
  346. - add plugin: librovascope.so
  347. - fix typo
  348. * Thu Nov 30 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.2.5-0vl2
  349. - separate paranormal package
  350. - add BuildRequires: SDL-devel
  351. * Thu Nov 30 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.2.5-0vl1
  352. - initial build based on audacious
  353. * Sun Aug 27 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.2-0vl1
  354. - new upstream release
  355. * Tue Aug 01 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.1-0vl2
  356. - oops, really update ja.po (source2)
  357. * Mon Jul 31 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.1-0vl1
  358. - new upstream release
  359. - make with 'VERBOSE=1'
  360. - drop obsolete POTFILES.in (source3)
  361. - make update-po before make
  362. - 1.1.1 contains old version of audacious.pot...
  363. - update ja.po (source2)
  364. * Sat Jul 22 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.0-0vl2
  365. - overwrite POTFILES.in (source3)
  366. - 1.1.0 contains old version of POTFILES.in
  367. - update ja.po (source2)
  368. * Sat Jul 22 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.0-0vl1
  369. - new upstream release
  370. - drop unneeded patch0 (was merged)
  371. - add '--enable-ipv6 --enable-chardet' to %%configure option
  372. - add BuildRequires: taglib-devel instead of id3lib-devel
  373. - update ja.po (source2)
  374. * Sun Jun 04 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.0.0-0vl2
  375. - add flac-filename-utf8.patch (patch0)
  376. to convert filename on fileinfo box for FLAC files to UTF-8
  377. - add use-xfont.patch (patch1)
  378. to disable 'Use Bitmap fonts if available' by default
  379. - add ja.po (source2)
  380. * Sat Jun 03 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.0.0-0vl1
  381. - initial build