Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update postmarketos.md #186

Merged
merged 3 commits into from
Oct 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 8 additions & 21 deletions postmarketos.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
**Этап 1. Устанавливаем зависимости необходимые для сборки**
```shell
sudo apk add qt5-qtbase-dev qt5-qtwebview-dev qt5-qtwebengine-dev qt5-qtmultimedia-dev qt5-qtsvg-dev qt5-qtwebsockets-dev qt5-qtdeclarative-dev qt5-qtquickcontrols2-dev qt5-qtquickcontrols
sudo apk add vlc vlc-qt vlc-dev g++ make git pkgconf
sudo apk add mpv-dev g++ make git pkgconf
```
**Этап 2. Создаем папку для проекта, переходим в нее и извлекаем исходники (предполагается что Вы находитесь в домашней папке)**
```shell
Expand All @@ -15,28 +15,10 @@ cd anilibria/
git clone https://github.com/anilibria/anilibria-winmaclinux.git
cd anilibria-winmaclinux/src/
```
**Этап 3. Редактируем файлы для мобильной адаптации**

Необходимо заменить в файле src/main.qml следующие строчки:
**Этап 3. Выполняем сборку**
```shell
ApplicationWindow {
id: window
visible: true
width: 800
height: 600
```
на эти
```shell
ApplicationWindow {
id: window
visible: true
width: 300
height: 300
```

**Этап 4. Выполняем сборку**
```shell
qmake-qt5 CONFIG+=unixvlc
qmake-qt5 CONFIG+=unixmpv
make
sudo make install
```
Expand All @@ -47,10 +29,15 @@ cd ~
rm -rf anilibria/
```

### TorrentStream
Воизбежание проскоков видео, рекомендуюется скачать и настроить [TorrentStream](https://github.com/trueromanus/TorrentStream)

Для этого, скачайте последнюю версию из [releases](https://github.com/trueromanus/TorrentStream/releases), разместите файл в удобной для Вас дерриктории, зайдите в приложение AniLibria и во вкладке TorrentStream укажите путь до файла.

### Как найти приложение?
Приложение будет доступно из меню по имени AniLibria.

### Как обновить приложение?
Для того чтобы обновить приложение можно выполнить шаги начиная с этапа 2. Первый этап в таком случае выполнять не надо!


Loading