Пакет 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 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 | %global shortname vbam Name: visualboyadvance-m Version: 2.1.9 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 Source2: vba-translations.zip 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: gcc-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.2-devel libgomp-devel libwxGTK3.2 libwxGTK3.2-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 ExcludeArch: armh i586 %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/metainfo/%name.metainfo.xml #_datadir/appdata/%name.appdata.xml %_datadir/applications/%name.desktop %_datadir/icons/hicolor/128x128/apps/%name.png %_datadir/icons/hicolor/16x16/apps/%name.png %_datadir/icons/hicolor/22x22/apps/%name.png %_datadir/icons/hicolor/24x24/apps/%name.png %_datadir/icons/hicolor/256x256/apps/%name.png %_datadir/icons/hicolor/32x32/apps/%name.png %_datadir/icons/hicolor/48x48/apps/%name.png %_datadir/icons/hicolor/64x64/apps/%name.png %_datadir/icons/hicolor/96x96/apps/%name.png %_datadir/icons/hicolor/scalable/apps/%name.svg %_datadir/locale/cs/LC_MESSAGES/wxvbam.mo %_datadir/locale/de/LC_MESSAGES/wxvbam.mo %_datadir/locale/en_US/LC_MESSAGES/wxvbam.mo %_datadir/locale/es/LC_MESSAGES/wxvbam.mo %_datadir/locale/es_419/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_RU/LC_MESSAGES/wxvbam.mo %_datadir/locale/tr/LC_MESSAGES/wxvbam.mo %_datadir/locale/zh-Hans/LC_MESSAGES/wxvbam.mo %_mandir/man6/visualboyadvance-m.6.xz %_datadir/vbam/vba-over.ini %config(noreplace) %{_sysconfdir}/%{shortname}.cfg %{_man6dir}/%{shortname}.* %{_bindir}/%{shortname} %changelog * Tue Feb 06 2024 Ilya Mashkin <oddity@altlinux.ru> 2.1.9-alt1 - 2.1.9 * Tue Dec 19 2023 Ilya Mashkin <oddity@altlinux.ru> 2.1.8-alt1 - 2.1.8 * Tue Sep 12 2023 Ilya Mashkin <oddity@altlinux.ru> 2.1.7-alt1 - 2.1.7 * Wed Jul 12 2023 Ilya Mashkin <oddity@altlinux.ru> 2.1.6-alt1 - 2.1.6 * Mon Jul 3 2023 Artyom Bystrov <arbars@altlinux.org> 2.1.5-alt4 - Fix build on GCC13 * Sun Dec 18 2022 Ilya Mashkin <oddity@altlinux.ru> 2.1.5-alt3 - ExcludeArch: armh i586 * Sun Dec 18 2022 Ilya Mashkin <oddity@altlinux.ru> 2.1.5-alt2 - add translations * Sun Dec 18 2022 Ilya Mashkin <oddity@altlinux.ru> 2.1.5-alt1 - 2.1.5 * Sun Oct 10 2021 Igor Vlasenko <viy@altlinux.org> 2.1.4-alt2 - NMU: excluded armh build for 2.1.4-alt2 only, as it consistently segfaults and prevents wxGTK3.0 rebuild * 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 |