Skip to content

Commit 89dc972

Browse files
authored
Add boxedwine (#5887)
* add boxedwine * fix * Update build_single_thread.sh * Update build_multi_thread.sh
1 parent 0e8d1c7 commit 89dc972

3 files changed

Lines changed: 86 additions & 0 deletions

File tree

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/bin/bash
2+
set -ex
3+
4+
cd project/emscripten
5+
6+
unset BUILD_DIR
7+
8+
make multiThreaded
9+
10+
OUT_DIR="$PREFIX/share/boxedwine-multi-thread"
11+
mkdir -p "$OUT_DIR"
12+
13+
cp Build/MultiThreaded/boxedwine.html "$OUT_DIR/"
14+
cp Build/MultiThreaded/boxedwine.js "$OUT_DIR/"
15+
cp Build/MultiThreaded/boxedwine.wasm "$OUT_DIR/"
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/bin/bash
2+
set -ex
3+
4+
cd project/emscripten
5+
6+
unset BUILD_DIR
7+
8+
make release
9+
10+
OUT_DIR="$PREFIX/share/boxedwine-single-thread"
11+
mkdir -p "$OUT_DIR"
12+
13+
cp Build/Release/boxedwine.html "$OUT_DIR/"
14+
cp Build/Release/boxedwine.js "$OUT_DIR/"
15+
cp Build/Release/boxedwine.wasm "$OUT_DIR/"
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
context:
2+
version: '26R1.0'
3+
4+
recipe:
5+
name: boxedwine
6+
version: ${{ version }}
7+
8+
source:
9+
url: https://github.com/danoon2/Boxedwine/archive/refs/tags/${{ version }}.tar.gz
10+
sha256: 36b43beb46e7f9a3df263a476b761a9a89274d4fbb0b92b4686df2d99f767642
11+
12+
build:
13+
number: 0
14+
15+
outputs:
16+
- package:
17+
name: boxedwine-single-thread
18+
requirements:
19+
build:
20+
- ${{ compiler('c') }}
21+
- ${{ compiler('cxx') }}
22+
- make
23+
tests:
24+
- package_contents:
25+
files:
26+
- share/boxedwine-single-thread/boxedwine.wasm
27+
- share/boxedwine-single-thread/boxedwine.js
28+
- share/boxedwine-single-thread/boxedwine.html
29+
build:
30+
script: build_single_thread.sh
31+
32+
- package:
33+
name: boxedwine-multi-thread
34+
requirements:
35+
build:
36+
- ${{ compiler('c') }}
37+
- ${{ compiler('cxx') }}
38+
- make
39+
tests:
40+
- package_contents:
41+
files:
42+
- share/boxedwine-multi-thread/boxedwine.wasm
43+
- share/boxedwine-multi-thread/boxedwine.js
44+
- share/boxedwine-multi-thread/boxedwine.html
45+
build:
46+
script: build_multi_thread.sh
47+
48+
about:
49+
homepage: https://www.boxedwine.org/
50+
license: GPL-2.0-only
51+
license_file: license.txt
52+
summary: Emulator that can run 32-bit Windows programs/games on multiple platforms via Wine
53+
54+
extra:
55+
recipe-maintainers:
56+
- wangyenshu

0 commit comments

Comments
 (0)