sound fixes
CI / Python ${{ matrix.python-version }} (3.10) (push) Has been cancelled Details
CI / Python ${{ matrix.python-version }} (3.7) (push) Has been cancelled Details
CI / Python ${{ matrix.python-version }} (3.8) (push) Has been cancelled Details
CI / Python ${{ matrix.python-version }} (3.9) (push) Has been cancelled Details

This commit is contained in:
emdee@spm.plastiras.org 2024-02-10 23:54:53 +00:00
parent d936663591
commit dda2a9147a
4 changed files with 1 additions and 47 deletions

1
.gitignore vendored
View File

@ -2,6 +2,7 @@
.pylint.out
*.pyc
*.pyo
*.bak
toxygen/toxcore
tests/tests

View File

@ -1,13 +0,0 @@
FROM ubuntu:16.04
RUN apt-get update && \
apt-get install build-essential libtool autotools-dev automake checkinstall cmake check git yasm libsodium-dev libopus-dev libvpx-dev pkg-config -y && \
git clone https://github.com/ingvar1995/toxcore.git --branch=ngc_rebase && \
cd toxcore && mkdir _build && cd _build && \
cmake .. && make && make install
RUN apt-get install portaudio19-dev python3-pyqt5 python3-pyaudio python3-pip -y && \
pip3 install numpy pydenticon opencv-python pyinstaller
RUN useradd -ms /bin/bash toxygen
USER toxygen

View File

@ -1,33 +0,0 @@
#!/usr/bin/env bash
cd ~
git clone https://github.com/toxygen-project/toxygen.git --branch=next_gen
cd toxygen/toxygen
pyinstaller --windowed --icon=images/icon.ico main.py
cp -r styles dist/main/
find . -type f ! -name '*.qss' -delete
cp -r plugins dist/main/
mkdir -p dist/main/ui/views
cp -r ui/views dist/main/ui/
cp -r sounds dist/main/
cp -r smileys dist/main/
cp -r stickers dist/main/
cp -r bootstrap dist/main/
find . -type f ! -name '*.json' -delete
cp -r images dist/main/
cp -r translations dist/main/
find . -name "*.ts" -type f -delete
cd dist
mv main toxygen
cd toxygen
mv main toxygen
wget -O updater https://github.com/toxygen-project/toxygen_updater/releases/download/v0.1/toxygen_updater_linux_64
echo "[Paths]" >> qt.conf
echo "Prefix = PyQt5/Qt" >> qt.conf
cd ..
tar -zcvf toxygen_linux_64.tar.gz toxygen > /dev/null
rm -rf toxygen

View File

@ -1 +0,0 @@
../../toxygen_wrapper.git/wrapper_tests/