1 Star 0 Fork 3

liubuguiii/xorg-x11-drv-amdgpu

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
xorg-x11-drv-amdgpu.spec 1.44 KB
一键复制 编辑 原始数据 按行查看 历史
%global moduledir %(pkg-config xorg-server --variable=moduledir )
%global driverdir %{moduledir}/drivers
# Xorg cannot load hardened build
%undefine _hardened_build
Name: xorg-x11-drv-amdgpu
Version: 22.0.0
Release: 2
Summary: AMD GPU video driver
License: MIT
URL: https://www.x.org/wiki
Source: https://www.x.org/archive/individual/driver/xf86-video-amdgpu-%{version}.tar.xz
BuildRequires: make
BuildRequires: xorg-x11-server-devel
BuildRequires: mesa-libGL-devel
BuildRequires: mesa-libgbm-devel
BuildRequires: libdrm-devel
BuildRequires: kernel-headers
BuildRequires: automake autoconf libtool pkgconfig
BuildRequires: xorg-x11-util-macros
BuildRequires: libudev-devel
BuildRequires: xorg-x11-glamor-devel
Requires: Xorg %(xserver-sdk-abi-requires ansic)
Requires: Xorg %(xserver-sdk-abi-requires videodrv)
Requires: libdrm >= 2.4.89
%description
X.Org X11 AMDGPU driver
%prep
%autosetup -p1 -n xf86-video-amdgpu-%{version}
%build
%configure --disable-static --enable-glamor
%make_build
%install
%make_install
find %{buildroot} -name '*.la' -exec rm -f {} ';'
%ldconfig_scriptlets
%files
%{driverdir}/amdgpu_drv.so
%{_datadir}/X11/xorg.conf.d/10-amdgpu.conf
%{_mandir}/man4/amdgpu.4*
%changelog
* Tue Dec 13 2022 liuxinhao <liuxinhao@kylinsec.com.cn> - 22.0.0-2
- undefine _hardened_build , partially enable lazybinding to avoid driver loading failure on xorg
* Thu Sep 01 2022 liuxinhao <liuxinhao@kylinsec.com.cn> - 22.0.0-1
- Package init
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/liubuguiii/xorg-x11-drv-amdgpu.git
git@gitee.com:liubuguiii/xorg-x11-drv-amdgpu.git
liubuguiii
xorg-x11-drv-amdgpu
xorg-x11-drv-amdgpu
master

搜索帮助