Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37517450
en ru br
Репозитории ALT
S:2.6.5-alt1
5.1: 2.1.4a-alt0.M51.1
www.altlinux.org/Changes

Группа :: Эмуляторы
Пакет: fceux

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: fceux
Version: 2.6.5
Release: alt1

Summary: FCEUX is a Nintendo Entertainment System (NES), Famicom, and Famicom Disk System (FDS) emulator
Summary(ru_RU.UTF-8): FCEUX - я█я┌п╬ я█п╪я┐п╩я▐я┌п╬я─ Nintendo Entertainment System ("п■п╣п╫п╢п╦"), Famicom п╦ Famicom Disk System (FDS)

License: GPLv2
Group: Emulators
Url: http://fceux.com/web/home.html

Packager: Ilya Mashkin <oddity at altlinux.ru>
Source0: %name-%version.tar.gz

# Fixed desktop file and icons from previous version

Source1: fceux.desktop
Source2: fceux.png
Source3: fceux_big.png


# fix directory and options to build and install

Patch0: %name-2.1.4a-alt-fix_install.patch

# patch from openSUSE Build Service to fix build process

Patch1: %name-2.1.4a-opensuse-overflow.patch
Patch2: %name-2.1.4a-alt-DSO.patch
Patch3: %name-2.1.4a-alt-glibc-2.16.patch
Patch4: %name-2.1.4a-alt-zlib-1.2.7.patch
#Patch5: %name-2.2.3-alt-gcc8-fix.patch
# patch for SConstruct files (https://stackoverflow.com/questions/8427352/how-to-solve-attributeerror-environ-object-has-no-attribute-has-key#8427495)
Patch6: %name-2.2.3-SConstruct.patch

#BuildRequires: libgtk+2-devel

#BuildRequires: liblua5.3-devel
BuildRequires: gcc-c++ libSDL2-devel python-modules-email scons zlib-devel  libminizip-devel qt5-base-devel cmake
# liblua5.1-compat-devel

Excludearch: armh


%description
FCEUX is a Nintendo Entertainment System (NES), Famicom, and Famicom Disk System
FDS) emulator. It supports both PAL (European) and NTSC (USA/JPN) modes.
It supports both Windows and SDL versions for cross compatibility.
The FCEUX concept is that of an "all in one" emulator that offers accurate
emulation and the best options for both casual play and a variety of more
advanced emulator functions. For pro users, FCEUX offers tools for debugging,
rom-hacking, map making, Tool-assisted movies, and Lua scripting

FCEUX is an evolution of the original FCE Ultra emulator. Over time FCE Ultra
had separated into many distinct branches. The concept behind FCEUX is to merge
elements from FCEU Ultra, FCEU rerecording, FCEUXD, FCEUXDSP, FCEUXDSP CE,
and FCEU-mm into a single branch of FCEU.

%description -l ru_RU.UTF-8
FCEUX - я█я┌п╬ я█п╪я┐п╩я▐я┌п╬я─ Nintendo Entertainment System ("п■п╣п╫п╢п╦"), Famicom п╦ Famicom Disk
System (FDS). п·п╫ п╬п╠п╣я│п©п╣я┤п╦п╡п╟п╣я┌ п©п╬п╢п╢п╣я─п╤п╨я┐ п╡п╦п╢п╣п╬я─п╣п╤п╦п╪п╬п╡ PAL (п∙п╡я─п╬п©п╟) п╦ NTSC (п║п╗п░/п╞п©п╬п╫п╦я▐) п╦
я│я┐я┴п╣я│я┌п╡я┐п╣я┌ п╡ п╢п╡я┐я┘ п╡п╣я─я│п╦я▐я┘ - Windows п╦ SDL (UNIX-я│п╬п╡п╪п╣я│я┌п╦п╪я▀п╣ я│п╦я│я┌п╣п╪я▀).

