Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37507248
en ru br
ALT Linux repos
S:1.33-alt2
5.0: 1.23-alt8
4.1: 1.23-alt8
4.0: 1.23-alt8
3.0: 1.23-alt7

Group :: Emulators
RPM: dgen-sdl

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define _name   dgen

Name: dgen-sdl
Version: 1.33
Release: alt2

Packager: Ilya Mashkin <oddity at altlinux.ru>

Summary: Sega Genesis/MegaDrive emulator
Summary(ru_RU.KOI8-R): Эмулятор Sega Genesis/Megadrive

License: DGEN
URL: http://dgen.sourceforge.net
Group: Emulators

Source0: dgen-sdl-%version.tar.gz
Patch0: dgen-sdl-1.23-lostbreak.patch
Patch1: dgen-sdl-1.23-m68kmake.c.patch

# Automatically added by buildreq on Fri Jan 21 2005

BuildRequires: esound gcc-c++ libSDL-devel libstdc++-devel libarchive-devel
Excludearch: armh %ix86

%ifarch %{ix86}
BuildRequires: nasm
%endif

%description
This is DGen/SDL, a semi-fantastic emulator for Unix-esque operating systems
supported by the Simple DirectMedia Layer (SDL) library. It produces a virtual
environment in which Sega Genesis (MegaDrive outside the US) games may run
with fairly accurate audio and video.

%description -l ru_RU.KOI8-R
Dgen/SDL - эмулятор, виртуальная среда в которой можно запускать игры для
Sega MegaDrive с точным воспроизведением звука и видео.

%prep
%setup -q
#patch0 -p1
#patch1 -p1

# Fix build with nasm 2.13.01

sed -i '/ at NASM at /s/--//' \
 Makefile.in \
 mz80/Makefile.in \
 star/Makefile.in

%build

#configure --with-x

#make_build

%configure
# It does not compile with smp_mflags
make V=1


%install

%make_install
install -D -pm 755 dgen %buildroot%_bindir/dgen
install -D -pm 755 dgen_tobin %buildroot%_bindir/dgen_tobin
install -D -pm 644 dgen.1 %buildroot%_man1dir/dgen.1
install -D -pm 644 dgenrc.5 %buildroot%_man5dir/dgenrc.5
install -D -pm 644 dgen_tobin.1 %buildroot%_man1dir/dgen_tobin.1
%__mkdir_p %buildroot%_docdir/%name-%version


%files
%doc AUTHORS COPYING ChangeLog README sample.dgenrc
%_bindir/*
%_man1dir/*
%_man5dir/*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin