Section: graphics
Priority: optional
Maintainer: Jakob Haufe <sur5r@sur5r.net>
-Build-Depends: debhelper (>=9), cdbs, qtbase5-dev, qtchooser, libqt5opengl5-dev
+Build-Depends: debhelper (>=9), qtbase5-dev, qtchooser, libqt5opengl5-dev
Standards-Version: 3.9.7
Homepage: http://www.mattkeeter.com/projects/fstl/
Vcs-Git: https://git.sur5r.net/fstl
--- /dev/null
+Description: qt subdir workaround
+ Upstream ships its qmake project file in a subdirectory which makes it
+ impossible for debhelper to detect it automatically.
+ .
+ This patch adds two small additional project files to solve this problem.
+Author: Jakob Haufe <sur5r@sur5r.net>
+
+--- /dev/null
++++ fstl-0.9.2/qt/qt.pro
+@@ -0,0 +1 @@
++include(fstl.pro)
+--- /dev/null
++++ fstl-0.9.2/top.pro
+@@ -0,0 +1,3 @@
++TEMPLATE=subdirs
++SUBDIRS+=qt
++
fix-qt-project
+qt-subdir-patch
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
-export DEB_QMAKE_ARGS=qt/fstl.pro
-
-include /usr/share/dpkg/buildflags.mk
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/qmake.mk
+%:
+ dh "$@"