debian: Inital packaging

This commit is contained in:
Marius Gripsgard
2024-10-13 19:51:45 +02:00
parent 21baec2d5f
commit fc5f80b72e
6 changed files with 109 additions and 0 deletions

10
debian/Jenkinsfile vendored Normal file
View File

@@ -0,0 +1,10 @@
@Library('ubports-build-tools') _
buildAndProvideDebianPackage()
// Or if the package consists entirely of arch-independent packages:
// (optional optimization, will confuse BlueOcean's live view at build stage)
// buildAndProvideDebianPackage(/* isArchIndependent */ true)
// Optionally, to skip building on some architectures (amd64 is always built):
// buildAndProvideDebianPackage(false, /* ignoredArchs */ ['arm64'])

5
debian/changelog vendored Normal file
View File

@@ -0,0 +1,5 @@
ofono-binder-plugin-ext-qti (0.0.1-0ubports1) UNRELEASED; urgency=medium
* Add initial packaging for Ubuntu Touch.
-- Marius Gripsgard <mariogrip@debian.org> Sun, 13 Oct 2024 19:02:16 +0200

22
debian/control vendored Normal file
View File

@@ -0,0 +1,22 @@
Source: ofono-binder-plugin-ext-qti
Section: libs
Priority: optional
Maintainer: UBports developers <devs@ubports.com>
Build-Depends: debhelper-compat (= 12),
libglib2.0-dev (>= 2.0),
libglibutil-dev,
libgbinder-dev,
libgbinder-radio1-dev,
ofono-sailfish-dev (>= 1.29+git8-0ubports1~),
libofonobinderpluginext-dev,
libandroid-properties-dev,
Standards-Version: 3.8.4
Package: ofono-binder-plugin-ext-qti
Section: libs
Architecture: any
Depends: ${shlibs:Depends},
${misc:Depends},
Description: qti IRadio extension for ofono-binder-plugin
Extends ofono-binder-plugin to interface with IMS
implementation on devices that provide qtiRadioExt.

56
debian/copyright vendored Normal file
View File

@@ -0,0 +1,56 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: ofono-binder-plugin-ext-qti
Source: https://gitlab.com/ubports/development/core/hybris-support/ofono-binder-plugin-ext-qti
Files: src/qti_radio_ext.h src/qti_ims_call.c src/qti_radio_ext_types.h src/qti_ims_call.h src/qti_radio_ext.c
Copyright: 2024 Marius Gripsgard <marius@ubports.com>
2024 TheKit <thekit@disroot.org>
License: GPL-2.0
Files: src/qti_slot.c src/qti_ims.h src/qti_slot.h src/qti_plugin.c
Copyright: 2021-2022 Jolla Ltd
2024 TheKit <thekit@disroot.org>
2024 Marius Gripsgard <mariogrip@ubports.com>
License: BSD
License: GPL-2.0
This package is free software; you can redistribute it and/or modify
it under the terms of version 2 of the GNU General Public License
as published by the Free Software Foundation.
.
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 <http://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".
License: BSD
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. Neither the name of the University nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.

15
debian/rules vendored Executable file
View File

@@ -0,0 +1,15 @@
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
export OFONO_PKG = ofono-sailfish
LIBDIR=usr/lib/$(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
override_dh_auto_build:
dh_auto_build -- LIBDIR=$(LIBDIR) release
%:
dh $@

1
debian/source/format vendored Normal file
View File

@@ -0,0 +1 @@
3.0 (native)