mirror of
https://abf.rosa.ru/djam/sdl2-gamepad-mapper.git
synced 2025-02-22 23:33:00 +00:00
Update 0.0.9
This commit is contained in:
parent
7eb8287f22
commit
5be440414e
2 changed files with 14 additions and 9 deletions
2
.abf.yml
2
.abf.yml
|
@ -1,2 +1,2 @@
|
|||
sources:
|
||||
sdl2-gamepad-mapper-v0.0.7.tar.gz: 79b7b6238ca8825d477424dbbb8db55fd3aaa11e
|
||||
sdl2-gamepad-mapper-v0.0.9.tar.gz: 55af136d9b675abf33f351b83883a13a1c9713fd
|
||||
|
|
|
@ -1,15 +1,16 @@
|
|||
Summary: GUI application to map a generic controller to the SDL2 GameController spec and generate an SDL2 mapping string
|
||||
Name: sdl2-gamepad-mapper
|
||||
Version: 0.0.7
|
||||
Version: 0.0.9
|
||||
Release: 1
|
||||
License: GPLv3
|
||||
Group: System/Configuration/Hardware
|
||||
Url: https://gitlab.com/ryochan7/sdl2-gamepad-mapper
|
||||
Source0: https://gitlab.com/ryochan7/sdl2-gamepad-mapper/-/archive/v%{version}/%{name}-v%{version}.tar.gz
|
||||
BuildRequires: qmake5
|
||||
BuildRequires: qt5-devel
|
||||
BuildRequires: pkgconfig(Qt5QuickControls2)
|
||||
BuildRequires: qt6-cmake
|
||||
BuildRequires: pkgconfig(Qt6Quick)
|
||||
BuildRequires: pkgconfig(Qt6QuickControls2)
|
||||
BuildRequires: pkgconfig(sdl2)
|
||||
BuildRequires: pkgconfig(vulkan)
|
||||
|
||||
%description
|
||||
GUI application to map a generic controller to the SDL2 GameController spec
|
||||
|
@ -28,10 +29,14 @@ and generate an SDL2 mapping string.
|
|||
%autosetup -p1 -n %{name}-v%{version}
|
||||
|
||||
%build
|
||||
%qmake_qt5
|
||||
%cmake
|
||||
%make
|
||||
|
||||
%install
|
||||
install -Dm755 sdl2-gamepad-mapper %{buildroot}/%{_bindir}/sdl2-gamepad-mapper
|
||||
install -D sdl2-gamepad-mapper.desktop %{buildroot}/%{_datadir}/applications/sdl2-gamepad-mapper.desktop
|
||||
install -D sdl2-gamepad-mapper.png %{buildroot}/%{_datadir}/icons/hicolor/512x512/apps/sdl2-gamepad-mapper.png
|
||||
%makeinstall_std -C build
|
||||
|
||||
mkdir -p %{buildroot}%{_datadir}/applications
|
||||
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/512x512/apps
|
||||
|
||||
cp -rv sdl2-gamepad-mapper.desktop %{buildroot}%{_datadir}/applications/sdl2-gamepad-mapper.desktop
|
||||
cp -rv sdl2-gamepad-mapper.png %{buildroot}%{_datadir}/icons/hicolor/512x512/apps/sdl2-gamepad-mapper.png
|
||||
|
|
Loading…
Add table
Reference in a new issue