Skip to content

Commit

Permalink
feat: add dpkg-buildpackage support for qt6
Browse files Browse the repository at this point in the history
  Modify debian information.
  • Loading branch information
18202781743 authored and asterwyx committed Oct 30, 2023
1 parent 706c4c9 commit 213e0d3
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 24 deletions.
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
dde-qt6platform-plugins (6.0.0) unstable; urgency=medium

* Release 6.0.0

-- Deepin Packages Builder <[email protected]> Thu, 26 Oct 2023 12:28:53 +0800

dde-qt5platform-plugins (5.6.16) unstable; urgency=medium

* fix: ensue ddeshell failed
Expand Down
26 changes: 7 additions & 19 deletions debian/control
Original file line number Diff line number Diff line change
@@ -1,31 +1,19 @@
Source: dde-qt5platform-plugins
Source: dde-qt6platform-plugins
Section: devel
Priority: optional
Maintainer: Deepin Packages Builder <[email protected]>
Build-Depends: debhelper (>=9), qtbase5-dev, qtbase5-private-dev,
pkg-config, libqt5x11extras5-dev, libxcb-xkb-dev, libxcb-render-util0-dev,
Build-Depends: debhelper (>=9), qt6-base-dev, qt6-base-private-dev,
pkg-config, libxcb-xkb-dev, libxcb-render-util0-dev,
libxcb-image0-dev, libxcb-icccm4-dev, libxcb-keysyms1-dev, libegl1-mesa-dev,
libmtdev-dev, libxkbcommon-x11-dev, libdbus-1-dev, libqt5opengl5-dev,
libmtdev-dev, libxkbcommon-x11-dev, libdbus-1-dev,
libudev-dev, libxrender-dev,libxi-dev, libsm-dev, libxcb-xinerama0-dev,
libfontconfig1-dev, libfreetype6-dev, libglib2.0-dev, libxcb-damage0-dev,
libxcb-composite0-dev, libcairo2-dev, libkf5wayland-dev, libdwayland-dev,
qtwayland5-private-dev | libqt5waylandclient5-dev,
libwayland-dev, libxcb-xinput-dev, libxcb-util-dev | libxcb-util0-dev,
libfontconfig1-dev, libfreetype-dev, libglib2.0-dev, libxcb-damage0-dev,
libxcb-composite0-dev, libcairo2-dev, libxcb-xinput-dev, libxcb-util-dev | libxcb-util0-dev,
libx11-xcb-dev, libxcb-sync-dev, libxcb-randr0-dev, cmake, libgtest-dev, libgmock-dev, libdtkcommon-dev(>=5.6.16)
Standards-Version: 3.9.8

Package: dde-qt5xcb-plugin
Package: dde-qt6xcb-plugin
Architecture: any
Provides: libqt5dxcb-plugin
Conflicts: libqt5dxcb-plugin, qt5dxcb-plugin
Breaks:dde-qt5integration (<< 0.2.8.1)
Replaces: qt5dxcb-plugin
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: Qt platform plugins
Qt platform plugins for DDE.

Package: dde-qt5wayland-plugin
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, qtwayland5
Description: Qt platform plugins
Qt platform plugins for DDE.
4 changes: 2 additions & 2 deletions debian/copyright
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: qt5integration
Source: https://github.com/linuxdeepin/qt5integration
Upstream-Name: qt6platform-plugins
Source: https://github.com/linuxdeepin/qt6platform-plugins

Files: *
Copyright: 2017 Deepin.Inc <[email protected]>
Expand Down
2 changes: 0 additions & 2 deletions debian/dde-qt5wayland-plugin.install

This file was deleted.

1 change: 0 additions & 1 deletion debian/dde-qt5xcb-plugin.install

This file was deleted.

12 changes: 12 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
#!/usr/bin/make -f
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk
export DEB_CXXFLAGS_MAINT_APPEND = -Ofast

DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)

VERSION = $(DEB_VERSION_UPSTREAM)
PACK_VER = $(shell echo $(VERSION) | awk -F'[+_~-]' '{print $$1}')

%:
dh $@

override_dh_auto_configure:
dh_auto_configure -- -DDTK_VERSION=$(PACK_VER)

override_dh_shlibdeps:
dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info

0 comments on commit 213e0d3

Please sign in to comment.