Package visualboyadvance-m: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 | %global shortname vbam Name: visualboyadvance-m Version: 2.1.4 Release: alt1 Summary: Game Boy Advance Emulator License: GPLv2 Group: Emulators Url: http://vba-m.com Packager: Ilya Mashkin <oddity@altlinux.ru> # https://github.com/visualboyadvance-m/visualboyadvance-m.git v%version Source: %name-%version.tar Patch1: %name-2.0.1-alt-segmentation-fault-fix.patch #Upstream patch: #https://github.com/visualboyadvance-m/visualboyadvance-m/commit/af0de1c4b308ef8d9a081ecf407805b75a99d877 Patch2: 0001-xbrz-fix-inline-asm-check.patch #https://github.com/visualboyadvance-m/visualboyadvance-m/commit/410ede543c98c8c6dd89c25484da3bffb46f4187 Patch3: 0001-Check-for-null-pointer-in-soundReset.patch #https://github.com/visualboyadvance-m/visualboyadvance-m/commit/619a5cce683ec4b1d03f08f316ba276d8f8cd824 Patch4: 0001-SDL-Fix-build-with-SDL-2.0.14-after-KMOD_GUI-change-.patch BuildRequires(pre): rpm-macros-cmake BuildRequires: make BuildRequires: cmake BuildRequires: gcc8-c++ BuildRequires: zlib-devel BuildRequires: libGL-devel libGLU-devel BuildRequires: gettext BuildRequires: gettext-tools BuildRequires: libpng-devel BuildRequires: libSDL2-devel BuildRequires: libSFML-devel BuildRequires: libopenal-devel BuildRequires: libwxGTK3.0-devel libgomp8-devel libwxGTK3.0 libwxGTK3.0-gl BuildRequires: libgtk+3-devel # Optional, for 32 bit builds: BuildRequires: nasm # ffmpeg: BuildRequires: libavcodec-devel libavformat-devel libswscale-devel libavutil-devel libswresample-devel bzlib-devel libpcre-devel libbrotli-devel libuuid-devel libexpat-devel # Not stated on developers site: BuildRequires: zip bzip2 %description VisualBoyAdvance-M, or simply VBA-M, is an improved fork from the inactive VisualBoyAdvance project, adding several features as well as maintaining an up-to-date codebase. %prep %setup #patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 sed -i 's/ -mtune=generic//g' CMakeLists.txt #Some odd permission issues: chmod -x src/wx/rpi.h %set_gcc_version 8 %build #mkdir build #%cmake \ # -DENABLE_LTO=OFF \ # -DENABLE_DIRECT3D=OFF %cmake \ -DENABLE_LTO=OFF \ -DENABLE_DIRECT3D=OFF \ -DCMAKE_SKIP_RPATH=ON \ -DVERSION_RELEASE=TRUE \ -DENABLE_SDL=ON \ -DENABLE_WX=ON \ -DENABLE_FFMPEG=OFF \ -DENABLE_LINK=ON export NPROCS=1 %cmake_build %install %cmakeinstall_std %find_lang wx%{shortname} %files -f wx%{shortname}.lang %_bindir/%name %_datadir/appdata/wxvbam.appdata.xml %_datadir/applications/wxvbam.desktop %_datadir/icons/hicolor/128x128/apps/vbam.png %_datadir/icons/hicolor/16x16/apps/vbam.png %_datadir/icons/hicolor/22x22/apps/vbam.png %_datadir/icons/hicolor/24x24/apps/vbam.png %_datadir/icons/hicolor/256x256/apps/vbam.png %_datadir/icons/hicolor/32x32/apps/vbam.png %_datadir/icons/hicolor/48x48/apps/vbam.png %_datadir/icons/hicolor/64x64/apps/vbam.png %_datadir/icons/hicolor/96x96/apps/vbam.png %_datadir/icons/hicolor/scalable/apps/vbam.svg %_datadir/locale/cs/LC_MESSAGES/wxvbam.mo %_datadir/locale/de/LC_MESSAGES/wxvbam.mo %_datadir/locale/en/LC_MESSAGES/wxvbam.mo %_datadir/locale/es/LC_MESSAGES/wxvbam.mo %_datadir/locale/fr/LC_MESSAGES/wxvbam.mo %_datadir/locale/gl/LC_MESSAGES/wxvbam.mo %_datadir/locale/ko/LC_MESSAGES/wxvbam.mo %_datadir/locale/nb/LC_MESSAGES/wxvbam.mo %_datadir/locale/nl/LC_MESSAGES/wxvbam.mo %_datadir/locale/pt_BR/LC_MESSAGES/wxvbam.mo %_datadir/locale/ru/LC_MESSAGES/wxvbam.mo %_datadir/locale/tr/LC_MESSAGES/wxvbam.mo %_datadir/locale/zh_TW/LC_MESSAGES/wxvbam.mo %_mandir/man6/visualboyadvance-m.6.xz %_datadir/vbam/vba-over.ini %config(noreplace) %{_sysconfdir}/%{shortname}.cfg %{_mandir}/man6/%{shortname}.* %{_bindir}/%{shortname} %changelog * Tue Feb 16 2021 Ilya Mashkin <oddity@altlinux.ru> 2.1.4-alt1 - 2.1.4 - Merge with deprecated VisualBoyAdvance - Lang files added - New BR: added * Sun Feb 24 2019 Nazarov Denis <nenderus@altlinux.org> 2.1.0-alt2 - Rebuilt with new SFML * Mon Oct 08 2018 Anton Farygin <rider@altlinux.ru> 2.1.0-alt1 - 2.1.0 * Mon Oct 30 2017 Alexey Appolonov <alexey@altlinux.org> 2.0.1-alt1 - First ALT Linux release. - Segmentation fault fixed in wxvbamApp::~wxvbamApp(). - Possible memory leak fixed in bin2c.c main function. - (Closes: 31216). * Tue Aug 17 2010 Ilya Mashkin <oddity@altlinux.ru> 1.7.2-alt3.2 - fix build * Tue May 27 2008 Ilya Mashkin <oddity at altlinux dot ru> 1.7.2-alt3.1 - spec cleanup * Wed May 02 2007 Ilya Mashkin <oddity@altlinux.ru> 1.7.2-alt3 - rebuild * Tue Jun 15 2004 Ilya Mashkin <oddity@altlinux.ru> 1.7.2-alt2 - update spec for 1.7.2 * Sun Jun 05 2004 Ilya Mashkin <oddity@altlinux.ru> 1.7.2-alt1 - Update version to 1.7.2. Many fixes. * Sun Feb 22 2004 Ilya Mashkin <oddity@altlinux.ru> 1.7.1-alt1 - Update version to 1.7.1. Many changes. * Tue Nov 18 2003 Ilya Mashkin <oddity@altlinux.ru> 1.6a-alt0.1 - Initial build |