Skip to content

Commit

Permalink
chore: [Qt6] debian packages
Browse files Browse the repository at this point in the history
Adapt to qt6, modify the deb package name prefix
to dfm6.

log: as title
  • Loading branch information
Johnson-zs committed Jul 18, 2024
1 parent fe45a50 commit 8725f33
Show file tree
Hide file tree
Showing 8 changed files with 26 additions and 14 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ SET(CMAKE_INCLUDE_CURRENT_DIR ON)
#SET(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -Wall")

option(OPT_ENABLE_QT6 "Use Qt6" OFF)
option(OPT_ENABLE_QT6 "Use Qt6" ON)

include(GNUInstallDirs)

Expand Down
26 changes: 13 additions & 13 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ Build-Depends:
debhelper (>=9),
cmake,
pkg-config,
qtbase5-dev,
qtbase5-private-dev,
qt5-qmake,
qt6-base-dev,
qt6-base-private-dev,
qmake6,
libglibmm-2.4-dev,
qttools5-dev-tools,
qt6-tools-dev-tools,
libglib2.0-dev,
libudisks2-dev,
libisoburn-dev,
Expand All @@ -21,7 +21,7 @@ Homepage: http://www.deepin.org
#Vcs-Browser: https://salsa.debian.org/debian/util-dfm
#Vcs-Git: https://salsa.debian.org/debian/util-dfm.git

Package: libdfm-io
Package: libdfm6-io
Architecture: any
Section: libdevel
Multi-Arch: same
Expand All @@ -32,18 +32,18 @@ Depends:
Description: A libaray about I/O.
A libaray that provides I/O interface.

Package: libdfm-io-dev
Package: libdfm6-io-dev
Architecture: any
Section: libdevel
Multi-Arch: same
Depends:
${shlibs:Depends},
${misc:Depends},
libdfm-io
libdfm6-io
Description: A libaray about I/O dev.
A libaray that provides I/O interface dev.

Package: libdfm-mount
Package: libdfm6-mount
Architecture: any
Section: libdevel
Multi-Arch: same
Expand All @@ -53,20 +53,20 @@ Depends:
Description: A libaray about mount and umount.
A libaray that provides mount and umount interface.

Package: libdfm-mount-dev
Package: libdfm6-mount-dev
Architecture: any
Section: libdevel
Multi-Arch: same
Depends:
${shlibs:Depends},
${misc:Depends},
libdfm-mount,
libdfm6-mount,
libsecret-1-dev,
libudisks2-dev
Description: A libaray about mount and umount dev.
A libaray that provides mount and umount interface dev.

Package: libdfm-burn
Package: libdfm6-burn
Architecture: any
Section: libdevel
Multi-Arch: same
Expand All @@ -78,14 +78,14 @@ Recommends:
Description: A libaray about burning CD.
A libaray that provides burning CD interface.

Package: libdfm-burn-dev
Package: libdfm6-burn-dev
Architecture: any
Section: libdevel
Multi-Arch: same
Depends:
${shlibs:Depends},
${misc:Depends},
libdfm-burn,
libdfm6-burn,
libisoburn-dev
Description: A libaray about mount burning CD.
A libaray that provides burning CD interface dev.
3 changes: 3 additions & 0 deletions debian/libdfm6-burn-dev.install
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
usr/include/dfm6-burn/*
usr/lib/*/pkgconfig/dfm6-burn.pc
usr/lib/*/cmake/dfm6-burn/*.cmake
1 change: 1 addition & 0 deletions debian/libdfm6-burn.install
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/usr/lib/*/libdfm6-burn*.so*
3 changes: 3 additions & 0 deletions debian/libdfm6-io-dev.install
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
usr/include/dfm6-io/*
usr/lib/*/pkgconfig/dfm6-io.pc
usr/lib/*/cmake/dfm6-io/*.cmake
1 change: 1 addition & 0 deletions debian/libdfm6-io.install
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/usr/lib/*/libdfm6-io*.so*
3 changes: 3 additions & 0 deletions debian/libdfm6-mount-dev.install
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
usr/include/dfm6-mount/*
usr/lib/*/pkgconfig/dfm6-mount.pc
usr/lib/*/cmake/dfm6-mount/*.cmake
1 change: 1 addition & 0 deletions debian/libdfm6-mount.install
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/usr/lib/*/libdfm6-mount*.so*

0 comments on commit 8725f33

Please sign in to comment.