п·я│п╫п╬п╡п╫п╟я▐ п╦п╢п╣я▐ FCEUX - я█я┌п╬ я█п╪я┐п╩я▐я┌п╬я─ "п╡я│п╣-п╡-п╬п╢п╫п╬п╪": я┘п╬я─п╬я┬п╟я▐ я█п╪я┐п╩я▐я├п╦я▐ п╦ п©я─п╣п╨я─п╟я│п╫я▀п╧ п╫п╟п╠п╬я─ п╬п©я├п╦п╧
п╦ п╢п╩я▐ п╦пЁя─ п╦ п╢п╩я▐ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦я▐ п╢п╬п©п╬п╩п╫п╦я┌п╣п╩я▄п╫я▀я┘ я└я┐п╫п╨я├п╦п╧. п╒п╟п╨, п╫п╟п©я─п╦п╪п╣я─, п╢п╩я▐ п╬п©я▀я┌п╫я▀я┘ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╣п╧
FCEUX п©я─п╣п╢п╬я│я┌п╟п╡п╩я▐п╣я┌ п╫п╟п╠п╬я─ я┐я┌п╦п╩п╦я┌ п╢п╩я▐ п╬я┌п╩п╟п╢п╨п╦ п╦ п╦я│я│п╩п╣п╢п╬п╡п╟п╫п╦я▐ ROM, я│п╬п╥п╢п╟п╫п╦я▐ п╨п╟я─я┌, п╥п╟п©п╦я│п╦ п╡п╦п╢п╣п╬,
п©п╬п╢п╢п╣я─п╤п╨я┐ я│п╨я─п╦п©я┌п╬п╡ Lua.

FCEUX - я█я┌п╬ я─п╟п╥п╡п╦я┌п╦п╣ я█п╪я┐п╩я▐я┌п╬я─п╟ FCE Ultra. п▓ п╨п╟п╨п╬п╣-я┌п╬ п╡я─п╣п╪я▐ п╢п╟п╫п╫я▀п╧ п©я─п╬п╣п╨я┌ я─п╟я│п╨п╬п╩п╬п╩я│я▐ п╫п╟
п╫п╣я│п╨п╬п╩я▄п╨п╬ п╫п╣п╥п╟п╡п╦я│п╦п╪я▀я┘ п╡п╣я┌п╡п╣п╧. п≈п╟п╢п╟я┤п╟ FCEUX я│п╬п╠я─п╟я┌я▄ п╦я┘ п╡я│п╣ п╡ п╬п╢п╦п╫ п©я─п╬п╣п╨я┌ FCEU.

%prep

%setup

# Remove attic directories

find . -name 'attic' -type d -prune -exec rm -rf {} \;

# Remove Visual Studio directory

rm -rf vc

# Remove bundled LUA library

#rm -rf src/lua

# Remove bundled minizip library

rm -rf src/utils/unzip.*

# Fix end-of-line-encoding

sed -i 's/\r//' changelog.txt NewPPUtests.txt \
 documentation/Videolog.txt

# Fix desktop file

sed -i 's/\/usr\/share\/pixmaps\/fceux1.png/fceux/' fceux.desktop
sed -i '/MimeType=*/s/$/;/' fceux.desktop
sed -i '/OnlyShowIn=*/s/$/;/' fceux.desktop

# Public release

sed -i 's!//#define PUBLIC_RELEASE!#define PUBLIC_RELEASE!' src/version.h

# Set git data

sed -i -r 's!(GIT_URL=).+!\1"%{giturl}"!' scripts/genGitHdr.sh
sed -i -r 's!(GIT_REV=).+!\1"%{commit}"!' scripts/genGitHdr.sh

#setup

#patch0
#patch1
#patch2 -p2
#patch3 -p2
#patch4 -p2
#patch5 -p2
#patch6 -p2
#build
#add_optflags -fpermissive
#CFLAGS="%optflags" scons

%build
%cmake
%cmake_build


%install
%cmake_install

# install binaries

#install -D -m 755 %_cmake__builddir/src/%name %buildroot/%_bindir/%name
#install -D -m 755 bin/%name.chm %buildroot/%_bindir/%name.chm

# fix rights for docs

#find documentation/ -type f -exec chmod -x {} \;
#for i in Authors changelog.txt NewPPUtests.txt README-SDL TODO-SDL ; do
#    chmod -x $i
#done

# install desktop and icons files

install -D -m 644 %SOURCE1 %buildroot/%_desktopdir/%name.desktop
install -D -m 644 %SOURCE2 %buildroot/%_iconsdir/%name.png
install -D -m 644 %SOURCE3 %buildroot/%_pixmapsdir/%name-big.png

%files
%_bindir/*
%doc ChangeLog NewPPUtests.txt README NEWS TODO-SDL documentation/*
%_iconsdir/*
%_desktopdir/*
%_pixmapsdir/*
%_man6dir/*
%_datadir/%name/*
%dir %_datadir/%name/palettes
%dir %_datadir/%name/luaScripts
%dir %_datadir/%name/tools



%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin