mirror of
https://abf.rosa.ru/djam/SDL2.git
synced 2025-04-17 02:15:11 +00:00
Compare commits
15 commits
rosa2023.1
...
rosa2016.1
Author | SHA1 | Date | |
---|---|---|---|
![]() |
fc557094b3 | ||
![]() |
33f7bde381 | ||
![]() |
dd9798e10d | ||
![]() |
40794555e9 | ||
![]() |
405ff9938a | ||
c448fa723f | |||
8d38165040 | |||
0ec78fe57d | |||
9a8309186a | |||
60979515f9 | |||
4a7a270a28 | |||
![]() |
66c0119445 | ||
![]() |
4bb2450fe6 | ||
![]() |
6fa347c226 | ||
![]() |
e52a5770c2 |
4 changed files with 34 additions and 11 deletions
2
.abf.yml
2
.abf.yml
|
@ -1,2 +1,2 @@
|
|||
sources:
|
||||
SDL2-2.30.1.tar.gz: 9d502c495f3aa2d15446376e835a5e561ac32897
|
||||
SDL2-2.32.4.tar.gz: 4fb68f43891ca4def414cc7cf0f3b2a053cb6aaf
|
||||
|
|
17
.gitea/workflows/ci.yml
Normal file
17
.gitea/workflows/ci.yml
Normal file
|
@ -0,0 +1,17 @@
|
|||
version: '1'
|
||||
|
||||
name: Run CI/CD...
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
main:
|
||||
runs-on: r11_builder
|
||||
steps:
|
||||
- name: Jobs
|
||||
uses: ${{ github.server_url }}/Djam/r11_workflows@main
|
||||
with:
|
||||
CI_DEPLOY: ${{ secrets.CI_DEPLOY }}
|
||||
PUBLICATOR: ${{ secrets.PUBLICATOR }}
|
||||
REPO_DEPLOY: ${{ secrets.REPO_DEPLOY }}
|
||||
|
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
.*~
|
||||
*~
|
||||
.env
|
23
SDL2.spec
23
SDL2.spec
|
@ -7,13 +7,13 @@
|
|||
|
||||
Summary: Simple DirectMedia Layer
|
||||
Name: SDL2
|
||||
Version: 2.30.1
|
||||
Version: 2.32.4
|
||||
Release: 1
|
||||
License: Zlib
|
||||
Group: System/Libraries
|
||||
Url: http://www.libsdl.org
|
||||
Source0: http://www.libsdl.org/release/%{name}-%{version}.tar.gz
|
||||
Source1: FindSDL2.cmake
|
||||
URL: https://www.libsdl.org
|
||||
#Source0: http://www.libsdl.org/release/%{name}-%{version}.tar.gz
|
||||
Source0: https://github.com/libsdl-org/SDL/releases/download/release-%{version}/%{name}-%{version}.tar.gz
|
||||
# Keep major stable, should be 0
|
||||
Patch1: SDL2-2.0.16-soversion.patch
|
||||
BuildRequires: cmake
|
||||
|
@ -27,7 +27,7 @@ BuildRequires: pkgconfig(gl)
|
|||
BuildRequires: pkgconfig(glu)
|
||||
BuildRequires: pkgconfig(jack)
|
||||
BuildRequires: pkgconfig(libpulse)
|
||||
BuildRequires: pkgconfig(libpipewire-0.3)
|
||||
#BuildRequires: pkgconfig(libpipewire-0.3)
|
||||
BuildRequires: pkgconfig(samplerate)
|
||||
BuildRequires: pkgconfig(sndio)
|
||||
BuildRequires: pkgconfig(libusb)
|
||||
|
@ -46,7 +46,8 @@ BuildRequires: pkgconfig(xrandr)
|
|||
BuildRequires: pkgconfig(xscrnsaver)
|
||||
BuildRequires: pkgconfig(xxf86vm)
|
||||
BuildRequires: pkgconfig(zlib)
|
||||
BuildRequires: vulkan-devel
|
||||
BuildRequires: pkgconfig(vulkan)
|
||||
BuildRequires: pkgconfig(openssl3.3)
|
||||
|
||||
%description
|
||||
This is the Simple DirectMedia Layer, a generic API that provides low level
|
||||
|
@ -65,7 +66,7 @@ linked with %{name}.
|
|||
|
||||
%files -n %{libname}
|
||||
%doc README.md README-SDL.txt CREDITS.txt BUGS.txt WhatsNew.txt
|
||||
%license LICENSE.txt
|
||||
%doc LICENSE.txt
|
||||
%{_libdir}/lib%{name}-%{api}.so.%{major}
|
||||
%{_libdir}/lib%{name}-%{api}.so.%{oversion}
|
||||
|
||||
|
@ -83,10 +84,9 @@ applications which will use %{name}.
|
|||
|
||||
%files -n %{devname}
|
||||
%doc README.md README-SDL.txt CREDITS.txt BUGS.txt WhatsNew.txt
|
||||
%license LICENSE.txt
|
||||
%doc LICENSE.txt
|
||||
%{_bindir}/sdl2-config
|
||||
%{_datadir}/aclocal/sdl2.m4
|
||||
%{_datadir}/cmake/Modules/Find%{name}.cmake
|
||||
%{_includedir}/%{name}
|
||||
%{_libdir}/cmake/%{name}
|
||||
%{_libdir}/lib%{name}*.a
|
||||
|
@ -100,6 +100,7 @@ applications which will use %{name}.
|
|||
|
||||
%build
|
||||
%cmake \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DESD:BOOL=OFF \
|
||||
-DESD_SHARED:BOOL=OFF \
|
||||
-DRPATH:BOOL=OFF \
|
||||
|
@ -115,6 +116,8 @@ applications which will use %{name}.
|
|||
|
||||
%install
|
||||
%make_install -C build
|
||||
install -m644 %{SOURCE1} -D %{buildroot}%{_datadir}/cmake/Modules/Find%{name}.cmake
|
||||
|
||||
rm -rf %{buildroot}%{_datadir}/licenses
|
||||
|
||||
# fix double slash
|
||||
sed -i 's|//|/|g' %{buildroot}%{_libdir}/pkgconfig/sdl2.pc
|
||||
|
|
Loading…
Add table
Reference in a new issue