diff -Nru ifrit-4.1.2/debian/changelog ifrit-4.1.2/debian/changelog --- ifrit-4.1.2/debian/changelog 2016-04-15 15:38:01.000000000 +0000 +++ ifrit-4.1.2/debian/changelog 2018-05-04 12:45:53.000000000 +0000 @@ -1,3 +1,12 @@ +ifrit (4.1.2-5+rpi1) buster-staging; urgency=medium + + * Set DESIRED_QT_VERSION to 4 through a new override_dh_auto_configure target + + Note: the package has a target called override_dh_autoconfigure which does + nothing due to a typo in it's name, I tried fixing said typo but that + seemed to cause more problems than it solved. + + -- Peter Michael Green Fri, 04 May 2018 12:45:53 +0000 + ifrit (4.1.2-5) unstable; urgency=medium * QA upload. diff -Nru ifrit-4.1.2/debian/rules ifrit-4.1.2/debian/rules --- ifrit-4.1.2/debian/rules 2016-04-11 08:12:22.000000000 +0000 +++ ifrit-4.1.2/debian/rules 2018-05-04 12:45:53.000000000 +0000 @@ -7,6 +7,8 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 + + ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 else @@ -19,6 +21,8 @@ %: dh $@ --buildsystem=cmake --sourcedirectory=build +#this target doesn't actually do anything, because of a typo in it's name, +#i tried fixing said typo but that caused more problems than it solved --plugwash override_dh_autoconfigure: cd build && cmake \ -DDESIRED_QT_VERSION:STRING=4 \ @@ -27,6 +31,9 @@ -DCMAKE_EXE_LINKER_FLAGS:STRING="${CMAKE_EXE_LINKER_FLAGS} -Wl,--as-needed -lGL" \ -DCMAKE_COLOR_MAKEFILE:BOOL=FALSE +override_dh_auto_configure: + dh_auto_configure -- -DDESIRED_QT_VERSION=4 + override_dh_clean: # Clean up stuff which make clean leaves behind rm -f build/CMakeCache.txt build/cmake_install.cmake build/Makefile