[neon/forks/jasper/Neon/release] debian: enable build switches
Carlos De Maine
null at kde.org
Thu May 16 09:53:25 BST 2024
Git commit 3d4f1c77d9da3fc365545df211e7dca63c2097b8 by Carlos De Maine.
Committed on 16/05/2024 at 08:52.
Pushed by carlosdem into branch 'Neon/release'.
enable build switches
M +1 -1 debian/control
M +10 -1 debian/rules
https://invent.kde.org/neon/forks/jasper/-/commit/3d4f1c77d9da3fc365545df211e7dca63c2097b8
diff --git a/debian/control b/debian/control
index df4cd5c..d099ce4 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Priority: optional
Section: graphics
Maintainer: Ubuntu Developers <ubuntu-devel-discuss at lists.ubuntu.com>
XSBC-Original-Maintainer: Roland Stigge <stigge at antcom.de>
-Build-Depends: debhelper-compat (= 13), freeglut3-dev, libjpeg-dev, libxi-dev, libxmu-dev, libxt-dev, dh-autoreconf
+Build-Depends: debhelper-compat (= 13), ninja-build, freeglut3-dev, libjpeg-dev, libxi-dev, libxmu-dev, libxt-dev, dh-autoreconf
Standards-Version: 3.9.5
Package: libjasper4
diff --git a/debian/rules b/debian/rules
index 657234c..f22973b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,16 @@
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
+export DH_VERBOSE=1
%:
dh $@
+
+override_dh_auto_configure:
+ dh_auto_configure -- \
+ -DALLOW_IN_SOURCE_BUILD=ON \
+ -DJAS_ENABLE_MIF_CODEC=ON \
+ -DJAS_ENABLE_HEIC_CODEC=ON \
+ -DJAS_PACKAGING=ON \
+ -DJAS_ENABLE_CXX=ON \
+ -DCMAKE_GENERATOR STREQUAL "Ninja Multi-Config"
More information about the Neon-commits
mailing list