Эх сурвалжийг харах

xorg-x11-drv-amdgpu: new package

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@11476 ec354946-7b23-47d6-9f5a-488ba84defc7
iwamoto 7 жил өмнө
parent
commit
a467ae1c38

+ 73 - 0
x/xorg-x11-drv-amdgpu/xorg-x11-drv-amdgpu-vl.spec

@@ -0,0 +1,73 @@
+%global tarball xf86-video-amdgpu
+%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:	1.4.0
+Release:   	3%{?_dist_release}
+
+Summary:	AMD GPU video driver
+Summary(ja):    xorg X11 amdgpu ビデオドライバ
+Group:		User Interface/X Hardware Support
+License:	MIT
+
+URL:		https://www.x.org/wiki
+Source:		https://www.x.org/archive/individual/driver/%{tarball}-%{version}.tar.bz2
+
+ExcludeArch:	s390 s390x
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildRequires: python
+BuildRequires: xorg-x11-server-sdk >= 1.6
+BuildRequires: mesa-libGL-devel
+BuildRequires: mesa-libgbm-devel
+BuildRequires: libdrm-devel >= 2.4.72
+BuildRequires: kernel-headers
+BuildRequires: automake autoconf libtool pkgconfig
+BuildRequires: xorg-x11-util-macros
+BuildRequires: eudev-libudev-devel
+
+Requires:  hwdata
+Requires:  xorg-x11-server-Xorg
+Requires:  libdrm >= 2.4.72
+
+Vendor: Project Vine
+Distribution: Vine Linux
+
+%description
+X.Org X11 AMDGPU driver
+
+%prep
+%autosetup -n %{tarball}-%{version}
+
+%build
+#autoreconf -fiv
+%configure --disable-static --enable-glamor
+%make_build
+
+%install
+%make_install
+find %{buildroot} -name '*.la' -exec rm -f {} ';'
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%{driverdir}/amdgpu_drv.so
+%{_datadir}/X11/xorg.conf.d/10-amdgpu.conf
+%{_mandir}/man4/amdgpu.4*
+
+%changelog
+* Fri Feb 16 2018 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.4.0-3
+- rebuild with xserver-1.19.6
+
+* Wed Feb 14 2018 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.4.0-2
+- add Distri/Vendor tags
+
+* Wed Feb 14 2018 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.4.0-1
+- Initial build for VineLinux (Vine7)
+- This package is based on xorg-x11-drv-amdgpu-1.4.0-1.fc28
+  Thanks to fc team.