diff --git a/srcpkgs/dosbox/dosbox.rshlibs b/srcpkgs/dosbox/dosbox.rshlibs new file mode 100644 index 0000000000..3769d7915d --- /dev/null +++ b/srcpkgs/dosbox/dosbox.rshlibs @@ -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 diff --git a/srcpkgs/dosbox/files/dosbox.desktop b/srcpkgs/dosbox/files/dosbox.desktop new file mode 100644 index 0000000000..ac4f38bec9 --- /dev/null +++ b/srcpkgs/dosbox/files/dosbox.desktop @@ -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; diff --git a/srcpkgs/dosbox/files/dosbox.png b/srcpkgs/dosbox/files/dosbox.png new file mode 100644 index 0000000000..b8a9179864 Binary files /dev/null and b/srcpkgs/dosbox/files/dosbox.png differ diff --git a/srcpkgs/dosbox/patches/gcc46.patch b/srcpkgs/dosbox/patches/gcc46.patch new file mode 100644 index 0000000000..70825a8729 --- /dev/null +++ b/srcpkgs/dosbox/patches/gcc46.patch @@ -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 // for offsetof ++ + #ifdef _MSC_VER + #pragma pack (1) + #endif diff --git a/srcpkgs/dosbox/template b/srcpkgs/dosbox/template new file mode 100644 index 0000000000..b9d6b2e8bc --- /dev/null +++ b/srcpkgs/dosbox/template @@ -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 " +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 +}