[packages/SDL2] - unified opengl bcond name

qboosh qboosh at pld-linux.org
Mon May 11 18:54:23 CEST 2020


commit 8a4f202566fc6717d18e512824e506f168ad8020
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon May 11 18:54:51 2020 +0200

    - unified opengl bcond name

 SDL2.spec | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/SDL2.spec b/SDL2.spec
index 700b210..68a53be 100644
--- a/SDL2.spec
+++ b/SDL2.spec
@@ -7,7 +7,7 @@
 %bcond_with	arts		# aRts audio support
 %bcond_with	esd		# EsounD audio support
 %bcond_with	jack		# JACK audio support
-%bcond_without	gl		# OpenGL (GLX) support
+%bcond_without	opengl		# OpenGL (GLX) support
 %bcond_without	gles		# OpenGL ES (EGL) support
 %bcond_with	kms		# KMS/DRM graphics support
 %bcond_without	vulkan		# Vulkan graphics support
@@ -72,7 +72,7 @@ URL:		http://www.libsdl.org/
 %{?with_kms:BuildRequires:	Mesa-libgbm-devel >= 9.0.0}
 %{?with_directfb:BuildRequires:	DirectFB-devel >= 1.0.0}
 %{?with_directfb:BuildRequires:	FusionSound-devel >= 1.1.1}
-%{?with_gl:BuildRequires:	OpenGL-GLX-devel}
+%{?with_opengl:BuildRequires:	OpenGL-GLX-devel}
 %{?with_gles:BuildRequires:	OpenGLES-devel}
 %{?with_alsa:BuildRequires:	alsa-lib-devel >= 1.0.11}
 %{?with_arts:BuildRequires:	artsc-devel >= 1.1}
@@ -235,7 +235,7 @@ SDL - przykładowe programy.
 	%{!?with_static_libs:--disable-static} \
 	%{!?with_directfb:--disable-video-directfb} \
 	%{?with_kms:--enable-video-kmsdrm} \
-	--enable-video-opengl%{!?with_gl:=no} \
+	--enable-video-opengl%{!?with_opengl:=no} \
 	--enable-video-opengles%{!?with_gles:=no} \
 	--enable-video-vulkan%{!?with_vulkan:=no} \
 	--enable-video-wayland%{!?with_wayland:=no} \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/SDL2.git/commitdiff/8a4f202566fc6717d18e512824e506f168ad8020



More information about the pld-cvs-commit mailing list