travis-build.sh 1.66 KB
Newer Older
Bruno Queiros's avatar
Bruno Queiros committed
1 2
#!/bin/bash

Bruno Queiros's avatar
Bruno Queiros committed
3
apt-get --yes update
Bruno Queiros's avatar
Bruno Queiros committed
4
apt-get --yes install wget gnupg2
Bruno Queiros's avatar
Bruno Queiros committed
5 6 7 8 9 10 11 12

### Add KDENeon Repository
echo 'deb http://archive.neon.kde.org/dev/stable/ bionic main' | tee /etc/apt/sources.list.d/neon-stable.list
wget -qO - 'http://archive.neon.kde.org/public.key' | apt-key add -

### Install Dependencies
apt-get --yes update
apt-get --yes dist-upgrade
Bruno Queiros's avatar
Bruno Queiros committed
13
apt-get --yes install devscripts lintian build-essential automake autotools-dev equivs qt5-default qtdeclarative5-dev qtquickcontrols2-5-dev qtwebengine5-dev cmake debhelper extra-cmake-modules libkf5config-dev libkf5coreaddons-dev libkf5i18n-dev libkf5kio-dev libkf5notifications-dev libkf5service-dev libqt5svg5-dev qtbase5-dev  qml-module-org-kde-kirigami2 qml-module-qtquick-controls2 qml-module-qtwebengine qt5-qmake qml-module-qtquick2 libqt5core5a libqt5gui5 libqt5network5 libqt5qml5 libqt5quick5 libqt5widgets5
Bruno Queiros's avatar
Bruno Queiros committed
14 15 16 17 18 19 20 21
wget https://raw.githubusercontent.com/lnxslck/home/master/nitrux/qml-module-qmltermwidget_0.1%2Bgit20180903-1_amd64.deb -O qml-module-qmltermwidget_0.1%2Bgit20180903-1_amd64.deb
dpkg -i qml-module-qmltermwidget_0.1%2Bgit20180903-1_amd64.deb
wget http://repo.nxos.org/development/pool/main/m/mauikit/libmauikit_0%2Bgit20181114-1_amd64.deb
dpkg -i libmauikit_0+git20181114-1_amd64.deb
wget http://repo.nxos.org/development/pool/main/m/mauikit/qml-module-org-kde-mauikit_0%2Bgit20181114-1_amd64.deb
dpkg -i qml-module-org-kde-mauikit_0+git20181114-1_amd64.deb
wget http://repo.nxos.org/development/pool/main/m/mauikit/mauikit-dev_0%2Bgit20181114-1_amd64.deb 
dpkg -i mauikit-dev_0+git20181114-1_amd64.deb
Bruno Queiros's avatar
Bruno Queiros committed
22 23 24 25 26 27 28
mk-build-deps -i -t "apt-get --yes" -r

### Build Deb
mkdir source
mv ./* source/ # Hack for debuild
cd source
debuild -b -uc -us