Browse Source

Update build instructions

tags/v5.0.0^2
ArsenArsen 5 years ago
parent
commit
c1b67fc592
  1. 2
      AppVeyor/appveyor.yml
  2. 9
      KShare.pro
  3. 2
      README.md
  4. 2
      install.sh
  5. 9
      src/src.pro

2
AppVeyor/appveyor.yml

@ -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:

9
KShare.pro

@ -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

2
README.md

@ -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`

2
install.sh

@ -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

9
src/src.pro

@ -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

Loading…
Cancel
Save