~linaro-maintainers/compiz-plugins-main/overlay-gl

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Ricardo Salveti de Araujo
  • Date: 2012-01-31 04:13:17 UTC
  • Revision ID: ricardo.salveti@linaro.org-20120131041317-6rak2pno1ekgen8q
Tags: 1:0.9.6+bzr20120117.2012.01-0linaro3
releasing version 1:0.9.6+bzr20120117.2012.01-0linaro3

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 
4
4
# Uncomment this to turn on verbose mode.
5
5
#export DH_VERBOSE=1
6
 
DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)
7
 
gles2_architectures := armel armhf
8
6
 
9
7
CORE_ABIVERSION := $(shell sed -rn 's/^\#define[[:space:]]+CORE_ABIVERSION[[:space:]]+//p' /usr/include/compiz/core/core.h )
10
8
 
11
9
override_dh_auto_configure:
12
 
ifeq ($(DEB_HOST_ARCH),$(findstring $(DEB_HOST_ARCH), $(gles2_architectures)))
13
10
        dh_auto_configure -- -DCOMPIZ_BUILD_WITH_RPATH=FALSE -DCOMPIZ_PACKAGING_ENABLED=TRUE -DCOMPIZ_PLUGIN_INSTALL_TYPE=package -DUSE_GSETTINGS=OFF -DCOMPIZ_DISABLE_GS_SCHEMAS_INSTALL=ON -DBUILD_GLES=ON
14
 
else
15
 
        dh_auto_configure -- -DCOMPIZ_BUILD_WITH_RPATH=FALSE -DCOMPIZ_PACKAGING_ENABLED=TRUE -DCOMPIZ_PLUGIN_INSTALL_TYPE=package -DUSE_GSETTINGS=OFF -DCOMPIZ_DISABLE_GS_SCHEMAS_INSTALL=ON
16
 
endif
17
11
 
18
12
override_dh_gencontrol:
19
13
        dh_gencontrol -- -Vcoreabiversion=$(CORE_ABIVERSION)