Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 10.61 KB | None | 0 0
  1. #aut0mat generated bitbake recipe for alsa-lib
  2.  
  3. SUMMARY = "The Advanced Linux Sound Architecture (ALSA) library"
  4. DESCRIPTION = "The Advanced Linux Sound Architecture (ALSA) provides audio and MIDI
  5. functionality to the Linux operating system.
  6.  
  7. This package includes the ALSA runtime libraries to simplify application
  8. programming and provide higher level functionality as well as support for
  9. the older OSS API, providing binary compatibility for most OSS programs.
  10.  
  11. %package  devel
  12. Summary:  Development files from the ALSA library
  13. Requires: %{name} = %{version}-%{release}
  14. Requires: pkgconfig
  15.  
  16. %description devel
  17. The Advanced Linux Sound Architecture (ALSA) provides audio and MIDI
  18. functionality to the Linux operating system.
  19.  
  20. This package includes the ALSA development libraries for developing
  21. against the ALSA libraries and interfaces.
  22.  
  23. %package  -n alsa-ucm
  24. Summary:   ALSA Use Case Manager configuration
  25. BuildArch: noarch
  26. Requires:  %{name} = %{version}-%{release}
  27.  
  28. %description -n alsa-ucm
  29. The Advanced Linux Sound Architecture (ALSA) Use Case Manager configuration
  30. contains alsa-lib configuration of Audio input/output names and routing
  31.  
  32. %package  -n alsa-topology
  33. Summary:   ALSA Topology configuration
  34. BuildArch: noarch
  35. Requires:  %{name} = %{version}-%{release}
  36.  
  37. %description -n alsa-topology
  38. The Advanced Linux Sound Architecture (ALSA) topology configuration
  39. contains alsa-lib configuration of SoC topology
  40.  
  41. %prep
  42. %setup -q -n %{name}-%{version}%{?prever}%{?postver}
  43. %patch1 -p1 -b .config
  44. %patch2 -p1 -b .glibc-open
  45.  
  46. %build
  47. autoreconf -vif
  48. %configure --disable-aload --with-plugindir=%{_libdir}/alsa-lib --disable-alisp
  49.  
  50. sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
  51. sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
  52.  
  53. make %{?_smp_mflags} V=1
  54. make doc
  55.  
  56. %install
  57.  
  58. make DESTDIR=%{buildroot} install
  59.  
  60. mkdir -p %{buildroot}/%{_lib}
  61. mv %{buildroot}%{_libdir}/libasound.so.* %{buildroot}/%{_lib}
  62. ln -snf ../../%{_lib}/libasound.so.2 %{buildroot}%{_libdir}/libasound.so
  63.  
  64. mkdir -p -m 755 %{buildroot}/etc
  65. install -p -m 644 %{SOURCE10} %{buildroot}/etc
  66.  
  67. mkdir -p -m 755 %{buildroot}%{sysmodprobedir}
  68. install -p -m 644 %{SOURCE11} %{buildroot}%{sysmodprobedir}/dist-alsa.conf
  69. install -p -m 644 %{SOURCE12} .
  70.  
  71. mkdir -p %{buildroot}/%{_datadir}/alsa/ucm
  72.  
  73. mkdir -p %{buildroot}/%{_datadir}/alsa/topology
  74.  
  75. find %{buildroot} -name '*.la' -delete
  76.  
  77. rm %{buildroot}/%{_includedir}/asoundlib.h
  78.  
  79. %ldconfig_scriptlets
  80.  
  81. %files
  82. %{!?_licensedir:%global license %%doc}
  83. %license COPYING
  84. %doc doc/asoundrc.txt modprobe-dist-oss.conf
  85. %config %{_sysconfdir}/asound.conf
  86. /%{_lib}/libasound.so.*
  87. %{_bindir}/aserver
  88. %{_datadir}/alsa/
  89. %exclude %{_datadir}/alsa/ucm
  90. %exclude %{_datadir}/alsa/topology
  91. %{sysmodprobedir}/dist-*
  92.  
  93. %files devel
  94. %doc TODO doc/doxygen/
  95. %{_includedir}/alsa/
  96. %{_includedir}/sys/asoundlib.h
  97. %{_libdir}/libasound.so
  98. %{_libdir}/pkgconfig/alsa.pc
  99. %{_datadir}/aclocal/alsa.m4
  100.  
  101. %files -n alsa-ucm
  102. %{_datadir}/alsa/ucm
  103.  
  104. %files -n alsa-topology
  105. %{_datadir}/alsa/topology
  106.  
  107. %changelog
  108. * Fri May 10 2019 Jaroslav Kysela <perex@perex.cz> - 1.1.9-1
  109. - Updated to 1.1.9
  110.  
  111. * Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.8-2
  112. - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
  113.  
  114. * Mon Jan  7 2019 Jaroslav Kysela <perex@perex.cz> - 1.1.8-1
  115. - Updated to 1.1.8
  116.  
  117. * Tue Dec 25 2018 Hans de Goede <hdegoede@redhat.com> - 1.1.7-3
  118. - Fix broken chtrt5645 UCM profile, fixing mic input on chtrt5645 devices
  119.  
  120. * Wed Oct 24 2018 Jaroslav Kysela <perex@perex.cz> - 1.1.7-2
  121. - Moved topology files to alsa-topology
  122. - Updated to 1.1.7
  123.  
  124. * Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.6-3
  125. - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
  126.  
  127. * Wed Apr 04 2018 Jaroslav Kysela <perex@perex.cz> - 1.1.6-2
  128. - Changed add-on directory to /etc/alsa/conf.d
  129.  
  130. * Tue Apr 03 2018 Jaroslav Kysela <perex@perex.cz> - 1.1.6-1
  131. - Updated to 1.1.6
  132.  
  133. * Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.5-2
  134. - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
  135.  
  136. * Tue Nov 14 2017 Jaroslav Kysela <perex@perex.cz> - 1.1.5-1
  137. - Updated to 1.1.5
  138.  
  139. * Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.4.1-3
  140. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
  141.  
  142. * Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.4.1-2
  143. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
  144.  
  145. * Tue Jun 13 2017 Jaroslav Kysela <perex@perex.cz> - 1.1.4.1-1
  146. - Updated to 1.1.4.1
  147.  
  148. * Fri May 12 2017 Jaroslav Kysela <perex@perex.cz> - 1.1.4-1
  149. - Updated to 1.1.4
  150.  
  151. * Mon Mar 20 2017 Peter Robinson <pbrobinson@fedoraproject.org> 1.1.3-3
  152. - Add upstream patch for Raspberry Pi HDMI audio
  153.  
  154. * Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-2
  155. - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
  156.  
  157. * Tue Dec 20 2016 Jaroslav Kysela <perex@perex.cz> - 1.1.3-1
  158. - Updated to 1.1.3
  159.  
  160. * Tue Aug  2 2016 Jaroslav Kysela <perex@perex.cz> - 1.1.2-1
  161. - Updated to 1.1.2
  162.  
  163. * Tue Jul 19 2016 Bastien Nocera <bnocera@redhat.com> - 1.1.1-2
  164. - Add Surface 3 configuration file
  165.  
  166. * Thu Mar 31 2016 Jaroslav Kysela <perex@perex.cz> - 1.1.1-1
  167. - Updated to 1.1.1
  168.  
  169. * Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-4
  170. - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
  171.  
  172. * Mon Nov  9 2015 Jaroslav Kysela <perex@perex.cz> - 1.1.0-3
  173. - Replaced source files with the alsa-lib v1.1.0 final
  174.  
  175. * Thu Nov  5 2015 Jaroslav Kysela <perex@perex.cz> - 1.1.0-2
  176. - Replaced source files with the alsa-lib v1.1.0 test2
  177.  
  178. * Tue Oct 27 2015 Jaroslav Kysela <perex@perex.cz> - 1.1.0-1
  179. - Updated to 1.1.0 test1
  180.  
  181. * Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.29-2
  182. - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
  183.  
  184. * Thu Feb 26 2015 Jaroslav Kysela <perex@perex.cz> - 1.0.29-1
  185. - Updated to 1.0.29
  186.  
  187. * Sat Feb 21 2015 Till Maas <opensource@till.name> - 1.0.28-4
  188. - Rebuilt for Fedora 23 Change
  189.  https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
  190.  
  191. * Tue Feb  3 2015 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.28-3
  192. - Add UCM sub package
  193. - Use %%license
  194.  
  195. * Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.28-2
  196. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
  197.  
  198. * Thu Jul 24 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.28-1
  199. - Update to 1.0.28
  200.  
  201. * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.27.2-3
  202. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  203.  
  204. * Thu Aug  1 2013 Ville Skyttä <ville.skytta@iki.fi> - 1.0.27.2-2
  205. - Fix build with unversioned %%{_docdir_fmt}.
  206.  
  207. * Mon Jul 08 2013 Jaroslav Kysela <perex@perex.cz> - 1.0.27.2-1
  208. - Updated to 1.0.27.2
  209.  
  210. * Thu May 30 2013 Jaroslav Kysela <perex@perex.cz> - 1.0.27.1-2
  211. - Fixed bug#953352
  212.  
  213. * Tue May 21 2013 Jaroslav Kysela <perex@perex.cz> - 1.0.27.1-1
  214. - Updated to 1.0.27.1
  215.  
  216. * Tue May 07 2013 Rex Dieter <rdieter@fedoraproject.org> 1.0.27-3
  217. - pull in upstream fix for building in C90 mode
  218.  
  219. * Thu Apr 11 2013 Jaroslav Kysela <perex@perex.cz> - 1.0.27-2
  220. - move dist-oss.conf to doc as modprobe-dist-oss.conf
  221.  
  222. * Thu Apr 11 2013 Jaroslav Kysela <perex@perex.cz> - 1.0.27-1
  223. - Updated to 1.0.27
  224.  
  225. * Wed Apr 03 2013 Stephen Gallagher <sgallagh@redhat.com> - 1.0.26-4
  226. - Add upstream patch to explicitly include sys/types.h
  227.  
  228. * Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.26-3
  229. - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
  230.  
  231. * Mon Dec  3 2012 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.26-2
  232. - Create and own ucm directory so alsaucm doesn't crash.
  233. - Cleanup and modernise spec
  234.  
  235. * Thu Sep  6 2012 Jaroslav Kysela <jkysela@redhat.com> - 1.0.26-1
  236. - Updated to 1.0.26
  237.  
  238. * Thu Jul 26 2012 Michael Schwendt <mschwendt@fedoraproject.org> - 1.0.25-6
  239. - Don't package ancient ChangeLog that ends at alsa-lib 0.2.0 (#510212).
  240.  
  241. * Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.25-5
  242. - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
  243.  
  244. * Wed May  2 2012 Josh Boyer <jwboyer@redhat.com> - 1.0.25-4
  245. - Install ALSA related module conf files
  246.  
  247. * Wed Feb  1 2012 Jaroslav Kysela <jkysela@redhat.com> - 1.0.25-3
  248. - Remove the pulse audio configuration from /etc/asound.conf
  249.  
  250. * Sat Jan 28 2012 Jaroslav Kysela <jkysela@redhat.com> - 1.0.25-1
  251. - Updated to 1.0.25 final
  252.  
  253. * Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.24-3
  254. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  255.  
  256. * Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.24-2
  257. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  258.  
  259. * Fri Jan 28 2011 Jaroslav Kysela <jkysela@redhat.com> - 1.0.24-1
  260. - Updated to 1.0.24 final
  261.  
  262. * Tue Nov  9 2010 Jochen Schmitt <Jochen herr-schmitt de> 1.0.23-2
  263. - Set plugindir to %%{_libdir}/alsa-lib (bz#651507)
  264.  
  265. * Fri Apr 16 2010 Jaroslav Kysela <jkysela@redhat.com> - 1.0.23-1
  266. - Updated to 1.0.23 final
  267.  
  268. * Mon Dec 28 2009 Jaroslav Kysela <jkysela@redhat.com> - 1.0.22-1
  269. - Updated to 1.0.22 final
  270. - Fix file descriptor leak in pcm_hw plugin
  271. - Fix sound distortions for S24_LE - softvol plugin
  272.  
  273. * Wed Sep  9 2009 Jaroslav Kysela <jkysela@redhat.com> - 1.0.21-3
  274. - Add Speaker and Beep control names to mixer weight list
  275. - Fix redhat bug #521988
  276.  
  277. * Wed Sep  2 2009 Jaroslav Kysela <jkysela@redhat.com> - 1.0.21-1
  278. - Updated to 1.0.21 final
  279.  
  280. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.20-2
  281. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  282.  
  283. * Wed May  6 2009 Jaroslav Kysela <jkysela@redhat.com> - 1.0.20-1
  284. - Updated to 1.0.20 final
  285.  
  286. * Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.19-3
  287. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  288.  
  289. * Wed Feb  4 2009 Jaroslav Kysela <jkysela@redhat.com> - 1.0.19-2
  290. - Make doxygen documentation same for all architectures (bz#465205)
  291.  
  292. * Tue Jan 20 2009 Jaroslav Kysela <jkysela@redhat.com> - 1.0.19-1
  293. - Updated to 1.0.19 final
  294. "
  295. HOMEPAGE = "http://www.alsa-project.org/"
  296. BUGTRACKER =
  297. SECTION =
  298. LICENSE = "LGPLv2+"
  299. LIC_FILES_CHKSUM =
  300.  
  301. SRC_URI = "asound.conf\
  302. modprobe-dist-alsa.conf\
  303. modprobe-dist-oss.conf"
  304.  
  305. SRC_URL = "alsa-lib-1.1.9-config.patch\
  306. alsa-lib-1.0.14-glibc-open.patch"
  307.  
  308. DEPENDS = "doxygen autoconf automake libtool"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement