diff --git a/omnispeak.changes b/omnispeak.changes index d04390b..25aa8e2 100644 --- a/omnispeak.changes +++ b/omnispeak.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun May 19 16:26:13 UTC 2024 - Carsten Ziepke + +- Fix build on openSUSE Leap by requiring libieee1284-devel only + for openSUSE Tumbleweed + ------------------------------------------------------------------- Sat Feb 03 12:26:12 UTC 2024 - mardnh@gmx.de diff --git a/omnispeak.spec b/omnispeak.spec index d9d28d3..ed729d6 100644 --- a/omnispeak.spec +++ b/omnispeak.spec @@ -33,7 +33,9 @@ BuildRequires: cmake BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: hicolor-icon-theme +%if 0%{?suse_version} >= 1599 BuildRequires: libieee1284-devel +%endif BuildRequires: pkgconfig BuildRequires: pkgconfig(alsa) BuildRequires: pkgconfig(sdl2) @@ -69,8 +71,12 @@ from the directory where the original game files are located. -DVANILLA=OFF \ -DXDGUSERPATH=OFF \ -DOMNIPATH=%{_datadir}/omnispeak \ +%if 0%{?suse_version} > 1500 -DWITH_ALSA=ON \ -DWITH_IEEE1284=ON +%else + -DWITH_ALSA=ON +%endif %cmake_build %install