[neon/qt6/qt6-gamepad/Neon/release] debian: initial package

Carlos De Maine null at kde.org
Sun Jun 18 09:14:32 BST 2023


Git commit 41bf008f7d7a0fdd1c7a697ce2eb1fbb721280ca by Carlos De Maine.
Committed on 18/06/2023 at 08:14.
Pushed by carlosdem into branch 'Neon/release'.

initial package

A  +5    -0    debian/changelog
A  +80   -0    debian/control
A  +75   -0    debian/copyright
A  +3    -0    debian/not-installed
A  +6    -0    debian/qt6-gamepad-dev.install
A  +2    -0    debian/qt6-gamepad.install
A  +16   -0    debian/rules
A  +1    -0    debian/source/format
A  +2    -0    debian/watch

https://invent.kde.org/neon/qt6/qt6-gamepad/-/commit/41bf008f7d7a0fdd1c7a697ce2eb1fbb721280ca

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..a2d0c75
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+qt6-gamepad (6.5.1-0neon) UNRELEASED; urgency=medium
+
+  * New release
+
+ -- Patrick Franz <deltaone at debian.org>  Mon, 03 Apr 2023 16:58:29 +0100
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..586e9e5
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,80 @@
+Source: qt6-gamepad
+Priority: optional
+Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>
+Uploaders: Lisandro Damián Nicanor Pérez Meyer <lisandro at debian.org>,
+           Dmitry Shachnev <mitya57 at debian.org>,
+           Simon Quigley <tsimonq2 at debian.org>,
+           Patrick Franz <deltaone at debian.org>
+Build-Depends: cmake,
+               debhelper-compat (= 13),
+               libsdl2-dev,
+               pkg-kde-tools,
+               qt6-base-dev,
+               qt6-declarative-dev,
+               qt6-doc-dev,
+Standards-Version: 4.6.1
+Section: libs
+Homepage: https://www.qt.io/developers/
+Rules-Requires-Root: no
+Vcs-Git: https://salsa.debian.org/qt-kde-team/qt/qtgamepad.git
+Vcs-Browser: https://salsa.debian.org/qt-kde-team/qt/qtgamepad
+
+Package: qt6-gamepad
+Architecture: any
+Section: kde
+X-Neon-MergedPackage: true
+Depends: ${misc:Depends}, ${shlibs:Depends}
+ Qt 6 gamepad module - libraries
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This package contains the libraries for the gamepad module.
+
+Package: qt6-gamepad-dev
+Architecture: any
+Section: kde
+X-Neon-MergedPackage: true
+Depends: qt6-base-dev (= ${binary:Version}),
+         qt6-gamepad (= ${binary:Version}),
+         ${misc:Depends}
+Description: Qt 6 gamepad module - development files
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This package contains the development files for the gamepad module.
+
+Package: libqt6gamepad6-dev
+Architecture: all
+Depends: qt6-gamepad-dev
+Description: Dummy transitional
+ Transitional dummy package.
+
+Package: libqt6gamepad6
+Architecture: all
+Depends: qt6-gamepad
+Description: Dummy transitional
+ Transitional dummy package.
+
+Package: qtgamepad6-examples
+Architecture: all
+Depends: qt6-gamepad
+Description: Dummy transitional
+ Transitional dummy package.
+
+Package: qml6-module-qtgamepad
+Architecture: all
+Depends: qt6-gamepad
+Description: Dummy transitional
+ Transitional dummy package.
+
+Package: qtgamepad6-doc
+Architecture: all
+Depends: qt6-gamepad
+Description: Dummy transitional
+ Transitional dummy package.
+
+Package: qtgamepad6-doc-html
+Architecture: all
+Depends: qt6-gamepad
+Description: Dummy transitional
+ Transitional dummy package.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..214fb73
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,75 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: qtgamepad-everywhere-src
+Source: https://download.qt.io/official_releases/qt/*/submodules/
+
+Files: *
+Copyright: 2016-2021 The Qt Company Ltd.
+License: GPL-3+
+
+Files: debian/*
+Copyright: 2018-2020 Lisandro Damián Nicanor Pérez Meyer <lisandro at debian.org>
+           2018-2022 Dmitry Shachnev <mitya57 at debian.org>
+License: LGPL-3 or GPL-2+
+
+Files: examples/*
+Copyright: 2016-2017 The Qt Company Ltd.
+           2015 BogDan Vatra <bogdan at kde.org>
+License: BSD-3-clause
+
+Files: examples/gamepad/configureButtons/main.cpp
+Copyright: 2015 BogDan Vatra <bogdan at kde.org>
+License: LGPL-3 or GPL-2+
+
+License: BSD-3-clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are
+ met:
+ .
+   * Redistributions of source code must retain the above copyright
+     notice, this list of conditions and the following disclaimer.
+   * 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.
+   * Neither the name of The Qt Company Ltd and its Subsidiary(-ies) 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 COPYRIGHT HOLDERS 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 COPYRIGHT
+ OWNER 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.
+
+License: LGPL-3
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Lesser General Public License version 3
+ as published by the Free Software Foundation.
+ .
+ This program 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 Lesser General Public License for more details.
+ .
+ On Debian systems, the complete text of the GNU Lesser General Public
+ License version 3 can be found in /usr/share/common-licenses/LGPL-3.
+
+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 program 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.
+ .
+ On Debian systems, the complete text of the GNU General Public
+ License version 2 can be found in /usr/share/common-licenses/GPL-2.
diff --git a/debian/not-installed b/debian/not-installed
new file mode 100644
index 0000000..e723fb2
--- /dev/null
+++ b/debian/not-installed
@@ -0,0 +1,3 @@
+usr/include/${DEB_HOST_MULTIARCH}/qt6/QtGamepad/6.*
+usr/lib/${DEB_HOST_MULTIARCH}/libQt6Gamepad.la
+usr/lib/${DEB_HOST_MULTIARCH}/qt6/mkspecs/modules/qt_lib_gamepad_private.pri
diff --git a/debian/qt6-gamepad-dev.install b/debian/qt6-gamepad-dev.install
new file mode 100644
index 0000000..51be7d2
--- /dev/null
+++ b/debian/qt6-gamepad-dev.install
@@ -0,0 +1,6 @@
+usr/include/${DEB_HOST_MULTIARCH}/qt6/QtGamepad/
+usr/lib/${DEB_HOST_MULTIARCH}/cmake/
+usr/lib/${DEB_HOST_MULTIARCH}/libQt6Gamepad.prl
+usr/lib/${DEB_HOST_MULTIARCH}/libQt6Gamepad.so
+usr/lib/${DEB_HOST_MULTIARCH}/pkgconfig/
+usr/lib/${DEB_HOST_MULTIARCH}/qt6/mkspecs/
diff --git a/debian/qt6-gamepad.install b/debian/qt6-gamepad.install
new file mode 100644
index 0000000..be09dc7
--- /dev/null
+++ b/debian/qt6-gamepad.install
@@ -0,0 +1,2 @@
+usr/lib/${DEB_HOST_MULTIARCH}/libQt6Gamepad.so.*
+usr/lib/${DEB_HOST_MULTIARCH}/qt6/plugins/gamepads/*.so
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..e2cde0c
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,16 @@
+#!/usr/bin/make -f
+include /usr/share/dpkg/architecture.mk
+
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all optimize=+lto
+
+%:
+	dh $@ --with pkgkde_symbolshelper --buildsystem=cmake+ninja
+
+override_dh_auto_configure:
+	dh_auto_configure -- \
+		--log-level=STATUS \
+		-DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH)
+
+execute_after_dh_auto_install:
+	# Reproducible builds: remove build paths from .prl files
+	sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libQt6*.prl
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..fdaabae
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=4
+https://download.qt.io/archive/qt/([\d\.]*)/([\d\.]*)/submodules/qtgamepad-everywhere-src-(.*)\.tar\.xz


More information about the Neon-commits mailing list