File: rules

package info (click to toggle)
transcode 3%3A1.1.7-9
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 12,468 kB
  • ctags: 14,721
  • sloc: ansic: 117,006; sh: 11,468; xml: 2,849; makefile: 1,898; perl: 1,492; pascal: 526; php: 191; python: 144; sed: 43
file content (67 lines) | stat: -rwxr-xr-x 1,707 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#!/usr/bin/make -f

DEB_HOST_ARCH_OS := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)

nooptflags += --disable-3dnow
nooptflags += --disable-altivec
nooptflags += --disable-mmx

ifneq ($(DEB_HOST_ARCH),amd64)
	nooptflags += --disable-sse
	nooptflags += --disable-sse2
endif

confflags += $(nooptflags)
confflags += --enable-a52
confflags += --enable-ffmpeg
confflags += --enable-freetype2
confflags += --enable-iconv
confflags += --enable-imagemagick
confflags += --enable-lame
confflags += --enable-libavcodec
confflags += --enable-libavformat
confflags += --enable-libavformat
confflags += --enable-libdv
confflags += --enable-libdvdread
confflags += --enable-libjpeg
confflags += --enable-libmpeg2
confflags += --enable-libmpeg2convert
confflags += --enable-libpostproc
confflags += --enable-libquicktime
confflags += --enable-libxml2
confflags += --enable-lzo
confflags += --enable-mjpegtools
confflags += --enable-ogg
confflags += --enable-oss
confflags += --enable-sdl
confflags += --enable-theora
confflags += --enable-vorbis
# The following flags also need --enable-experimental, but this needs to be
# ported to libav 9.
# confflags += --enable-faac
# confflags += --enable-x264
# confflags += --enable-xvid

ifeq ($(DEB_HOST_ARCH_OS),linux)
confflags += --enable-alsa
confflags += --enable-v4l
endif

confflags += --libdir=/usr/lib

# Force the use of awk (and /usr/bin/awk)
export AWK=awk

%:
	dh $@ --parallel --with autoreconf

override_dh_auto_configure:
	dh_auto_configure -- $(confflags)

override_dh_auto_install:
	dh_auto_install
	rm -f debian/tmp/usr/lib/transcode/*.la

override_dh_strip:
	dh_strip --dbg-package=transcode-dbg