~woodrow-shen/totem/mybranch

« back to all changes in this revision

Viewing changes to debian/rules

Tags: 2.24.3-3
* totem-mozilla.docs: ship README.browser-plugin which explains how to 
  disable the plugin for some MIME types.
* rules: remove the hack that only let totem-xine support VCDs and 
  DVDs, now that GStreamer supports them. Closes: #370789.
* 01_fake_keypresses.patch: new patch. Completely disable the broken 
  XTEST code that generates fake keypresses. Closes: #500330.
* 90_autotools.patch: regenerated.
* Build-depend on nautilus 2.22 to be sure to build the extension for 
  the correct version.
* totem-xine depends on libxine1-x.
* Standards version is 3.8.1.
* Upload to unstable.
* 04_tracker_build.patch: new patch, stolen upstream. Fix build with 
  latest tracker version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
        --sysconfdir=/etc \
31
31
        --mandir=\$${prefix}/share/man \
32
32
        --disable-maintainer-mode \
33
 
        --with-gecko=iceape \
34
33
        --enable-vala=no \
35
34
        --disable-run-in-source-tree \
36
 
        --disable-scrollkeeper
 
35
        --disable-scrollkeeper \
 
36
        --enable-complex-plugin
37
37
 
38
38
ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
39
39
        COMMON_CONFIGURE_FLAGS += --build=$(DEB_BUILD_GNU_TYPE)
87
87
                mv libtotem-properties-page.so libtotem-properties-page.so.$*
88
88
        # hide the mozilla plugin in a specific directory
89
89
        cd $(installdir)/usr/lib/mozilla/plugins && \
90
 
                mv *.so *.xpt $(installdir)/usr/lib/totem/$*/
 
90
                mv *.so $(installdir)/usr/lib/totem/$*/
91
91
        # drop anything else
92
92
        rm -rf $(installdir)/usr/lib/xulrunner
93
93
        # drop *.a and *.la files
96
96
        echo gnome:Version=$(DEB_GNOME_VERSION) >> debian/totem-$*.substvars
97
97
        echo gnome:NextVersion=$(DEB_GNOME_NEXTVERSION) >> debian/totem-$*.substvars
98
98
 
99
 
TOTEM_XINE_ONLY_MIMES := x-content/video-dvd;x-content/video-vcd;x-content/video-svcd;
100
 
 
101
99
install: install-clean $(addprefix install-, $(FLAVORS))
102
100
        dh_installdirs
103
101
        mkdir -p debian/$(COMPKG)/usr
125
123
        done
126
124
        printf "\nTryExec=/usr/bin/totem" >> debian/$(COMPKG)/usr/share/applications/totem.desktop
127
125
        
128
 
        # only totem-xine can play DVDs and VCDs satisfactorily (for now)
129
 
        grep -q '^MimeType=.*$(TOTEM_XINE_ONLY_MIMES)' debian/$(COMPKG)/usr/share/applications/totem.desktop
130
 
        sed -i 's,$(TOTEM_XINE_ONLY_MIMES),,' debian/$(COMPKG)/usr/share/applications/totem.desktop
131
 
        printf '\nMimeType=$(TOTEM_XINE_ONLY_MIMES)' >> debian/totem-xine/usr/share/applications/totem-xine.desktop
132
 
        
133
126
        dh_install
134
127
 
135
128
clean::