diff options
author | Deposite Pirate | 2018-09-16 18:48:36 +0200 |
---|---|---|
committer | Deposite Pirate | 2018-09-16 18:48:36 +0200 |
commit | d150a5f3e462fa7fe194a805a4aa0076f4d03ab9 (patch) | |
tree | ce5e44d69c5f3175bfdbd1e3717b52c5dcca5638 /emulation/hatari | |
parent | f29d3519ce073ec30f99754d93304324f7f26d65 (diff) |
Add ports.
Diffstat (limited to 'emulation/hatari')
-rw-r--r-- | emulation/hatari/hatari-1.6.2-desktop.patch.xz | bin | 0 -> 356 bytes | |||
-rwxr-xr-x | emulation/hatari/hatari.build | 68 |
2 files changed, 68 insertions, 0 deletions
diff --git a/emulation/hatari/hatari-1.6.2-desktop.patch.xz b/emulation/hatari/hatari-1.6.2-desktop.patch.xz Binary files differnew file mode 100644 index 0000000..553c343 --- /dev/null +++ b/emulation/hatari/hatari-1.6.2-desktop.patch.xz diff --git a/emulation/hatari/hatari.build b/emulation/hatari/hatari.build new file mode 100755 index 0000000..c00b589 --- /dev/null +++ b/emulation/hatari/hatari.build @@ -0,0 +1,68 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=hatari +VERSION=1.6.2 +BUILD=1 +DEPENDS=('sdl >= 1.2.15-1') + +# Description + +cat > ${PKG}/install/slack-desc <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: hatari (Atari emulator) +${NAME}: +${NAME}: Hatari is an emulator for the Atari ST, STE, TT and Falcon computers. +${NAME}: The Atari ST was a 16/32 bit computer system which was first released +${NAME}: by Atari in 1985. Using the Motorola 68000 CPU, it was a very popular +${NAME}: computer that had quite a lot of CPU power at that time. Hatari was +${NAME}: started as a port of the free Windows emulator WinSTon which uses +${NAME}: UAE's CPU core. It tries to emulate the hardware as closely as +${NAME}: possible. +${NAME}: +${NAME}: Homepage: http://hatari.tuxfamily.org +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://download.tuxfamily.org/${SRCNAME[0]}/${SRCVERS[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2 +SRCCOPY[0]="GPL2" + +build0() +{ +sed -i 's|share/hatari|share/application-data/hatari|g' CMakeLists.txt +cmake \ + -DCMAKE_C_FLAGS:STRING="${FLAGS}" \ + -DCMAKE_CXX_FLAGS:STRING="${FLAGS}" \ + -DCMAKE_VERBOSE_MAKEFILE:BOOL="on" \ + -DCMAKE_INSTALL_PREFIX:PATH="${SYS_DIR[usr]}" \ + -DDOCDIR:STRING="share/html/hatari" \ +. +make ${JOBS} +make install DESTDIR="${PKG}" +doc doc/{authors,keymap-sample}.txt +changelog doc/release-notes.txt +install.dat hatari.desktop ${PKG}${SYS_DIR[share]}/applications +mv \ + ${PKG}${SYS_DIR[share]}/icons/hicolor/32x32/apps/hatari-icon.png \ + ${PKG}${SYS_DIR[share]}/icons/hicolor/32x32/apps/hatari.png +gunzip ${PKG}${SYS_DIR[man]}/man?/*.?.gz +rm -rf \ + ${PKG}${SYS_DIR[html]}/hatari/*.txt \ + ${PKG}${SYS_DIR[bin]}/hatariui \ + ${PKG}${SYS_DIR[man]}/man1/hatariui.1 \ + ${PKG}${SYS_DIR[share]}/applications/hatariui.desktop \ + ${PKG}${SYS_DIR[share]}/application-data/hatari/{hatariui,hconsole} +} |