Add patch and rework dependency
This commit is contained in:
parent
0d984f08ba
commit
bfafdb1b88
24
0001-Remove-uneeded-xorg-server-dependency.patch
Normal file
24
0001-Remove-uneeded-xorg-server-dependency.patch
Normal file
@ -0,0 +1,24 @@
|
||||
From bc13ec00c19a3761fa11fb042601ae721458d366 Mon Sep 17 00:00:00 2001
|
||||
From: Nicolas Chauvet <kwizart@gmail.com>
|
||||
Date: Fri, 20 May 2016 17:20:55 +0200
|
||||
Subject: [PATCH] Remove uneeded xorg-server dependency
|
||||
|
||||
---
|
||||
configure.ac | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 27da191..a0b2638 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -100,7 +100,6 @@ AX_PTHREAD()
|
||||
|
||||
PKG_CHECK_MODULES([X11], [x11])
|
||||
PKG_CHECK_MODULES([XEXT], [xext])
|
||||
-PKG_CHECK_MODULES([XORG], [xorg-server >= 1.11.0])
|
||||
PKG_CHECK_MODULES([GLPROTO], [glproto])
|
||||
|
||||
dnl Checks for typedefs, structures, and compiler characteristics.
|
||||
--
|
||||
2.4.11
|
||||
|
@ -11,6 +11,8 @@ Summary: The GL Vendor-Neutral Dispatch library
|
||||
License: MIT and BSD and LGPLv2+
|
||||
URL: https://github.com/NVIDIA/libglvnd
|
||||
Source0: https://github.com/NVIDIA/%{name}/archive/%{commit0}.tar.gz#/%{name}-%{shortcommit0}.tar.gz
|
||||
#https://github.com/NVIDIA/libglvnd/pull/90
|
||||
Patch0: 0001-Remove-uneeded-xorg-server-dependency.patch
|
||||
|
||||
#This library only target few architectures use case
|
||||
ExclusiveArch: x86_64 i686 armv7hl
|
||||
@ -18,6 +20,7 @@ ExclusiveArch: x86_64 i686 armv7hl
|
||||
BuildRequires: libtool
|
||||
|
||||
BuildRequires: libxml2-python
|
||||
BuildRequires: pkgconfig(glproto)
|
||||
BuildRequires: pkgconfig(x11)
|
||||
BuildRequires: pkgconfig(xv)
|
||||
|
||||
@ -53,6 +56,7 @@ developing applications that use %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{?commit0}%{?!commit0:%{version}}
|
||||
%patch0 -p1
|
||||
autoreconf -vif
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user