gstreamer1-plugins-base-vl.spec 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289
  1. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  2. %define major 1.0
  3. %define _gst_ver 1.18.0
  4. %define _glib2_ver 2.55.0
  5. %define _gtk3_ver 3.20.6
  6. %define _qt5_ver 5.15
  7. %define _check_ver 0.9.2
  8. %define _python_ver 3.8
  9. %define _alsa_lib_ver 0.9.1
  10. %define _libogg_ver 1.0
  11. %define _libvorbis_ver 1.0
  12. %define _freetype2_ver 2.0.9
  13. %define _orc_ver 0.4.22
  14. %define po_package gst-plugins-base-%{major}
  15. Summary: GStreamer Streaming-media framework base plugins
  16. Summary(ja): GStreamer ストリーミングメディアフレームワーク用基本プラグイン
  17. Name: gstreamer1-plugins-base
  18. Version: 1.18.4
  19. Release: 1%{?_dist_release}
  20. Group: system,multimedia
  21. Vendor: Project Vine
  22. Distribution: Vine Linux
  23. License: LGPL
  24. URL: https://gstreamer.freedesktop.org/
  25. Source: https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-%{version}.tar.xz
  26. Patch0: 0001-missing-plugins-Remove-the-mpegaudioversion-field.patch
  27. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  28. BuildRequires: alsa-lib-devel >= %{_alsa_lib_ver}
  29. BuildRequires: gdk-pixbuf2-devel
  30. BuildRequires: gstreamer1-devel >= %{_gst_ver}
  31. BuildRequires: gtk3-devel >= %{_gtk3_ver}
  32. BuildRequires: cdparanoia-devel
  33. BuildRequires: libjpeg-turbo-devel
  34. BuildRequires: libogg-devel >= %{_libogg_ver}
  35. BuildRequires: libtheora-devel
  36. BuildRequires: libvorbis-devel >= %{_libvorbis_ver}
  37. BuildRequires: libXv-devel
  38. BuildRequires: meson
  39. BuildRequires: opus-devel
  40. BuildRequires: orc-devel >= %{_orc_ver}
  41. BuildRequires: pango-devel
  42. # for autogen.sh
  43. BuildRequires: mesa-libGL-devel
  44. BuildRequires: mesa-libGLES-devel
  45. BuildRequires: mesa-libGLU-devel
  46. BuildRequires: mesa-libEGL-devel
  47. BuildRequires: wayland-devel
  48. BuildRequires: egl-wayland-devel
  49. BuildRequires: graphene-devel
  50. # pkgconfig-style deps specifically searched-for by autotools/configure
  51. BuildRequires: pkgconfig(wayland-client) >= 1.0
  52. BuildRequires: pkgconfig(wayland-cursor) >= 1.0
  53. BuildRequires: pkgconfig(wayland-egl)
  54. BuildRequires: pkgconfig(wayland-protocols) >= 1.15
  55. BuildRequires: iso-codes
  56. Requires: gstreamer1 >= %{_gst_ver}
  57. %description
  58. GStreamer is a streaming-media framework, based on graphs of filters which
  59. operate on media data. Applications using this library can do anything
  60. from real-time sound processing to playing videos, and just about anything
  61. else media-related. Its plugin-based architecture means that new data
  62. types or processing capabilities can be added simply by installing new
  63. plugins.
  64. This package contains a set of well-maintained base plugins.
  65. %package devel
  66. Summary: Libraries/include files for GStreamer base plugins
  67. Summary(ja): GStreamer 基本プラグインの開発用ライブラリ
  68. Group: programming
  69. Requires: %{name} = %{version}-%{release}
  70. Requires: gstreamer1-devel >= %{_gst_ver}
  71. %description devel
  72. GStreamer is a streaming-media framework, based on graphs of filters which
  73. operate on media data. Applications using this library can do anything
  74. from real-time sound processing to playing videos, and just about anything
  75. else media-related. Its plugin-based architecture means that new data
  76. types or processing capabilities can be added simply by installing new
  77. plugins.
  78. This package contains GStreamer base plugins library depvelopment and header
  79. files.
  80. # compat32
  81. %package -n compat32-%{name}
  82. Summary: GStreamer Streaming-media framework base plugins
  83. Summary(ja): GStreamer ストリーミングメディアフレームワーク用基本プラグイン
  84. Group: system,multimedia,legacy
  85. Requires: %{name} = %{version}-%{release}
  86. %description -n compat32-%{name}
  87. GStreamer is a streaming-media framework, based on graphs of filters which
  88. operate on media data. Applications using this library can do anything
  89. from real-time sound processing to playing videos, and just about anything
  90. else media-related. Its plugin-based architecture means that new data
  91. types or processing capabilities can be added simply by installing new
  92. plugins.
  93. This package contains a set of well-maintained base plugins.
  94. %package -n compat32-%{name}-devel
  95. Summary: Libraries/include files for GStreamer base plugins
  96. Summary(ja): GStreamer 基本プラグインの開発用ライブラリ
  97. Group: programming,legacy
  98. Requires: compat32-%{name} = %{version}-%{release}
  99. Requires: %{name}-devel = %{version}-%{release}
  100. Requires: compat32-gstreamer1-devel >= %{_gst_ver}
  101. %description -n compat32-%{name}-devel
  102. GStreamer is a streaming-media framework, based on graphs of filters which
  103. operate on media data. Applications using this library can do anything
  104. from real-time sound processing to playing videos, and just about anything
  105. else media-related. Its plugin-based architecture means that new data
  106. types or processing capabilities can be added simply by installing new
  107. plugins.
  108. This package contains GStreamer base plugins library depvelopment and header
  109. files.
  110. %debug_package
  111. %prep
  112. %setup -q -n gst-plugins-base-%{version}
  113. %patch0 -p1
  114. %build
  115. %meson \
  116. -Dpackage-name='Vine Linux GStreamer-plugins-base package' \
  117. -Dpackage-origin='https://vinelinux.org/' \
  118. -Ddoc=disabled \
  119. -Dgtk_doc=disabled \
  120. -Dorc=enabled \
  121. -Dtremor=disabled \
  122. -Dlibvisual=disabled \
  123. -Dtests=disabled \
  124. -Dexamples=disabled
  125. %meson_build
  126. %install
  127. [ -n $RPM_BUILD_ROOT -a $RPM_BUILD_ROOT != / ] && rm -rf $RPM_BUILD_ROOT
  128. %meson_install
  129. %find_lang %{po_package}
  130. # Clean out files that should not be part of the rpm.
  131. find $RPM_BUILD_ROOT -name '*.la' -exec rm -fv {} ';'
  132. %clean
  133. [ -n $RPM_BUILD_ROOT -a $RPM_BUILD_ROOT != / ] && rm -rf $RPM_BUILD_ROOT
  134. %files -f %{po_package}.lang
  135. %defattr(-,root,root)
  136. %license COPYING*
  137. %doc AUTHORS ChangeLog NEWS README RELEASE REQUIREMENTS
  138. # helper programs
  139. %{_bindir}/gst-*
  140. %{_mandir}/man1/gst-*
  141. # libraries
  142. %{_libdir}/libgst*-%{major}.so.*
  143. %{_libdir}/girepository-1.0/*.typelib
  144. %{_libdir}/gstreamer-%{major}/libgst*.so
  145. %{_datadir}/gst-plugins-base/1.0/license-translations.dict
  146. %files devel
  147. %defattr(-,root,root)
  148. %{_datadir}/gir-1.0/*.gir
  149. %dir %{_includedir}/gstreamer-%{major}
  150. %dir %{_includedir}/gstreamer-%{major}/gst
  151. %{_includedir}/gstreamer-%{major}/gst/*
  152. %dir %{_libdir}/gstreamer-%{major}
  153. %{_libdir}/gstreamer-%{major}/*
  154. %{_libdir}/pkgconfig/*.pc
  155. %{_libdir}/libgst*-%{major}.so
  156. # compat32
  157. %if %{build_compat32}
  158. %files -n compat32-%{name}
  159. %defattr(-,root,root)
  160. %{_libdir}/libgst*-%{major}.so.*
  161. %{_libdir}/gstreamer-%{major}/*.so
  162. %files -n compat32-%{name}-devel
  163. %defattr(-,root,root)
  164. %{_libdir}/libgst*-%{major}.so
  165. %endif
  166. %changelog
  167. * Fri Apr 23 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.18.4-1
  168. - new upstream release.
  169. - dropped ldconfig scriptlets.
  170. * Fri Apr 17 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.16.2-1
  171. - new upstream release.
  172. * Sat Jun 22 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.16.0-1
  173. - new upstream release.
  174. - disabled to build docs.
  175. * Thu Feb 22 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.12.4-1
  176. - new upstream release.
  177. * Fri Jul 15 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.2-1
  178. - new upstream release
  179. * Wed May 04 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.4-1
  180. - new upstream release
  181. * Sun Jan 24 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.3-1
  182. - new upstream release
  183. * Sat Dec 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.2-1
  184. - new upstream release
  185. * Sat Oct 31 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1
  186. - new upstream release
  187. * Sun Mar 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.5-1
  188. - new upstream release
  189. * Mon Nov 17 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.4-1
  190. - new upstream release
  191. * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.3-1
  192. - new upstream release
  193. * Sat Apr 19 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.4-1
  194. - new upstream release
  195. * Sun Mar 16 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.3-1
  196. - new upstream release
  197. * Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.2-1
  198. - new upstream release
  199. * Sun Nov 24 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.1-1
  200. - new upstream release
  201. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1
  202. - new upstream release
  203. * Sat Aug 31 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.10-1
  204. - new upstream release
  205. * Sun Aug 11 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.9-1
  206. - new upstream release
  207. * Mon Jul 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.8-1
  208. - new upstream release
  209. * Sun Apr 28 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.7-1
  210. - new upstream release
  211. * Sat Mar 23 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.6-1
  212. - new upstream release
  213. * Wed Jan 09 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.5-1
  214. - new upstream release
  215. * Wed Jan 02 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.4-1
  216. - new upstream release
  217. * Fri Oct 26 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.2-1
  218. - new upstream release
  219. * Mon Oct 08 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.1-1
  220. - new upstream release
  221. * Fri Sep 28 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.0-1
  222. - initial build