add new package DosBox
@@ -0,0 +1,18 @@
|
|||||||
|
#!/usr/bin/python
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
#
|
||||||
|
# Licensed under the GNU General Public License, version 3.
|
||||||
|
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||||
|
|
||||||
|
from pisi.actionsapi import autotools
|
||||||
|
from pisi.actionsapi import pisitools
|
||||||
|
from pisi.actionsapi import get
|
||||||
|
|
||||||
|
def setup():
|
||||||
|
autotools.configure("--prefix=/usr \
|
||||||
|
--sysconfdir=/etc/dosbox")
|
||||||
|
|
||||||
|
def install():
|
||||||
|
autotools.rawInstall("DESTDIR='%s'" % get.installDIR())
|
||||||
|
pisitools.dodoc("AUTHORS", "COPYING", "NEWS", "README", "THANKS", "docs/README.video")
|
||||||
|
|
||||||
@@ -0,0 +1,23 @@
|
|||||||
|
diff -ru dosbox-0.74.orig/include/dos_inc.h dosbox-0.74/include/dos_inc.h
|
||||||
|
--- dosbox-0.74.orig/include/dos_inc.h 2010-05-10 12:43:54.000000000 -0500
|
||||||
|
+++ dosbox-0.74/include/dos_inc.h 2012-03-10 15:19:47.000000000 -0600
|
||||||
|
@@ -21,6 +21,8 @@
|
||||||
|
#ifndef DOSBOX_DOS_INC_H
|
||||||
|
#define DOSBOX_DOS_INC_H
|
||||||
|
|
||||||
|
+#include <stddef.h>
|
||||||
|
+
|
||||||
|
#ifndef DOSBOX_DOS_SYSTEM_H
|
||||||
|
#include "dos_system.h"
|
||||||
|
#endif
|
||||||
|
diff -ru dosbox-0.74.orig/src/cpu/cpu.cpp dosbox-0.74/src/cpu/cpu.cpp
|
||||||
|
--- dosbox-0.74.orig/src/cpu/cpu.cpp 2010-05-12 04:57:31.000000000 -0500
|
||||||
|
+++ dosbox-0.74/src/cpu/cpu.cpp 2012-03-10 15:17:54.000000000 -0600
|
||||||
|
@@ -19,6 +19,7 @@
|
||||||
|
/* $Id: cpu.cpp,v 1.116 2009-03-16 18:10:08 c2woody Exp $ */
|
||||||
|
|
||||||
|
#include <assert.h>
|
||||||
|
+#include <stddef.h>
|
||||||
|
#include <sstream>
|
||||||
|
#include "dosbox.h"
|
||||||
|
#include "cpu.h"
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Type=Application
|
||||||
|
Name=DOSBox
|
||||||
|
Comment=Run DOS programs
|
||||||
|
Comment[tr]=DOS programlarını çalıştır
|
||||||
|
Icon=dosbox
|
||||||
|
Exec=dosbox
|
||||||
|
Terminal=false
|
||||||
|
Categories=Game;Emulator;
|
||||||
|
Keywords=DOS Emulator;Emulator;DOS;
|
||||||
|
Keywords[tr]=DOS Öykünücüsü;DOS Emülatörü;Öykünücü;Emülatör;DOS;
|
||||||
|
After Width: | Height: | Size: 4.6 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 46 KiB |
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 3.1 KiB |
|
After Width: | Height: | Size: 8.7 KiB |
@@ -0,0 +1,62 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||||
|
<PISI>
|
||||||
|
<Source>
|
||||||
|
<Name>dosbox</Name>
|
||||||
|
<Homepage>http://www.dosbox.com/</Homepage>
|
||||||
|
<Packager>
|
||||||
|
<Name>Pisi Linux Community</Name>
|
||||||
|
<Email>admins@pisilinux.org</Email>
|
||||||
|
</Packager>
|
||||||
|
<License>GPLv2</License>
|
||||||
|
<IsA>app:gui</IsA>
|
||||||
|
<Icon>dosbox</Icon>
|
||||||
|
<Summary>DOSBox is a DOS emulator.</Summary>
|
||||||
|
<Description>DOSBox is a DOS-emulator that uses the SDL-library.</Description>
|
||||||
|
<Archive sha1sum="1e1dd91d13c283fd5fc3104a3eac95bec7203dbc" type="targz">https://sourceforge.net/projects/dosbox/files/dosbox/0.74-3/dosbox-0.74-3.tar.gz</Archive>
|
||||||
|
<BuildDependencies>
|
||||||
|
<Dependency>alsa-lib-devel</Dependency>
|
||||||
|
<Dependency>libsdl-devel</Dependency>
|
||||||
|
</BuildDependencies>
|
||||||
|
<Patches>
|
||||||
|
<Patch level="1">dosbox-0.74_gcc4.6_compat.patch</Patch>
|
||||||
|
</Patches>
|
||||||
|
</Source>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>dosbox</Name>
|
||||||
|
<RuntimeDependencies>
|
||||||
|
<Dependency>alsa-lib-32bit</Dependency>
|
||||||
|
<Dependency>libsdl-32bit</Dependency>
|
||||||
|
</RuntimeDependencies>
|
||||||
|
<Files>
|
||||||
|
<Path fileType="doc">/usr/share/doc/dosbox</Path>
|
||||||
|
<Path fileType="man">/usr/share/man</Path>
|
||||||
|
<Path fileType="executable">/usr/bin</Path>
|
||||||
|
<Path fileType="data">/usr/share/icons</Path>
|
||||||
|
<Path fileType="data">/usr/share/pixmaps</Path>
|
||||||
|
<Path fileType="data">/usr/share/applications</Path>
|
||||||
|
</Files>
|
||||||
|
<AdditionalFiles>
|
||||||
|
<AdditionalFile target="/usr/share/pixmaps/dosbox.png">dosbox.png</AdditionalFile>
|
||||||
|
<AdditionalFile target="/usr/share/applications/dosbox.desktop">dosbox.desktop</AdditionalFile>
|
||||||
|
<AdditionalFile target="/usr/share/icons/hicolor/16x16/apps/dosbox.png">icons/hicolor/16x16/apps/dosbox.png</AdditionalFile>
|
||||||
|
<AdditionalFile target="/usr/share/icons/hicolor/24x24/apps/dosbox.png">icons/hicolor/24x24/apps/dosbox.png</AdditionalFile>
|
||||||
|
<AdditionalFile target="/usr/share/icons/hicolor/32x32/apps/dosbox.png">icons/hicolor/32x32/apps/dosbox.png</AdditionalFile>
|
||||||
|
<AdditionalFile target="/usr/share/icons/hicolor/48x48/apps/dosbox.png">icons/hicolor/48x48/apps/dosbox.png</AdditionalFile>
|
||||||
|
<AdditionalFile target="/usr/share/icons/hicolor/96x96/apps/dosbox.png">icons/hicolor/96x96/apps/dosbox.png</AdditionalFile>
|
||||||
|
<AdditionalFile target="/usr/share/icons/hicolor/128x128/apps/dosbox.png">icons/hicolor/128x128/apps/dosbox.png</AdditionalFile>
|
||||||
|
<AdditionalFile target="/usr/share/icons/hicolor/256x256/apps/dosbox.png">icons/hicolor/256x256/apps/dosbox.png</AdditionalFile>
|
||||||
|
</AdditionalFiles>
|
||||||
|
</Package>
|
||||||
|
|
||||||
|
<History>
|
||||||
|
<Update release="1">
|
||||||
|
<Date>2020-06-27</Date>
|
||||||
|
<Version>0.74.3</Version>
|
||||||
|
<Comment>First release</Comment>
|
||||||
|
<Name>Erdem Ersoy</Name>
|
||||||
|
<Email>erdemersoy@live.com</Email>
|
||||||
|
</Update>
|
||||||
|
</History>
|
||||||
|
</PISI>
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
<PISI>
|
||||||
|
<Source>
|
||||||
|
<Name>dosbox</Name>
|
||||||
|
<Summary xml:lang="tr">DOSBox, bir DOS öykünücüsüdür.</Summary>
|
||||||
|
<Description xml:lang="tr">DOSBox, SDL kitaplığını kullanan bir DOS öykünücüsüdür.</Description>
|
||||||
|
</Source>
|
||||||
|
</PISI>
|
||||||