...
 
Commits (4)
pdp (1:0.14.1+darcs20180201-2) unstable; urgency=medium
* Fix FTCBFS (Closes: #912347)
* Fix build/host confusion
* Let dh_auto_build pass cross tools to make.
Thanks to Helmut Grohne <helmut@subdivi.de>
* Declare that "root" is not required for building this package
* Bumped standards version to 4.2.1
-- IOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org> Wed, 31 Oct 2018 09:49:53 +0100
pdp (1:0.14.1+darcs20180201-1) unstable; urgency=medium
* New upstream version 0.14.1+darcs20180201
......
......@@ -16,7 +16,8 @@ Build-Depends:
libgsl-dev | libgsl0-dev,
libxv-dev,
freeglut3-dev,
Standards-Version: 4.1.3
Standards-Version: 4.2.1
Rules-Requires-Root: no
Homepage: http://zwizwa.be/pdp/
Vcs-Git: https://salsa.debian.org/multimedia-team/pd/pdp.git
Vcs-Browser: https://salsa.debian.org/multimedia-team/pd/pdp
......
......@@ -3,16 +3,11 @@
export PDP_EXTRA_CFLAGS = -fPIC -Wno-error $(CPPFLAGS) $(CFLAGS)
DPKG_EXPORT_BUILDFLAGS = 1
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
include /usr/share/dpkg/architecture.mk
include /usr/share/dpkg/buildflags.mk
ifeq ($(DEB_BUILD_ARCH),i386)
DEB_CONFIGURE_EXTRA_FLAGS = --enable-mmx
DEB_EXTRA_CFLAGS = -mmmx
BUILD_SCAF = yes
endif
ifeq ($(DEB_BUILD_ARCH),amd64)
ifneq ($(filter amd64 i386,$(DEB_HOST_ARCH)),)
DEB_CONFIGURE_EXTRA_FLAGS = --enable-mmx
DEB_EXTRA_CFLAGS = -mmmx
BUILD_SCAF = yes
......@@ -29,17 +24,17 @@ override_dh_auto_configure:
dh_auto_configure -Dscaf -- $(DEB_CONFIGURE_EXTRA_FLAGS)
override_dh_auto_build:
make pdp_all
make -C opengl \
dh_auto_build -- pdp_all
dh_auto_build --buildsystem=makefile --sourcedirectory=opengl -- \
LDFLAGS="$(LDFLAGS)" \
PDP_EXTRA_CFLAGS="$(CFLAGS) $(DEB_EXTRA_CFLAGS)" \
PDP_EXTRA_CPPFLAGS="$(CPPFLAGS)"
[ -z $(BUILD_SCAF) ] || \
make -C scaf \
ifneq ($(BUILD_SCAF),)
dh_auto_build --sourcedirectory=scaf -- \
LDFLAGS="-fPIC $(LDFLAGS)" \
PDP_CFLAGS="$(CPPFLAGS) -fPIC $(CFLAGS)"
[ -z $(BUILD_SCAF) ] || \
cp scaf/rules/carules.scafo scaf/rules/default.scafo
endif
docbook-to-man debian/pdp-config.sgml > pdp-config.1
override_dh_auto_clean:
......