audacious-plugins-vl.spec 14 KB

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