xorg-x11-drv-amdgpu-vl.spec 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. %global tarball xf86-video-amdgpu
  2. %global moduledir %(pkg-config xorg-server --variable=moduledir )
  3. %global driverdir %{moduledir}/drivers
  4. # Xorg cannot load hardened build
  5. %undefine _hardened_build
  6. Name: xorg-x11-drv-amdgpu
  7. Summary: AMD GPU video driver
  8. Summary(ja): xorg X11 amdgpu ビデオドライバ
  9. Version: 19.1.0
  10. Release: 1%{?_dist_release}
  11. Group: User Interface/X Hardware Support
  12. Vendor: Project Vine
  13. Distribution: Vine Linux
  14. License: MIT
  15. URL: http://www.x.org
  16. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  17. Source0: https://www.x.org/archive/individual/driver/%{tarball}-%{version}.tar.bz2
  18. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  19. BuildRequires: python
  20. BuildRequires: xorg-x11-server-sdk >= 1.6
  21. BuildRequires: mesa-libGL-devel
  22. BuildRequires: mesa-libgbm-devel
  23. BuildRequires: libdrm-devel >= 2.4.72
  24. BuildRequires: kernel-headers
  25. BuildRequires: automake autoconf libtool pkgconfig
  26. BuildRequires: xorg-x11-util-macros
  27. BuildRequires: eudev-libudev-devel
  28. Requires: hwdata
  29. Requires: xorg-x11-server-Xorg
  30. Requires: libdrm >= 2.4.72
  31. %description
  32. X.Org X11 AMDGPU driver
  33. %prep
  34. %autosetup -n %{tarball}-%{version}
  35. %build
  36. #autoreconf -fiv
  37. %configure --disable-static --enable-glamor
  38. %make_build
  39. %install
  40. %make_install
  41. find %{buildroot} -name '*.la' -exec rm -f {} ';'
  42. %post -p /sbin/ldconfig
  43. %postun -p /sbin/ldconfig
  44. %files
  45. %{driverdir}/amdgpu_drv.so
  46. %{_datadir}/X11/xorg.conf.d/10-amdgpu.conf
  47. %{_mandir}/man4/amdgpu.4*
  48. %changelog
  49. * Sat May 02 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 19.1.0-1
  50. - new upstream release.
  51. - built with xserver-1.20.8.
  52. * Fri Feb 16 2018 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.4.0-3
  53. - rebuild with xserver-1.19.6
  54. * Wed Feb 14 2018 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.4.0-2
  55. - add Distri/Vendor tags
  56. * Wed Feb 14 2018 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.4.0-1
  57. - Initial build for VineLinux (Vine7)
  58. - This package is based on xorg-x11-drv-amdgpu-1.4.0-1.fc28
  59. Thanks to fc team.