New package: dosbox-0.74.

This commit is contained in:
Juan RP 2012-09-18 14:57:55 +02:00
parent fab2a4bfcf
commit 1c68669d0e
5 changed files with 66 additions and 0 deletions

View file

@ -0,0 +1,13 @@
libSDL_sound-1.0.so.1
libasound.so.2
libpthread.so.0
libSDL-1.2.so.0
libpng15.so.15
libz.so.1
libSDL_net-1.2.so.0
libX11.so.6
libGL.so.1
libstdc++.so.6
libm.so.6
libgcc_s.so.1
libc.so.6

View file

@ -0,0 +1,10 @@
[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=Dosbox
Comment=A free DOS emulator
Icon=/usr/share/pixmaps/dosbox.png
Exec=/usr/bin/dosbox
Terminal=false
StartupNotify=false
Categories=Game;

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

View file

@ -0,0 +1,11 @@
--- include/dos_inc.h 2010-05-10 17:43:54.000000000 +0000
+++ include/dos_inc.h 2011-06-17 20:42:43.982548979 +0000
@@ -28,6 +28,8 @@
#include "mem.h"
#endif
+#include <stddef.h> // for offsetof
+
#ifdef _MSC_VER
#pragma pack (1)
#endif

32
srcpkgs/dosbox/template Normal file
View file

@ -0,0 +1,32 @@
# Template file for 'dosbox'
pkgname=dosbox
version=0.74
revision=1
build_style=gnu-configure
makedepends="pkg-config SDL-devel libpng-devel SDL_net-devel SDL_sound-devel MesaLib-devel"
short_desc="x86 emulator with Tandy/Herc/CGA/EGA/VGA/SVGA graphics, sound and DOS"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://dosbox.sourceforget.net"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=13f74916e2d4002bad1978e55727f302ff6df3d9be2f9b0e271501bd0a938e05
long_desc="
DOSBox is a x86 emulator with Tandy/Hercules/CGA/EGA/VGA/SVGA graphics, sound
and DOS. It's been designed to run old DOS games under platforms that don't
support it.
The following legacy sound devices are emulated: PC Speaker, Creative
CMS/Gameblaster, Tandy 3 voice, Adlib, Sound Blaster Pro/16, Disney
Soundsource and a Gravis Ultrasound. MPU-401 is forwarded to the host."
pre_configure() {
sed -i 's/png_check_sig/png_sig_cmp/' configure
}
post_install() {
vinstall README 644 usr/share/doc/${pkgname}
vinstall docs/README.video 644 usr/share/doc/${pkgname}
vinstall ${FILESDIR}/${pkgname}.png 644 usr/share/pixmaps
vinstall ${FILESDIR}/${pkgname}.desktop 644 usr/share/applications
}