~timo-jyrinki/ubuntu/trusty/lmms/lmms_1.0.0+stable_uploaded

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): Julian Taylor
  • Date: 2012-10-01 20:30:17 UTC
  • mfrom: (3.1.13 sid)
  • Revision ID: package-import@ubuntu.com-20121001203017-qr38o2nl0476dy0f
Tags: 0.4.10-2.3ubuntu1
* Merge from Debian unstable.  Remaining changes:
  - Build with wine1.4-dev (LP: #925127)
  - Remove manual wine dependency, obtain it via dh_shlibdeps
  - Remove wine and gcc-multilib build dependencies on amd64
    (package does not build with 64-bit only wine)

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
6
6
DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
7
7
 
 
8
DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
 
9
 
 
10
EXTRA_CMAKE_ARGS :=
 
11
ifneq ($(DEB_HOST_ARCH_OS),linux)
 
12
        EXTRA_CMAKE_ARGS += -DWANT_ALSA:BOOL=OFF
 
13
endif
 
14
 
8
15
 
9
16
CFLAGS = -Wall -g
10
17
 
25
32
build: build-stamp
26
33
build-stamp: patch-stamp config.status
27
34
        dh_testdir
28
 
        cmake . -DCMAKE_INSTALL_PREFIX=/usr
 
35
        cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=1 $(EXTRA_CMAKE_ARGS)
29
36
        touch build-stamp
30
37
 
31
38
clean: unpatch