Permalink
Browse files

Initial import

  • Loading branch information...
3unjee committed Feb 25, 2016
0 parents commit 850a726404a4ee46309e452dad4274fe04cce49f
Showing 803 changed files with 101,237 additions and 0 deletions.

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -0,0 +1,73 @@
<a href="http://omega.gg/MotionBox/source">![Sky kit](dist/pictures/Sk.png)</a>
---

Sky kit is the complete application kit built for [MotionBox](http://omega.gg/MotionBox).<br>
Designed for efficiency, scalability and maintainability.<br>
[omega](http://omega.gg/about) is building Sky kit for the society of sharing.<br>

## Technology
<a href="http://omega.gg/MotionBox/what">![MotionBox](dist/pictures/MotionBox.png)</a>

Sky kit is built in C++ on the [Qt framework](http://github.com/qtproject).<br>
The GUI is powered by [QML](http://github.com/qtproject/qtdeclarative) and rendered with OpenGL.<br>
The video player is based on the [libVLC](http://github.com/videolan/vlc).<br>

## Platforms

- Windows XP and later.

Linux and OS-X are coming soon.

## Requirements

- [Qt](http://download.qt.io/official_releases/qt) 4.8.0 / 5.5.0 or later.
- [VLC](http://download.videolan.org/pub/videolan/vlc) 2.2.0 or later.
- [OpenSSL](http://www.openssl.org/source) / [Win32OpenSSL](http://slproweb.com/products/Win32OpenSSL.html) 1.0.1 or later.

On Windows:
- [MinGW](http://sourceforge.net/projects/mingw) or [Git for Windows](https://git-for-windows.github.io) with g++ 4.9.2 or later.

Recommended:
- [Qt Creator](http://download.qt.io/official_releases/qtcreator) 3.6.0 or later.

## Configure

You can configure Sky kit with:

sh configure.sh <qt4 | qt5 | clean> <win32>

- Edit [configure.sh](configure.sh) to check your dependencies.

## Build

You can build Sky kit with Qt Creator:
- Open [Sk.pro](Sk.pro).
- Click on "Build > Build all".

Or the console:

qmake -r
make (mingw32-make on Windows)

## Deploy

You can deploy Sky kit with:

sh deploy.sh <qt4 | qt5 | clean> <win32>

- Edit [deploy.sh](deploy.sh) to check your dependencies.

## License

Copyright (C) 2015 - 2016 Sky kit authors united with [omega](http://omega.gg/about).

### Authors

- Benjamin Arnaud aka [bunjee](http://bunjee.me) | <bunjee@omega.gg>

### GNU General Public License Usage

Sky kit may be used under the terms of the GNU General Public License version 3 as published
by the Free Software Foundation and appearing in the LICENSE.md file included in the packaging
of this file. Please review the following information to ensure the GNU General Public License
requirements will be met: https://www.gnu.org/licenses/gpl.html.
17 Sk.pro
@@ -0,0 +1,17 @@
TEMPLATE = subdirs

SUBDIRS = src/SkCore \
src/SkGui \
src/SkMedia \
src/SkWeb \
src/SkBackend \
tools \

OTHER_FILES += configure.sh \
deploy.sh \
README.md \
LICENSE.md \
src/SkyComponents/qmldir \
dist/changes/1.0.1.md \
dist/changes/1.1.0.md \
dist/changes/1.1.1.md \
No changes.
@@ -0,0 +1,100 @@
#!/bin/sh

#--------------------------------------------------------------------------------------------------
# Settings
#--------------------------------------------------------------------------------------------------

external="../3rdparty"

Qt5="$external/Qt/5.5.1"

Qt5_version="5.5.1"

VLC="$external/VLC/2.2.2"

#--------------------------------------------------------------------------------------------------

bin4="bin"
bin5="latest"

#--------------------------------------------------------------------------------------------------
# Syntax
#--------------------------------------------------------------------------------------------------

if [ $# != 2 ] || [ $1 != "qt4" -a $1 != "qt5" -a $1 != "clean" ] || [ $2 != "win32" ]; then

echo "Usage: configure <qt4 | qt5 | clean> <win32>"

exit 1
fi

#--------------------------------------------------------------------------------------------------
# Clean
#--------------------------------------------------------------------------------------------------

if [ $1 = "clean" ]; then

echo "CLEANING"

rm -rf lib
mkdir lib
touch lib/.gitignore

rm -rf "$bin4"
mkdir "$bin4"
touch "$bin4"/.gitignore

rm -rf "$bin5"
mkdir "$bin5"
touch "$bin5"/.gitignore

#----------------------------------------------------------------------------------------------
# Qt

rm -rf include/Qt

#----------------------------------------------------------------------------------------------
# VLC

rm -rf include/vlc

exit 0
fi

#--------------------------------------------------------------------------------------------------
# Qt
#--------------------------------------------------------------------------------------------------

echo "COPYING Qt"

if [ $1 = "qt5" ]; then

mkdir include/Qt

mkdir include/Qt/QtCore
mkdir include/Qt/QtCore/private

cp "$Qt5"/include/QtCore/* include/Qt/QtCore

cp "$Qt5"/include/QtCore/"$Qt5_version"/QtCore/private/* include/Qt/QtCore/private

mkdir include/Qt/QtDeclarative
mkdir include/Qt/QtDeclarative/private

cp "$Qt5"/include/QtDeclarative/* include/Qt/QtDeclarative

cp "$Qt5"/include/QtDeclarative/"$Qt5_version"/QtDeclarative/private/* include/Qt/QtDeclarative/private
fi

#--------------------------------------------------------------------------------------------------
# VLC
#--------------------------------------------------------------------------------------------------

echo "COPYING VLC"

cp -r "$VLC"/sdk/include/vlc include

if [ $2 = "win32" ]; then

cp "$VLC"/sdk/lib/libvlc*.* lib
fi
181 deploy.sh
@@ -0,0 +1,181 @@
#!/bin/sh

#--------------------------------------------------------------------------------------------------
# Settings
#--------------------------------------------------------------------------------------------------

external="../3rdparty"

Qt4="$external/Qt/4.8.7"
Qt5="$external/Qt/5.5.1"

MinGW4="$external/MinGW/4.9.2/bin"
MinGW5="$external/MinGW/4.9.2/bin"

SSL="$external/OpenSSL"

VLC="$external/VLC/2.2.2"

#--------------------------------------------------------------------------------------------------

bin4="bin"
bin5="latest"

#--------------------------------------------------------------------------------------------------
# Syntax
#--------------------------------------------------------------------------------------------------

if [ $# != 2 ] || [ $1 != "qt4" -a $1 != "qt5" -a $1 != "clean" ] || [ $2 != "win32" ]; then

echo "Usage: deploy <qt4 | qt5 | clean> <win32>"

exit 1
fi

#--------------------------------------------------------------------------------------------------
# Clean
#--------------------------------------------------------------------------------------------------

echo "CLEANING"

rm -rf deploy/*

touch deploy/.gitignore

if [ $1 = "clean" ]; then

exit 0
fi

echo ""

#--------------------------------------------------------------------------------------------------
# Qt
#--------------------------------------------------------------------------------------------------

if [ $1 = "qt4" ]; then

echo "COPYING Qt4"

mkdir deploy/imageformats

if [ $2 = "win32" ]; then

cp "$MinGW4"/libgcc_s_dw2-1.dll deploy
cp "$MinGW4"/libstdc++-6.dll deploy
cp "$MinGW4"/libwinpthread-1.dll deploy

cp "$Qt4"/bin/QtCore4.dll deploy
cp "$Qt4"/bin/QtDeclarative4.dll deploy
cp "$Qt4"/bin/QtGui4.dll deploy
cp "$Qt4"/bin/QtNetwork4.dll deploy
cp "$Qt4"/bin/QtOpenGL4.dll deploy
cp "$Qt4"/bin/QtScript4.dll deploy
cp "$Qt4"/bin/QtSql4.dll deploy
cp "$Qt4"/bin/QtSvg4.dll deploy
cp "$Qt4"/bin/QtWebKit4.dll deploy
cp "$Qt4"/bin/QtXml4.dll deploy
cp "$Qt4"/bin/QtXmlPatterns4.dll deploy

cp "$Qt4"/plugins/imageformats/qsvg4.dll deploy/imageformats
cp "$Qt4"/plugins/imageformats/qjpeg4.dll deploy/imageformats
fi

bin="$bin4"

else

echo "COPYING Qt5"

mkdir deploy/imageformats
mkdir deploy/platforms

if [ $2 = "win32" ]; then

cp "$MinGW5"/libgcc_s_dw2-1.dll deploy
cp "$MinGW5"/libstdc++-6.dll deploy
cp "$MinGW5"/libwinpthread-1.dll deploy

cp "$Qt5"/bin/icudt54.dll deploy
cp "$Qt5"/bin/icuin54.dll deploy
cp "$Qt5"/bin/icuuc54.dll deploy

cp "$Qt5"/bin/Qt5Core.dll deploy
cp "$Qt5"/bin/Qt5Declarative.dll deploy
cp "$Qt5"/bin/Qt5Gui.dll deploy
cp "$Qt5"/bin/Qt5Multimedia.dll deploy
cp "$Qt5"/bin/Qt5MultimediaWidgets.dll deploy
cp "$Qt5"/bin/Qt5Network.dll deploy
cp "$Qt5"/bin/Qt5OpenGL.dll deploy
cp "$Qt5"/bin/Qt5Positioning.dll deploy
cp "$Qt5"/bin/Qt5PrintSupport.dll deploy
cp "$Qt5"/bin/Qt5Qml.dll deploy
cp "$Qt5"/bin/Qt5Quick.dll deploy
cp "$Qt5"/bin/Qt5Script.dll deploy
cp "$Qt5"/bin/Qt5Sensors.dll deploy
cp "$Qt5"/bin/Qt5Sql.dll deploy
cp "$Qt5"/bin/Qt5Svg.dll deploy
cp "$Qt5"/bin/Qt5WebChannel.dll deploy
cp "$Qt5"/bin/Qt5WebKit.dll deploy
cp "$Qt5"/bin/Qt5WebKitWidgets.dll deploy
cp "$Qt5"/bin/Qt5Widgets.dll deploy
cp "$Qt5"/bin/Qt5Xml.dll deploy
cp "$Qt5"/bin/Qt5XmlPatterns.dll deploy

cp "$Qt5"/plugins/imageformats/qsvg.dll deploy/imageformats
cp "$Qt5"/plugins/imageformats/qjpeg.dll deploy/imageformats

cp "$Qt5"/plugins/platforms/qwindows.dll deploy/platforms
fi

bin="$bin5"
fi

if [ $2 = "win32" ]; then

cp "$SSL"/libeay32.dll deploy
cp "$SSL"/ssleay32.dll deploy
fi

#--------------------------------------------------------------------------------------------------
# VLC
#--------------------------------------------------------------------------------------------------

echo "COPYING VLC"

mkdir deploy/plugins

cp -r "$VLC"/plugins/access deploy/plugins
cp -r "$VLC"/plugins/audio_filter deploy/plugins
cp -r "$VLC"/plugins/audio_mixer deploy/plugins
cp -r "$VLC"/plugins/audio_output deploy/plugins
cp -r "$VLC"/plugins/codec deploy/plugins
cp -r "$VLC"/plugins/control deploy/plugins
cp -r "$VLC"/plugins/demux deploy/plugins
cp -r "$VLC"/plugins/misc deploy/plugins
cp -r "$VLC"/plugins/video_chroma deploy/plugins
cp -r "$VLC"/plugins/video_filter deploy/plugins
cp -r "$VLC"/plugins/video_output deploy/plugins

if [ $2 = "win32" ]; then

cp "$VLC"/libvlc*.dll deploy
fi

#--------------------------------------------------------------------------------------------------
# Sk
#--------------------------------------------------------------------------------------------------

echo "COPYING Sk"

if [ $2 = "win32" ]; then

cp "$bin"/SkCore.dll deploy
cp "$bin"/SkGui.dll deploy
cp "$bin"/SkMedia.dll deploy
cp "$bin"/SkWeb.dll deploy
cp "$bin"/SkBackend.dll deploy

cp "$bin"/includeGenerator.exe deploy
cp "$bin"/deployer.exe deploy
fi
No changes.
Oops, something went wrong.

0 comments on commit 850a726

Please sign in to comment.