-
Notifications
You must be signed in to change notification settings - Fork 315
92 lines (86 loc) · 2.81 KB
/
enigma2.yml
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
name: enigma2 build
on:
push:
branches: [ 7.3, master ]
pull_request:
branches: [ 7.3, master ]
jobs:
build:
name: Build enigma2
runs-on: ubuntu-22.04
strategy:
matrix:
gcc: [11]
python: ['3.11']
steps:
- name: Install prerequisites
run: |
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
sudo apt-get -q update
sudo apt remove -y libunwind-14-dev
sudo apt-get install g++-${{ matrix.gcc }}
sudo apt-get install linux-libc-dev
sudo apt-get install git
sudo apt-get install build-essential
sudo apt-get install automake
sudo apt-get install libtool
sudo apt-get install python${{ matrix.python }}-dev
sudo apt-get install zlib1g-dev
sudo apt-get install gettext
sudo apt-get install swig
sudo apt-get install libgstreamer1.0-dev
sudo apt-get install libgstreamer-plugins-base1.0-dev
sudo apt-get install libfreetype6-dev
sudo apt-get install libsigc++-2.0-dev
sudo apt-get install libfribidi-dev
sudo apt-get install libssl-dev
sudo apt-get install libavahi-client-dev
sudo apt-get install libjpeg-turbo8-dev
sudo apt-get install libgif-dev
sudo apt-get install libcurl4-openssl-dev
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Build enigma2 dependencies, gcc-${{ matrix.gcc }}
env:
CC: "gcc-${{ matrix.gcc }}"
CXX: "g++-${{ matrix.gcc }}"
run: |
echo "installing libdvbsi++"
pushd .
cd /tmp
git clone --depth 1 https://github.com/oe-alliance/libdvbsi.git
cd libdvbsi
autoreconf -i
./configure
make
sudo make install
popd
echo "installing tuxbox"
pushd .
cd /tmp
git clone --depth 1 https://github.com/OpenPLi/tuxtxt.git
cd tuxtxt/libtuxtxt
autoreconf -i
./configure --with-boxtype=generic DVB_API_VERSION=5
make
sudo make install
cd ../tuxtxt
autoreconf -i
./configure --with-boxtype=generic DVB_API_VERSION=5
make
sudo make install
popd
- name: Build enigma2
env:
CC: "gcc-${{ matrix.gcc }}"
CXX: "g++-${{ matrix.gcc }}"
run: |
pip3 install six
echo "compiling enigma2"
autoreconf -i
./configure --with-libsdl=no --with-boxtype=nobox --enable-dependency-tracking ac_cv_prog_c_openmp=-fopenmp --with-gstversion=1.0 --with-textlcd
make
python -m compileall .
echo done!