libva-vl.spec 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. Name: libva
  2. Version: 2.8.0
  3. Release: 1%{?_dist_release}
  4. Summary: Video Acceleration (VA) API for Linux
  5. Group: System Environment/Libraries
  6. Vendor: Project Vine
  7. Distribution: Vine Linux
  8. Packager: daisuke
  9. License: MIT
  10. URL: https://github.com/intel/libva
  11. Source0: https://github.com/intel/libva/releases/download/%{version}/%{name}-%{version}.tar.bz2
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  13. BuildRequires: libudev-devel
  14. BuildRequires: libXext-devel
  15. BuildRequires: libXfixes-devel
  16. BuildRequires: libdrm-devel
  17. BuildRequires: libpciaccess-devel
  18. BuildRequires: mesa-libEGL-devel
  19. BuildRequires: mesa-libGL-devel
  20. BuildRequires: mesa-libGLES-devel
  21. BuildRequires: libtool, automake, autoconf
  22. Obsoletes: libva-tools < 2.8.0
  23. %description
  24. The libva library implements the Video Acceleration (VA) API for Linux.
  25. The library loads a hardware dependendent driver.
  26. %package devel
  27. Summary: Development tools for programs which will use %{name}
  28. Group: Development/Libraries
  29. Requires: %{name} = %{version}-%{release}
  30. %description devel
  31. This package contains the development files for %{name}.
  32. %package tools
  33. Summary: Sample tools for %{name}
  34. Requires: %{name} = %{version}-%{release}
  35. %description tools
  36. This package contains sample tools for %{name}.
  37. %prep
  38. %setup -q
  39. %build
  40. if [ -x ./autogen.sh ]; then
  41. ./autogen.sh
  42. fi
  43. %configure \
  44. --disable-static \
  45. --enable-x11 \
  46. --enable-drm \
  47. --enable-glx \
  48. --enable-va-messaging
  49. # remove rpath from libtool
  50. sed -i.rpath 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
  51. sed -i.rpath 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
  52. make %{?_smp_mflags}
  53. %install
  54. rm -rf %{buildroot}
  55. %make_install INSTALL="install -p"
  56. find %{buildroot} -regex ".*\.la$" | xargs rm -f --
  57. %clean
  58. rm -rf %{buildroot}
  59. %post -p /sbin/ldconfig
  60. %postun -p /sbin/ldconfig
  61. %files
  62. %defattr(-,root,root,-)
  63. %license COPYING
  64. %{_libdir}/lib*.so.*
  65. %ghost %{_sysconfdir}/libva.conf
  66. %files devel
  67. %defattr(-,root,root,-)
  68. %{_includedir}/va
  69. %{_libdir}/lib*.so
  70. %{_libdir}/pkgconfig/*
  71. %changelog
  72. * Thu Jul 30 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.8.0-1
  73. - new upstream release.
  74. * Sun Jul 10 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2
  75. - rebuild with gcc-5.4.0
  76. * Mon Oct 29 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.0-1
  77. - new upstream release
  78. * Thu Nov 03 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.15-1
  79. - new upstram release
  80. - hardware specific drivers are splitted.
  81. * Wed Aug 24 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.14-1
  82. - new upstream release
  83. * Fri Apr 15 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.12-1
  84. - new upstream release
  85. * Sun Mar 06 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.10-1
  86. - new upstream release
  87. * Fri Jan 28 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.7-1
  88. - new upstream release
  89. * Wed Aug 18 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-1
  90. - new upstream release
  91. * Wed Feb 17 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.1-1
  92. - update to 1.0.1
  93. * Thu Jan 29 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.29-4
  94. - update to sds8
  95. * Sun Jan 25 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.29-3
  96. - add 302_vdpau_vc1.patch from sds
  97. * Fri Jan 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.29-2
  98. - add splitted desktop's patches
  99. * Thu Jan 22 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.29-1
  100. - initial build for Vine Linux