[packages/xorg-driver-video-amdgpu] - new

qboosh qboosh at pld-linux.org
Mon Dec 7 20:24:41 CET 2015


commit 8f8cb6c8a5d5bbe2d6a538d2619e5c05e08a7774
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Dec 7 20:25:00 2015 +0100

    - new

 xorg-driver-video-amdgpu.spec | 90 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 90 insertions(+)
---
diff --git a/xorg-driver-video-amdgpu.spec b/xorg-driver-video-amdgpu.spec
new file mode 100644
index 0000000..62f32bf
--- /dev/null
+++ b/xorg-driver-video-amdgpu.spec
@@ -0,0 +1,90 @@
+#
+# Conditional build:
+%bcond_without	glamor		# glamor, new GL-based acceleration
+#
+%define	libdrm_ver	2.4.46
+Summary:	X.org video driver for AMD Radeon GPUs
+Summary(pl.UTF-8):	Sterowniki obrazu X.org do układów graficznych AMD Radeon
+Name:		xorg-driver-video-amdgpu
+Version:	1.0.0
+Release:	1
+License:	MIT
+Group:		X11/Applications
+Source0:	http://xorg.freedesktop.org/releases/individual/driver/xf86-video-amdgpu-%{version}.tar.bz2
+# Source0-md5:	251e86a21b7d4b5c3906b42c087c47b2
+URL:		http://xorg.freedesktop.org/
+BuildRequires:	Mesa-libGL-devel
+BuildRequires:	autoconf >= 2.60
+BuildRequires:	automake
+%{?with_glamor:BuildRequires:	xorg-xserver-server-devel >= 1.16.0}
+BuildRequires:	libdrm-devel >= %{libdrm_ver}
+BuildRequires:	libtool
+BuildRequires:	pkgconfig >= 1:0.19
+BuildRequires:	rpmbuild(macros) >= 1.389
+BuildRequires:	udev-devel
+BuildRequires:	xorg-proto-fontsproto-devel
+BuildRequires:	xorg-proto-randrproto-devel
+BuildRequires:	xorg-proto-renderproto-devel
+BuildRequires:	xorg-proto-videoproto-devel
+BuildRequires:	xorg-proto-xextproto-devel >= 7.0.99.1
+BuildRequires:	xorg-proto-xf86driproto-devel
+BuildRequires:	xorg-util-util-macros >= 1.8
+BuildRequires:	xorg-xserver-server-devel >= 1.8
+%{?requires_xorg_xserver_videodrv}
+%{?with_glamor:Requires:	xorg-xserver-server >= 1.16.0}
+Requires:	libdrm >= %{libdrm_ver}
+Requires:	xorg-xserver-libdri >= 1.8
+Requires:	xorg-xserver-libglx >= 1.8
+Requires:	xorg-xserver-server >= 1.8
+Provides:	xorg-driver-video
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+amdgpu is an Xorg video driver for AMD RADEON-based video cards with
+the following features:
+- support for 24-bit pixel depth,
+- RandR support up to version 1.4,
+- 3D acceleration.
+
+This driver supports CI and newer families' video cards.
+
+%description
+amdgpu to sterownik obraz uXorg dla kart graficznych opartych na
+układach AMD RADEON. Ma następujące możliwości:
+- obsługa 24-bitowej głębi kolorów,
+- obsługa RandR do wersji 1.4,
+- akceleracja 3D.
+
+Obsługuje karty graficzne z rodziny CI i nowszych.
+
+%prep
+%setup -q -n xf86-video-amdgpu-%{version}
+
+%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+	%{!?with_glamor:--disable-glamor}
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/*/*.la
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc COPYING ChangeLog README
+%attr(755,root,root) %{_libdir}/xorg/modules/drivers/amdgpu_drv.so
+%{_datadir}/X11/xorg.conf.d/10-amdgpu.conf
+%{_mandir}/man4/amdgpu.4*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/xorg-driver-video-amdgpu.git/commitdiff/8f8cb6c8a5d5bbe2d6a538d2619e5c05e08a7774



More information about the pld-cvs-commit mailing list