From b9587d5d9a0a5a5d0acd96426c1355d9de32813f84f4b99bc07f132529bf2c5e Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sun, 19 May 2024 16:46:28 +0000 Subject: [PATCH] Accepting request 1175245 from home:Kieltux:branches:games - Fix build on openSUSE Leap by requiring libieee1284-devel only for openSUSE Tumbleweed OBS-URL: https://build.opensuse.org/request/show/1175245 OBS-URL: https://build.opensuse.org/package/show/games/omnispeak?expand=0&rev=8 --- omnispeak.changes | 6 ++++++ omnispeak.spec | 6 ++++++ 2 files changed, 12 insertions(+) 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..69e6666 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} > 1500 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