From: Boyuan Yang Date: Sat, 3 Dec 2022 14:06:49 +0000 (-0500) Subject: Update packaging scripts X-Git-Tag: archive/raspbian/5.7.12-2+rpi1^2~22 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=185fdaff5b6e0119a47e8be3db1738d616170c82;p=dtkcore.git Update packaging scripts --- 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