~videolan/vlc/stable-daily-packaging.xenial

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Benjamin Drung
  • Date: 2014-08-26 20:54:13 UTC
  • mfrom: (1.1.23 packaging)
  • Revision ID: bdrung@ubuntu.com-20140826205413-b4ctxq5brlls5j6s
Merge changes from 2.2.0~pre2-4.

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
        --enable-chromaprint \
52
52
        --enable-dbus \
53
53
        --enable-dca \
54
 
        --enable-dirac \
55
54
        --enable-directfb \
56
55
        --enable-dvbpsi \
57
56
        --enable-dvdnav \
58
57
        --enable-faad \
59
58
        --enable-flac \
60
59
        --enable-fluidsynth \
 
60
        --enable-freerdp \
61
61
        --enable-freetype \
62
62
        --enable-fribidi \
 
63
        --enable-gles1 \
 
64
        --enable-gles2 \
 
65
        --enable-glx \
63
66
        --enable-gnutls \
64
67
        --enable-jack \
65
68
        --enable-kate \
66
69
        --enable-libass \
67
 
        --enable-libfreerdp \
68
70
        --enable-libmpeg2 \
69
71
        --enable-libxml2 \
70
72
        --enable-lirc \
79
81
        --enable-notify \
80
82
        --enable-ogg \
81
83
        --enable-opus \
82
 
        --enable-oss \
83
84
        --enable-pulse \
84
85
        --enable-qt \
85
86
        --enable-realrtsp \
87
88
        --enable-schroedinger \
88
89
        --enable-sdl \
89
90
        --enable-sftp \
 
91
        --enable-shine \
90
92
        --enable-shout \
91
93
        --enable-skins2 \
92
94
        --enable-smbclient \
96
98
        --enable-theora \
97
99
        --enable-twolame \
98
100
        --enable-upnp \
99
 
        --enable-vcd \
100
101
        --enable-vcdx \
 
102
        --enable-vdpau \
 
103
        --enable-vnc \
101
104
        --enable-vorbis \
 
105
        --enable-vpx \
102
106
        --enable-x264 \
103
107
        --enable-zvbi \
104
108
        --with-kde-solid=/usr/share/kde4/apps/solid/actions/ \
109
113
# fdkaac -> in Debian non-free
110
114
# gnomevfs -> poorly maintained
111
115
# goom -> not in Debian
112
 
# libvnc -> libvncserver-dev (containing libvncclient) conflicts with gnutls28
 
116
# libtar -> security issue (#737534)
 
117
# mfx -> currently not supported on Linux
113
118
# opencv -> developer plugin not required by end users
114
119
# projectm -> broken
115
 
# quicksync -> currently not supported on Linux
116
120
# sndio -> not in Debian
 
121
# svgdev -> libcairo2-dev is not new enough
117
122
# telx -> incompatible with zvbi
118
123
# vsxu -> not in Debian
119
124
# wasapi -> Windows only
123
128
        --disable-fdkaac \
124
129
        --disable-gnomevfs \
125
130
        --disable-goom \
126
 
        --disable-libvnc \
 
131
        --disable-libtar \
 
132
        --disable-mfx \
127
133
        --disable-opencv \
128
134
        --disable-projectm \
129
 
        --disable-quicksync \
130
135
        --disable-sndio \
 
136
        --disable-svgdec \
131
137
        --disable-telx \
132
138
        --disable-vsxu \
133
139
        --disable-wasapi \
170
176
        $(NULL)
171
177
endif
172
178
 
 
179
# Hurd specific flags
 
180
ifeq (,$(filter-out hurd,$(DEB_HOST_ARCH_OS)))
 
181
confflags += \
 
182
        --disable-oss \
 
183
        --disable-vcd
 
184
removeplugins += \
 
185
        oss \
 
186
        cdda \
 
187
        vcd \
 
188
        $(NULL)
 
189
else
 
190
confflags += \
 
191
        --enable-oss \
 
192
        --enable-vcd \
 
193
        $(NULL)
 
194
endif
 
195
 
173
196
# Linux and kFreeBSD specific flags
174
197
ifeq (,$(filter-out linux kfreebsd,$(DEB_HOST_ARCH_OS)))
175
198
confflags += --enable-libva
275
298
        # Check that we did not install a plugin linked with libX11 or
276
299
        # libxcb in vlc-nox
277
300
        BORKED=no; \
 
301
        LD_LIBRARY_PATH="debian/libvlccore8/usr/lib:debian/libvlc5/usr/lib$${LD_LIBRARY_PATH:+:}$${LD_LIBRARY_PATH:-}"; \
278
302
        for file in $$(find debian/vlc-nox/usr/lib/vlc -name '*.so'); do \
279
 
          if objdump -x $$file | egrep -q -e '^ +NEEDED +libX11\.so' \
280
 
                                          -e '^ +NEEDED +libxcb\.so'; then \
281
 
            BORKED=yes; \
282
 
            echo $$file depends on libX11 or libxcb; \
283
 
          fi; \
 
303
                if ldd -r $$file | egrep -q -e 'libX11\.so' -e 'libxcb\.so'; then \
 
304
                        BORKED=yes; \
 
305
                        echo $$file depends on libX11 or libxcb; \
 
306
                fi; \
284
307
        done; \
285
308
        if test "$$BORKED" = yes; then exit 1; fi
286
309
endif
298
321
        dh_installchangelogs -p vlc-data
299
322
        dh_installchangelogs -p vlc-nox
300
323
 
 
324
override_dh_makeshlibs:
 
325
        dh_makeshlibs -Xusr/lib/vlc/libvlc_vdpau
 
326
 
301
327
override_dh_builddeb:
302
328
        dh_builddeb -- -Zxz