forked from pool/perl-SDL
- added patches https://github.com/PerlGameDev/SDL/pull/309 + perl-SDL-gcc15.patch + perl-SDL-fix-tests.patch OBS-URL: https://build.opensuse.org/request/show/1281118 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-SDL?expand=0&rev=32
52 lines
2.0 KiB
YAML
52 lines
2.0 KiB
YAML
---
|
|
#description_paragraphs: 3
|
|
description: |-
|
|
SDL Perl are a set of bindings to the Simple DirectMedia Layer (SDL).
|
|
|
|
Simple DirectMedia Layer is a cross-platform multimedia library designed to
|
|
provide low level access to audio, keyboard, mouse, joystick, 3D hardware via
|
|
OpenGL, and 2D video framebuffer. It is used by MPEG playback software,
|
|
emulators, and many popular games, including the award winning Linux port of
|
|
"Civilization: Call To Power."
|
|
#summary: override summary from CPAN
|
|
#no_testing: broken upstream
|
|
sources:
|
|
- perl-SDL.rpmlintrc
|
|
patches:
|
|
https://patch-diff.githubusercontent.com/raw/PerlGameDev/SDL/pull/299.patch: -p1 PATCH-FIX-UPSTREAM 299.patch -- based on PR 299
|
|
https://patch-diff.githubusercontent.com/raw/PerlGameDev/SDL/pull/304.patch: -p1 PATCH-FIX-UPSTREAM 304.patch -- based on PR 304
|
|
https://patch-diff.githubusercontent.com/raw/PerlGameDev/SDL/pull/308.patch: -p1 PATCH-FIX-UPSTREAM 308.patch -- based on PR 308
|
|
perl-SDL-fix-tests.patch: -p1 fix tests for some architectures
|
|
perl-SDL-gcc15.patch: -p1 https://github.com/PerlGameDev/SDL/pull/309
|
|
preamble: |-
|
|
BuildRequires: Mesa-devel
|
|
BuildRequires: libSDL-devel
|
|
BuildRequires: libSDL_Pango-devel
|
|
BuildRequires: libSDL_gfx-devel
|
|
BuildRequires: libSDL_image-devel
|
|
BuildRequires: libSDL_mixer-devel
|
|
BuildRequires: libSDL_net-devel
|
|
BuildRequires: libSDL_sound-devel
|
|
BuildRequires: libSDL_ttf-devel
|
|
# Tests: dejavu-fonts required by t/pango.t, udev required by t/core_joystick.t
|
|
BuildRequires: dejavu-fonts
|
|
BuildRequires: udev
|
|
post_prep: |-
|
|
%ifarch %arm ppc64 ppc64le s390x
|
|
# Remove hanging test. See: https://github.com/PerlGameDev/SDL/issues/289
|
|
rm t/sdlx_controller_interface.t
|
|
%endif
|
|
# core_video is deadlocking in OBS builds (no graphical interface available)
|
|
rm t/core_video.t
|
|
#post_build: |-
|
|
# rm unused.files
|
|
#post_install: |-
|
|
# sed on %{name}.files
|
|
#license: SUSE-NonFree
|
|
#skip_noarch: 1
|
|
#custom_build: |-
|
|
#./Build build flags=%{?_smp_mflags} --myflag
|
|
#custom_test: |-
|
|
#startserver && make test
|
|
#ignore_requires: Bizarre::Module
|