Commit 42b6d813 authored by Bruno Queiros's avatar Bruno Queiros 🐧

add debian packaging

parent 19969412
......@@ -4,8 +4,8 @@ mauikit/
.directory
*.*~
~*.*
~.*
#~*.*
#~.*
# C++ objects and libs
*.slo
......
include: 'https://gitlab.com/debian-pm/tools/build/raw/master/docker/gitlab-ci-base.yml'
image: jbbgameich/build
buho (1.0-1) unstable; urgency=medium
buho (0+git20181114-1) UNRELEASED; urgency=medium
* Initial release (Closes: #nnnn) <nnnn is the bug number of your ITP>
* Initial release
-- Bruno Queiros <bqueiros@gmail.com> Sat, 01 Dec 2018 16:08:24 +0000
-- Jonah Brüchert <jbb@kaidan.im> Wed, 14 Nov 2018 15:47:04 +0100
Source: buho
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://anonscm.debian.org/git/collab-maint/buho.git
#Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/buho.git
Maintainer: Jonah Brüchert <jbb@kaidan.im>
Build-Depends: debhelper (>= 11),
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,
qt5-qmake,
qtbase5-dev (>= 5.5.0~),
qtdeclarative5-dev,
qtquickcontrols2-5-dev,
qtwebengine5-dev
Standards-Version: 4.2.1
Homepage: https://github.com/maui-project/buho
Vcs-Browser: https://gitlab.com/debian-pm/buho
Vcs-Git: https://gitlab.com/debian-pm/buho.git
Package: buho
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,
qml-module-qmltermwidget,
${misc:Depends},
${shlibs:Depends}
Description: Maui Note Taking App
Buho allows you to save links, write quick notes and organize pages as books.
Buho works on desktops, Android and Plasma Mobile.
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: buho
Source: <url://example.com>
Source: https://github.com/maui-project/buho
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
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
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