]> git.pld-linux.org Git - packages/OpenAL.git/blobdiff - OpenAL.spec
up to 1.23.1
[packages/OpenAL.git] / OpenAL.spec
index a83753df93afd2345e0aefa6409a74fd1f4d0cf0..81c3ae55d3ac07786f599b8b199672f3c89d426a 100644 (file)
@@ -9,7 +9,6 @@
 %bcond_with    sdl             # SDL2 backend
 %bcond_with    sse2            # force use of SSE2 instructions (x86)
 %bcond_without gui             # alsoft-config GUI
-%bcond_with    qt4             # Qt 4 instead of Qt 5 for GUI
 
 %ifarch pentium4 x32 %{x8664}
 %define        with_sse2       1
 Summary:       Open Audio Library
 Summary(pl.UTF-8):     Otwarta Biblioteka Dźwięku
 Name:          OpenAL
-Version:       1.22.0
+Version:       1.23.1
 Release:       1
 License:       LGPL v2+
 Group:         Libraries
 Source0:       https://openal-soft.org/openal-releases/openal-soft-%{version}.tar.bz2
-# Source0-md5: 40e5b29a241e1e320b5b16ed8f912257
-Patch0:                %{name}-pc.patch
-Patch1:                %{name}-nosse.patch
+# Source0-md5: 58a73698288d2787451b61f8f4431513
+Patch0:                %{name}-nosse.patch
 URL:           http://www.openal.org/
 %{?with_sdl:BuildRequires:     SDL2-devel >= 2}
 %{?with_alsa:BuildRequires:    alsa-lib-devel}
@@ -33,23 +31,17 @@ BuildRequires:      cmake >= 3.0.2
 %{?with_jack:BuildRequires:    jack-audio-connection-kit-devel}
 BuildRequires: libmysofa-devel
 BuildRequires: libstdc++-devel >= 6:5
-%{?with_pipewire:BuildRequires:        pipewire-devel >= 0.3}
+%{?with_pipewire:BuildRequires:        pipewire-devel >= 0.3.23}
 BuildRequires: pkgconfig
 %{?with_portaudio:BuildRequires:       portaudio-devel}
 %{?with_pulseaudio:BuildRequires:      pulseaudio-devel}
 BuildRequires: rpmbuild(macros) >= 1.742
 %if %{with gui}
-%if %{with qt4}
-BuildRequires: QtCore-devel >= 4.8.0
-BuildRequires: QtGui-devel >= 4.8.0
-BuildRequires: qt4-build >= 4.8.0
-%else
 BuildRequires: Qt5Core-devel >= 5
 BuildRequires: Qt5Gui-devel >= 5
 BuildRequires: Qt5Widgets-devel >= 5
 BuildRequires: qt5-build >= 5
 %endif
-%endif
 %{?with_sse2:Requires: cpuinfo(sse2)}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -88,8 +80,9 @@ Summary:      OpenAL configuration GUI
 Summary(pl.UTF-8):     Graficzny interfejs do konfiguracji biblioteki OpenAL
 Group:         X11/Applications/Sound
 Requires:      %{name} = %{version}-%{release}
-Requires:      QtCore >= 4.8.0
-Requires:      QtGui >= 4.8.0
+Requires:      Qt5Core >= 5
+Requires:      Qt5Gui >= 5
+Requires:      Qt5Widgets >= 5
 
 %description gui
 OpenAL configuration GUI.
@@ -100,7 +93,6 @@ Graficzny interfejs do konfiguracji biblioteki OpenAL.
 %prep
 %setup -q -n openal-soft-%{version}
 %patch0 -p1
-%patch1 -p1
 
 %build
 cd build
@@ -115,7 +107,6 @@ cd build
        %{!?with_sse2:-DALSOFT_ENABLE_SSE2_CODEGEN=OFF} \
        -DALSOFT_EXAMPLES=OFF \
        %{!?with_gui:-DALSOFT_NO_CONFIG_UTIL=ON} \
-       %{?with_qt4:-DALSOFT_NO_QT5=ON} \
 
 %{__make}
 
This page took 0.725835 seconds and 4 git commands to generate.