From 185fdaff5b6e0119a47e8be3db1738d616170c82 Mon Sep 17 00:00:00 2001 From: Boyuan Yang Date: Sat, 3 Dec 2022 09:06:49 -0500 Subject: [PATCH] Update packaging scripts --- debian/changelog | 7 +++++++ debian/control | 1 + debian/rules | 11 +++++++++-- 3 files changed, 17 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index e3f65c2..f4650d6 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +dtkcore (5.6.2.2-1~exp1) experimental; urgency=medium + + * New upstream release 5.6.2.2. + * debian/rules: Adjust for CMake-based build. + + -- Boyuan Yang Sat, 03 Dec 2022 09:05:57 -0500 + dtkcore (5.5.33-1) unstable; urgency=medium * New upstream version 5.5.33. diff --git a/debian/control b/debian/control index 69bbc34..8d8e486 100644 --- a/debian/control +++ b/debian/control @@ -10,6 +10,7 @@ Uploaders: Clay Stan , Hu Feng , Build-Depends: + cmake, debhelper-compat (= 13), libgsettings-qt-dev, pkg-config, diff --git a/debian/rules b/debian/rules index e6e2af3..651ddb4 100755 --- a/debian/rules +++ b/debian/rules @@ -17,11 +17,18 @@ include /usr/share/dpkg/architecture.mk # Retrieve version info include /usr/share/dpkg/default.mk +VERSION = $(DEB_VERSION_UPSTREAM) + %: - dh $@ --buildsystem=qmake --with pkgkde_symbolshelper + dh $@ --with pkgkde_symbolshelper override_dh_auto_configure: - dh_auto_configure -- LIB_INSTALL_DIR=/usr/lib/$(DEB_HOST_MULTIARCH) VERSION=$(DEB_VERSION_UPSTREAM) + dh_auto_configure -- \ + -DBUILD_EXAMPLES=OFF \ + -DBUILD_DOCS=ON \ + -DBUILD_VERSION=$(VERSION) \ + -DDVERSION=0 \ + $(NULL) override_dh_installchangelogs: dh_installchangelogs -k CHANGELOG.md -- 2.30.2