Skip to content

Commit

Permalink
Merge pull request #343 from yurtpage/debian
Browse files Browse the repository at this point in the history
Debian package
  • Loading branch information
gpospelov authored Aug 3, 2024
2 parents 956c11e + 77dc14a commit 08f692d
Show file tree
Hide file tree
Showing 8 changed files with 79 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,12 @@
CMakeLists.txt.user
*.code-workspace
build
/debian/qt-mvvm/
/debian/qt-mvvm-dev/
/debian/tmp/
/debian/.debhelper/
/debian/debhelper-build-stamp
/debian/files
/debian/qt-mvvm.substvars
/debian/qt-mvvm-dev.substvars
/obj-*
12 changes: 12 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
qt-mvvm (0.2.0) stable; urgency=medium

* This release contains mostly API refactoring and bug fixing.
* New features
* Undo/redo macro commands
* GraphItem improvements: errors, line style and width
* New widget: combo property editor with multiple selections
* New widget: collapsible list widget
* Update for Qt 5.15

-- Gennady Pospelov <[email protected]> Thu, 10 Dec 2020 00:00:00 +0000

34 changes: 34 additions & 0 deletions debian/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
Source: qt-mvvm
Maintainer: Gennady Pospelov <[email protected]>
Section: libs
Priority: optional
Build-Depends: debhelper-compat (= 11), debhelper (>= 11), libstdc++6, cmake, qtbase5-dev, qttools5-dev, pkgconf
Rules-Requires-Root: no
Standards-Version: 4.1.4
Vcs-Browser: https://github.com/gpospelov/qt-mvvm
Vcs-Git: https://github.com/gpospelov/qt-mvvm.git
Homepage: https://github.com/gpospelov/qt-mvvm
Bugs: https://github.com/gpospelov/qt-mvvm/issues

Package: qt-mvvm
Architecture: any
Depends: ${shlibs:Depends},
${misc:Depends}
Description: Model-View-ViewModel framework for Qt based applications written in C++
Main features of the framework are
* Application model to store arbitrary data of GUI session.
* Serialization of application models to json.
* Undo/redo based on command pattern.
* View model to show parts of application model in Qt widgets. Depends on Qt.
* Scientific plotting based on qcustomplot.
* Automatic generation of widgets from model content.
* Property editors.
* Flexible layout of Qt's trees and tables.

Package: qt-mvvm-dev
Architecture: any
Section: libdevel
Depends: ${shlibs:Depends},
${misc:Depends}
Description: Development files for libmvvm-qt5
Model-View-ViewModel framework for Qt based applications written in C++
5 changes: 5 additions & 0 deletions debian/copyright
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/

Files: *
Copyright: 2020-2024 Gennady Pospelov <[email protected]>
License: GPL-3+
2 changes: 2 additions & 0 deletions debian/qt-mvvm-dev.install
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
usr/include/mvvm/
usr/lib/*/cmake/mvvm/
1 change: 1 addition & 0 deletions debian/qt-mvvm.install
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
usr/lib/*/libmvvm*
15 changes: 15 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/make -f
export DH_VERBOSE=1
export QT_SELECT=qt5

%:
dh $@

override_dh_auto_configure:
dh_auto_configure -- \
-DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH) \
-DBUILD_TESTING=OFF \
-DMVVM_DISCOVER_TESTS=OFF \
-DMVVM_ENABLE_FILESYSTEM=OFF \
-DMVVM_BUILD_EXAMPLES=OFF

1 change: 1 addition & 0 deletions debian/source/format
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.0 (native)

0 comments on commit 08f692d

Please sign in to comment.