Update build instructions

This commit is contained in:
ArsenArsen 2017-09-08 14:42:08 +02:00
parent 54fd98df68
commit c1b67fc592
5 changed files with 12 additions and 12 deletions

View File

@ -20,7 +20,7 @@ build_script:
- xcopy QtAV-depends-windows-x86+x64\* %QTDIR% /e /i /Y
- qmake CONFIG+=nopkg ../KShare.pro
- mingw32-make.exe -j%NUMBER_OF_PROCESSORS%
- copy release\KShare.exe ..\KShare.exe
- copy release\src\KShare.exe ..\KShare.exe
- cd ..
- bash AppVeyor\make_installer.sh
artifacts:

View File

@ -1,2 +1,11 @@
TEMPLATE = subdirs
SUBDIRS += src
DISTFILES += \
README.md \
LICENSE \
OlderSystemFix.patch \
AppVeyor/appveyor.yml \
AppVeyor/make_installer.sh \
.travis.yml \
install.sh

View File

@ -49,7 +49,7 @@ qmake # Might be qmake-qt5 on your system
make
```
On systems with FFMpeg pre-3.1 you need to apply `OlderSystemFix.patch` to `recording/encoders/encoder.cpp`.
On systems with FFMpeg pre-3.1 you need to apply `OlderSystemFix.patch` to `src/recording/encoders/encoder.cpp`.
On systems with Qt pre-5.7 you need to install the Qt version from their website.
You can attempt to `curl https://raw.githubusercontent.com/ArsenArsen/KShare/master/install.sh | bash`

View File

@ -19,7 +19,7 @@ resultfile="$(pwd)/KShare/build/KShare.app/"
elif [[ "$uname" = "Linux" ]]; then
echo "Please install Qt5 GUI, Widgets, Networking, and X11 Extras, qmake, ffmpeg development files, git, and pkgconfig"
sh
resultfile="$(pwd)/KShare/build/KShare"
resultfile="$(pwd)/KShare/build/src/KShare"
else echo "Unsupported OS!" && exit 1; fi
git clone --recursive https://github.com/ArsenArsen/KShare.git || exit 2

View File

@ -174,15 +174,6 @@ FORMS += mainwindow.ui \
logs/historydialog.ui \
monospacetextdialog.ui
DISTFILES += \
README.md \
LICENSE \
OlderSystemFix.patch \
AppVeyor/appveyor.yml \
AppVeyor/make_installer.sh \
.travis.yml \
install.sh
RESOURCES += \
icon.qrc \
translations.qrc