1
0
Fork 0

Remove appimage stuff, add info for pinephone users.

This commit is contained in:
namedkitten 2020-04-23 15:27:42 +01:00
parent 9b537bc9f5
commit a2a70fc40c
5 changed files with 10 additions and 82 deletions

View file

@ -1,37 +0,0 @@
language: cpp
compiler: gcc
sudo: require
dist: trusty
cache:
ccache: true
directories:
- $HOME/.ccache
- $HOME/.cache/apt
#- $HOME/.cache/mpv-build
before_install:
- mkdir -p $HOME/.cache/apt/partial
- sudo rm -rf /var/cache/apt/archives
- sudo ln -s $HOME/.cache/apt /var/cache/apt/archives
- sudo add-apt-repository ppa:beineri/opt-qt-5.10.1-trusty -y
- sudo apt-get update
install:
- sudo apt-get -y install ccache qt510-meta-minimal qt510quickcontrols python3-setuptools qt510quickcontrols2 qt510svg libgl1-mesa-dev x11proto-xext-dev libx11-dev qt510x11extras
- sudo apt-get build-dep mpv
- source /opt/qt*/bin/qt*-env.sh
script:
- wget https://github.com/NamedKitten/mpv-builder/releases/download/continuous/deps.tar.xz
- sudo tar xvf deps.tar.xz -C /
- time bash scripts/makeappimage.sh
after_success:
- time bash scripts/upload.sh
branches:
except:
- # Do not build tags that we create when we upload to GitHub Releases
- /^(?i:continuous)/

View file

@ -16,6 +16,8 @@ A video player based on Qt, QML and libmpv with themes for many online video pla
- NicoNico ![NicoNico Screenshot](https://raw.githubusercontent.com/NamedKitten/KittehPlayer/master/screenshots/NicoNico.png) - NicoNico ![NicoNico Screenshot](https://raw.githubusercontent.com/NamedKitten/KittehPlayer/master/screenshots/NicoNico.png)
- RoosterTeeth ![RoosterTeeth Screenshot](https://raw.githubusercontent.com/NamedKitten/KittehPlayer/master/screenshots/RoosterTeeth.png) - RoosterTeeth ![RoosterTeeth Screenshot](https://raw.githubusercontent.com/NamedKitten/KittehPlayer/master/screenshots/RoosterTeeth.png)
## FOR PINEPHONE USERS
- If you use a pinephone, you'll need config from the gist linked at very bottom.
## How to install ## How to install
@ -23,10 +25,7 @@ A video player based on Qt, QML and libmpv with themes for many online video pla
- Coming Soon:tm: - Coming Soon:tm:
### Distro Packages ### Distro Packages
- Arch Linux: `kittehplayer` in the AUR - None right now, if you want to then pop me a message on somewhere linked on [My Website](https://kitteh.pw/) and I'll be happy to help if stuff goes wrong.
### Linux AppImage
- Discontinued for now.
### From source ### From source
#### Dependencies #### Dependencies
@ -41,6 +40,12 @@ sudo apt update
sudo apt install build-essential git nasm qt511-meta-minimal qt511quickcontrols qt511quickcontrols2 qt511imageformats qt511svg libgl1-mesa-dev libmpv-dev sudo apt install build-essential git nasm qt511-meta-minimal qt511quickcontrols qt511quickcontrols2 qt511imageformats qt511svg libgl1-mesa-dev libmpv-dev
sudo apt-get build-dep mpv libmpv* ffmpeg sudo apt-get build-dep mpv libmpv* ffmpeg
``` ```
##### Debian
```
sudo apt install build-essential cmake qtquickcontrols2-5-dev qtbase5-dev qtdeclarative5-dev libqt5x11extras5-dev libmpv-dev qml-module-qtquick-controls qml-module-qtquick-controls2 qml-module-qtquick-extras qml-module-qtquick-layouts qml-module-qtquick-dialogs qml-module-qtquick-privatewidgets qml-module-qtquick-localstorage qml-module-qt-labs-settings qml-module-qt-labs-platform qtbase5-private libqt5svg5
```
- Note that I don't know if this is the full list yet, pop a issue up if building fails.
#### Instructions #### Instructions
- `git clone https://github.com/NamedKitten/KittehPlayer KittehPlayer` - `git clone https://github.com/NamedKitten/KittehPlayer KittehPlayer`
- `cd KittehPlayer` - `cd KittehPlayer`
@ -52,3 +57,4 @@ sudo apt-get build-dep mpv libmpv* ffmpeg
## Configuration ## Configuration
- For docs on KittehPlayer please view DOCS.md or `man KittehPlayer` - For docs on KittehPlayer please view DOCS.md or `man KittehPlayer`
- For pinephone users or people with no opengl fbo support, see [Here](https://gist.github.com/NamedKitten/675ca8587a8f714a856c6d6d14a9562a) here for my pinephone config.

View file

@ -1,28 +0,0 @@
#!/bin/bash
set -ex
export PATH="/usr/lib/ccache:/usr/lib/ccache/bin:$PATH"
export QML_SOURCES_PATHS=src/qml
export V=0 VERBOSE=0
cmake -DCMAKE_INSTALL_PREFIX=/usr .
make -j$(nproc)
make DESTDIR=appdir -j$(nproc) install ; find appdir/
wget -nc "https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage"
wget -nc "https://github.com/linuxdeploy/linuxdeploy-plugin-qt/releases/download/continuous/linuxdeploy-plugin-qt-x86_64.AppImage"
chmod +x linux*
mkdir -p appdir/usr/lib
if [ "$ARCH" == "" ]; then
ARCH="x86_64"
fi
wget https://github.com/AppImage/AppImageUpdate/releases/download/continuous/AppImageUpdate-x86_64.AppImage -O appdir/usr/bin/appimageupdatetool
chmod +x appdir/usr/bin/appimageupdatetool
wget https://yt-dl.org/downloads/latest/youtube-dl -O appdir/usr/bin/youtube-dl
chmod +x appdir/usr/bin/youtube-dl
export UPD_INFO="gh-releases-zsync|NamedKitten|KittehPlayer|continuous|KittehPlayer-$ARCH.AppImage.zsync"
time ./linuxdeploy-x86_64.AppImage --appdir appdir --plugin qt --output appimage -v 3

View file

@ -1,9 +0,0 @@
#!/bin/bash
set -e
export TEXT=`git log -1 --pretty=%B`
export UPLOADTOOL_BODY="$TEXT\nTravis CI build log: https://travis-ci.com/$TRAVIS_REPO_SLUG/builds/$TRAVIS_BUILD_ID/"
wget https://github.com/probonopd/uploadtool/raw/master/upload.sh
bash upload.sh KittehPlayer*.AppImage*
echo "Done!"

View file

@ -174,10 +174,6 @@ MenuBar {
onTriggered: Qt.quit() onTriggered: Qt.quit()
shortcut: keybinds.quit shortcut: keybinds.quit
} }
Action {
text: translate.getTranslation("UPDATE", i18n.language)
onTriggered: utils.updateAppImage()
}
} }
CustomMenu { CustomMenu {