[packages/OpenAL] fix -gui runtime deps if built against qt5
atler
atler at pld-linux.org
Mon Jun 6 18:44:59 CEST 2022
commit a517dbfd1092e90816c1dcbbb64c072d713eb9de
Author: Jan Palus <atler at pld-linux.org>
Date: Mon Jun 6 18:44:28 2022 +0200
fix -gui runtime deps if built against qt5
OpenAL.spec | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/OpenAL.spec b/OpenAL.spec
index ab8b18e..4dca38c 100644
--- a/OpenAL.spec
+++ b/OpenAL.spec
@@ -88,8 +88,14 @@ Summary: OpenAL configuration GUI
Summary(pl.UTF-8): Graficzny interfejs do konfiguracji biblioteki OpenAL
Group: X11/Applications/Sound
Requires: %{name} = %{version}-%{release}
+%if %{with qt4}
Requires: QtCore >= 4.8.0
Requires: QtGui >= 4.8.0
+%else
+Requires: Qt5Core >= 5
+Requires: Qt5Gui >= 5
+Requires: Qt5Widgets >= 5
+%endif
%description gui
OpenAL configuration GUI.
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/OpenAL.git/commitdiff/a517dbfd1092e90816c1dcbbb64c072d713eb9de
More information about the pld-cvs-commit
mailing list