1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
|
{
"name": "Raine",
"description": "680x0 arcade emulator",
"url": "https://github.com/zelurker/raine/archive/0.64.15.tar.gz",
"mirror": null,
"homepage": "https://raine.1emulation.com/",
"depends": [
{
"depend": "autoconf",
"build-depend": true
},
{
"depend": "automake",
"build-depend": true
},
{
"depend": "libtool",
"build-depend": true
},
{
"depend": "nasm",
"build-depend": true
},
{
"depend": "pkg-config",
"build-depend": true
}
],
"resource": [
{
"name": "gettext",
"url": "https://ftp.gnu.org/gnu/gettext/gettext-0.19.8.1.tar.xz"
},
{
"name": "libpng",
"url": "https://downloads.sourceforge.net/project/libpng/libpng16/older-releases/1.6.31/libpng-1.6.31.tar.xz"
},
{
"name": "sdl",
"url": "https://www.libsdl.org/release/SDL-1.2.15.tar.gz"
},
{
"name": "sdl_image",
"url": "https://www.libsdl.org/projects/SDL_image/release/SDL_image-1.2.12.tar.gz"
},
{
"name": "libogg",
"url": "https://downloads.xiph.org/releases/ogg/libogg-1.3.2.tar.gz"
},
{
"name": "libvorbis",
"url": "https://downloads.xiph.org/releases/vorbis/libvorbis-1.3.5.tar.xz"
},
{
"name": "flac",
"url": "https://downloads.xiph.org/releases/flac/flac-1.3.2.tar.xz"
},
{
"name": "sdl_sound",
"url": "https://icculus.org/SDL_sound/downloads/SDL_sound-1.0.3.tar.gz"
},
{
"name": "freetype",
"url": "https://downloads.sourceforge.net/project/freetype/freetype2/2.8/freetype-2.8.tar.bz2"
},
{
"name": "sdl_ttf",
"url": "https://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-2.0.11.tar.gz"
},
{
"name": "muparser",
"url": "https://github.com/beltoforion/muparser/archive/v2.2.5.tar.gz"
}
],
"conflicts": [],
"patches": [],
"install": [
"ENV.m32",
"ENV.prepend_create_path \"PATH\", buildpath/\"bin\"",
"ENV.append_to_cflags \"-I#{buildpath}/include\"",
"ENV.append \"LDFLAGS\", \"-L#{buildpath}/lib\"",
"ENV.prepend_path \"PKG_CONFIG_PATH\", buildpath/\"lib/pkgconfig\"",
"resources.each do |r|",
"r.stage do",
"if r.name == \"sdl\"",
"inreplace \"src/video/quartz/SDL_QuartzVideo.h\",",
"/(CGDirectPaletteRef.+)$/,",
"\"#if (MAC_OS_X_VERSION_MIN_REQUIRED < 1070)\\n\\\\1\\n#endif\"",
"elsif r.name == \"sdl_ttf\"",
"inreplace \"SDL_ttf.c\",",
"\"for ( row = 0; row < glyph->bitmap.rows; ++row ) {\",",
"\"for ( row = 0; row < glyph->pixmap.rows; ++row ) {\"",
"elsif r.name == \"sdl_sound\"",
"touch [\"AUTHORS\", \"NEWS\"]",
"File.rename \"CHANGELOG\", \"ChangeLog\"",
"system \"autoreconf\", \"-ivf\"",
"end",
"args = configure_args(r.name)",
"args << \"--prefix=#{buildpath}\"",
"system \"./configure\", *args",
"system \"make\"",
"system \"make\", \"install\""
],
"version": "0.64.15",
"file": "raine.rb"
}
|