gstreamer1-plugins-base-vl.spec 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294
  1. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  2. %define major 1.0
  3. %define _gst_ver 1.20.3
  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.22.6
  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. -Dorc=enabled \
  120. -Dtremor=disabled \
  121. -Dlibvisual=disabled \
  122. -Dtests=disabled \
  123. -Dexamples=disabled
  124. %meson_build
  125. %install
  126. [ -n $RPM_BUILD_ROOT -a $RPM_BUILD_ROOT != / ] && rm -rf $RPM_BUILD_ROOT
  127. %meson_install
  128. %find_lang %{po_package}
  129. # Clean out files that should not be part of the rpm.
  130. find $RPM_BUILD_ROOT -name '*.la' -exec rm -fv {} ';'
  131. %clean
  132. [ -n $RPM_BUILD_ROOT -a $RPM_BUILD_ROOT != / ] && rm -rf $RPM_BUILD_ROOT
  133. %files -f %{po_package}.lang
  134. %defattr(-,root,root)
  135. %license COPYING*
  136. %doc AUTHORS ChangeLog NEWS README RELEASE REQUIREMENTS
  137. # helper programs
  138. %{_bindir}/gst-*
  139. %{_mandir}/man1/gst-*
  140. # libraries
  141. %{_libdir}/libgst*-%{major}.so.*
  142. %{_libdir}/girepository-1.0/*.typelib
  143. %{_libdir}/gstreamer-%{major}/libgst*.so
  144. %{_datadir}/gst-plugins-base/1.0/license-translations.dict
  145. %files devel
  146. %defattr(-,root,root)
  147. %{_datadir}/gir-1.0/*.gir
  148. %dir %{_includedir}/gstreamer-%{major}
  149. %dir %{_includedir}/gstreamer-%{major}/gst
  150. %{_includedir}/gstreamer-%{major}/gst/*
  151. %dir %{_libdir}/gstreamer-%{major}
  152. %{_libdir}/gstreamer-%{major}/*
  153. %{_libdir}/pkgconfig/*.pc
  154. %{_libdir}/libgst*-%{major}.so
  155. # compat32
  156. %if %{build_compat32}
  157. %files -n compat32-%{name}
  158. %defattr(-,root,root)
  159. %{_libdir}/libgst*-%{major}.so.*
  160. %{_libdir}/gstreamer-%{major}/*.so
  161. %files -n compat32-%{name}-devel
  162. %defattr(-,root,root)
  163. %{_libdir}/libgst*-%{major}.so
  164. %endif
  165. %changelog
  166. * Mon Oct 02 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.22.6-1
  167. - new upstream release.
  168. * Fri Jul 29 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.20.3-1
  169. - new upstream release.
  170. * Fri Apr 23 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.18.4-1
  171. - new upstream release.
  172. - dropped ldconfig scriptlets.
  173. * Fri Apr 17 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.16.2-1
  174. - new upstream release.
  175. * Sat Jun 22 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.16.0-1
  176. - new upstream release.
  177. - disabled to build docs.
  178. * Thu Feb 22 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.12.4-1
  179. - new upstream release.
  180. * Fri Jul 15 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.2-1
  181. - new upstream release
  182. * Wed May 04 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.4-1
  183. - new upstream release
  184. * Sun Jan 24 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.3-1
  185. - new upstream release
  186. * Sat Dec 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.2-1
  187. - new upstream release
  188. * Sat Oct 31 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1
  189. - new upstream release
  190. * Sun Mar 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.5-1
  191. - new upstream release
  192. * Mon Nov 17 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.4-1
  193. - new upstream release
  194. * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.3-1
  195. - new upstream release
  196. * Sat Apr 19 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.4-1
  197. - new upstream release
  198. * Sun Mar 16 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.3-1
  199. - new upstream release
  200. * Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.2-1
  201. - new upstream release
  202. * Sun Nov 24 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.1-1
  203. - new upstream release
  204. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1
  205. - new upstream release
  206. * Sat Aug 31 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.10-1
  207. - new upstream release
  208. * Sun Aug 11 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.9-1
  209. - new upstream release
  210. * Mon Jul 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.8-1
  211. - new upstream release
  212. * Sun Apr 28 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.7-1
  213. - new upstream release
  214. * Sat Mar 23 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.6-1
  215. - new upstream release
  216. * Wed Jan 09 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.5-1
  217. - new upstream release
  218. * Wed Jan 02 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.4-1
  219. - new upstream release
  220. * Fri Oct 26 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.2-1
  221. - new upstream release
  222. * Mon Oct 08 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.1-1
  223. - new upstream release
  224. * Fri Sep 28 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.0-1
  225. - initial build