Commit d5175e5f authored by Bruno Queiros's avatar Bruno Queiros 🐧

add debian packaging

parent 494ca3d1
......@@ -4,8 +4,8 @@ mauikit/
.directory
*.*~
~*.*
~.*
#~*.*
#~.*
# C++ objects and libs
*.slo
......
sudo: required
services:
- docker
- docker
addons:
apt:
packages:
- realpath
- realpath
install:
- docker pull ubuntu:bionic
- wget https://raw.githubusercontent.com/nomad-desktop/nxos-repository-util/master/nxos-repository-util.sh -O nxos-repository-util.sh
- chmod +x nxos-repository-util.sh
- docker pull ubuntu:bionic
- wget https://raw.githubusercontent.com/nomad-desktop/nxos-repository-util/master/nxos-repository-util.sh
-O nxos-repository-util.sh
- chmod +x nxos-repository-util.sh
script:
- docker run --rm -v $(pwd)/:/build/ -w /build/ ubuntu:bionic /bin/bash travis-build.sh
- docker run --rm -v $(pwd)/:/build/ -w /build/ ubuntu:bionic /bin/bash travis-build.sh
branches:
only:
- master
- development
- master
- development
deploy:
- provider: script
script: ./source/nxos-repository-util.sh upload testing *.deb
skip_cleanup: true
on:
branch: master
- provider: script
script: ./source/nxos-repository-util.sh upload development *.deb
skip_cleanup: true
on:
branch: development
- provider: script
script: "./source/nxos-repository-util.sh upload testing *.deb"
skip_cleanup: true
on:
branch: master
- provider: script
script: "./source/nxos-repository-util.sh upload development *.deb"
skip_cleanup: true
on:
branch: development
notifications:
email: false
slack: nitrux:LgpKKPnWky7IWShmzXsyVDWu
env:
global:
- secure: X851cagOqK3vxSgI+WiK86PQ7x5comdCp3wJjHsO6kIKMITRHwJhpxBIx2gUN4Y/KOPO34I/n9B/s/kZv/gColAvCkwJXKyoTt+counQZzFz2QVAFmfs95hfJY87FGSZe3rP/8/rw0wRONvGcjjaeFMLRsrP02mG9BBYdFzS27fvEQl1HKIpn3WI59aHvhwBhFPUWm8DnJhphtcJCxFACoQZs3BHPWCQ7EvEvKZZEPGctMD7NHz45KtrzJFYfuBQ6cy5lsfDRZZ+8SiWgtJorz+/S4Ed7JHKHlSfwtMuKjCK3MWgrhQgwXO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181114-1) UNRELEASED; urgency=medium
* Initial release (Closes: #nnnn) <nnnn is the bug number of your ITP>
* New snapshot
-- Bruno Queiros <bqueiros@gmail.com> Sat, 01 Dec 2018 16:08:24 +0000
-- Jonah Brüchert <jbb@kaidan.im> Wed, 14 Nov 2018 15:43:56 +0100
index (0+git20180905-1) unstable; urgency=medium
* Initial release
-- Jonah Brüchert <jbb@kaidan.im> Wed, 05 Sep 2018 14:37:52 +0200
Source: index
Section: unknown
Section: utils
Priority: optional
Maintainer: Bruno Queiros <bqueiros@gmail.com>
Build-Depends: debhelper (>= 10)
Standards-Version: 4.1.2
Homepage: <insert the upstream URL, if relevant>
Vcs-Git: https://github.com/mauikit/index.git
#Vcs-Browser: https://github.com/mauikit/index.git
Maintainer: Jonah Brüchert <jbb@kaidan.im>
Build-Depends: cmake,
debhelper (>= 11),
extra-cmake-modules,
libkf5config-dev (>= 5.24.0~),
libkf5coreaddons-dev (>= 5.24.0~),
libkf5i18n-dev (>= 5.24.0~),
libkf5kio-dev,
libkf5notifications-dev (>= 5.24.0~),
libkf5service-dev (>= 5.24.0~),
libqt5svg5-dev,
mauikit-dev,
qtbase5-dev (>= 5.5.0~),
qtdeclarative5-dev,
qtquickcontrols2-5-dev,
qtwebengine5-dev
Standards-Version: 4.2.1
Homepage: https://github.com/maui-project/index
Vcs-Browser: https://gitlab.com/debian-pm/apps/index
Vcs-Git: https://gitlab.com/debian-pm/apps/index.git
Package: index
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: <insert up to 60 chars description>
<insert long description, indented with spaces>
Depends: qml-module-org-kde-mauikit, ${misc:Depends}, ${shlibs:Depends}
Description: Maui File manager
Index is a file manager that works on desktops, Android and Plasma Mobile.
Index lets you browse your system files and applications and preview
your music, text, image and video files and share them with external applications
.
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: index
Source: <url://example.com>
Source: https://github.com/maui-project/index
Files: *
Copyright: <years> <put author's name and email here>
<years> <likewise for another author>
License: <special license>
<Put the license of the package here indented by 1 space>
<This follows the format of Description: lines in control file>
.
<Including paragraphs>
Copyright: 2018, Camilo Higuita
License: GPL-3+
# If you want to use GPL v2 or later for the /debian/* files use
# the following clauses, or change it to suit. Delete these two lines
Files: debian/*
Copyright: 2018 Bruno Queiros <bqueiros@gmail.com>
Copyright: 2018, Jonah Brüchert <jbb@kaidan.im>
License: GPL-2+
This package is free software; you can redistribute it and/or modify
License: GPL-2+
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>
.
On Debian systems, the complete text of the GNU General
Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
the Free Software Foundation; version 2 dated June, 1991, or (at
your option) any later version.
On Debian systems, the complete text of version 2 of the GNU General
Public License can be found in '/usr/share/common-licenses/GPL-2'.
# Please also look if there are files or directories which have a
# different copyright/license attached and list them here.
# Please avoid picking licenses with terms that are more restrictive than the
# packaged work, as it may make Debian's contributions unacceptable upstream.
License: GPL-3+
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 3 dated June, 2007, or (at
your option) any later version.
On Debian systems, the complete text of version 3 of the GNU General
Public License can be found in '/usr/share/common-licenses/GPL-3'.
#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#export DH_VERBOSE = 1
# see FEATURE AREAS in dpkg-buildflags(1)
#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
# see ENVIRONMENT in dpkg-buildflags(1)
# package maintainers to append CFLAGS
#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
# package maintainers to append LDFLAGS
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
export QT_SELECT=qt5
%:
dh $@
# dh_make generated override targets
# This is example for Cmake (See https://bugs.debian.org/641051 )
#override_dh_auto_configure:
# dh_auto_configure -- # -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH)
#!/bin/bash
apt-get --yes update
apt-get --yes install wget
apt-get --yes install wget gnupg2
### Add KDENeon Repository
echo 'deb http://archive.neon.kde.org/dev/stable/ bionic main' | tee /etc/apt/sources.list.d/neon-stable.list
......@@ -10,7 +10,15 @@ wget -qO - 'http://archive.neon.kde.org/public.key' | apt-key add -
### Install Dependencies
apt-get --yes update
apt-get --yes dist-upgrade
apt-get --yes install devscripts lintian build-essential automake autotools-dev equivs qt5-default qtdeclarative5-dev qtquickcontrols2-5-dev qtwebengine5-dev cmake
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
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
mk-build-deps -i -t "apt-get --yes" -r
### Build Deb
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment