[mate-settings-daemon] 07/25: Update to support libmatemedia transition.
Martin Wimpress
flexiondotorg-guest at moszumanska.debian.org
Fri Jun 12 13:25:33 UTC 2015
This is an automated email from the git hooks/post-receive script.
flexiondotorg-guest pushed a commit to branch debian/experimental
in repository mate-settings-daemon.
commit 99dd75169f009bd86d1a690d5d6281fe33870e51
Author: Martin Wimpress <code at flexion.org>
Date: Fri Jun 12 13:56:17 2015 +0100
Update to support libmatemedia transition.
---
debian/rules | 83 +++++++++++++++++-------------------------------------------
1 file changed, 23 insertions(+), 60 deletions(-)
diff --git a/debian/rules b/debian/rules
index 629b472..a332dbb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,65 +1,28 @@
#!/usr/bin/make -f
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/utils.mk
-include /usr/share/cdbs/1/class/autotools.mk
-
-DEB_SRCDIR_mate-settings-daemon-pulse := $(CURDIR)/debian/build/mate-settings-daemon-pulse
-DEB_BUILDDIR_mate-settings-daemon-pulse := $(CURDIR)/debian/build/mate-settings-daemon-pulse
-DEB_DESTDIR_mate-settings-daemon-pulse := $(CURDIR)/debian/mate-settings-daemon-pulse
-
-DEB_DH_MAKESHLIBS_ARGS_mate-settings-daemon-gstreamer += --no-act
-DEB_DH_MAKESHLIBS_ARGS_mate-settings-daemon-pulse += --no-act
-
-DEB_DH_INSTALL_ARGS += --fail-missing
-
-# use the NEWS file as upstream ChangeLog...
-DEB_DH_INSTALLCHANGELOGS_ARGS = NEWS
-DEB_INSTALL_DOCS_ALL = README AUTHORS
-
-DEB_BUILD_PARALLEL = 1
-
-DEB_CONFIGURE_SCRIPT := ./autogen.sh
-DEB_CONFIGURE_EXTRA_FLAGS += \
- --disable-silent-rules \
- --libexecdir=/usr/bin \
- --disable-static \
- --disable-pulse \
- --enable-gstreamer \
- --enable-polkit \
- --with-gtk=2.0
-
-common-install-indep:: remove-cruft
-common-install-arch:: remove-cruft
-
-remove-cruft::
- rm -fv debian/tmp/usr/lib/mate-settings-daemon/*.la
- rm -fv debian/tmp/usr/share/MateConf/gsettings/*.convert
-
-configure/mate-settings-daemon-pulse:: $(DEB_BUILDDIR_mate-settings-daemon-pulse)/config.status
-$(DEB_BUILDDIR_mate-settings-daemon-pulse)/config.status:
- cp -a `find . -maxdepth 1 -mindepth 1 -not -name debian` $(DEB_SRCDIR_mate-settings-daemon-pulse)/$*
- cd $(DEB_BUILDDIR_mate-settings-daemon-pulse) && \
- $(DEB_CONFIGURE_SCRIPT_ENV) $(DEB_CONFIGURE_SCRIPT) \
- $(DEB_CONFIGURE_NORMAL_ARGS) \
- $(cdbs_configure_flags) \
- --disable-silent-rules \
- --libexecdir=/usr/bin \
- --disable-static \
- --enable-pulse \
- --disable-gstreamer \
- --enable-polkit \
- --with-gtk=2.0 \
- $(DEB_CONFIGURE_USER_FLAGS)
-
-build/mate-settings-daemon-pulse::
- make -C $(DEB_BUILDDIR_mate-settings-daemon-pulse)
-
-install/mate-settings-daemon-pulse::
- make -C $(DEB_BUILDDIR_mate-settings-daemon-pulse) install DESTDIR=$(DEB_DESTDIR_mate-settings-daemon-pulse)
- rm -rf debian/mate-settings-daemon-pulse/usr/lib/mate-settings-daemon/*.la
- # delete conflicts file with mate-settings-daemon-common
- rm -rf debian/mate-settings-daemon-pulse/usr/share/locale/
+DHFLAGS=--parallel
+
+%:
+ dh $@ $(DHFLAGS)
+
+override_dh_install:
+ rm -rf debian/tmp/usr/lib/*/mate-settings-daemon/*.la
+ rm -rf debian/tmp/usr/share/MateConf/gsettings/*.convert
+ dh_install --fail-missing
+
+override_dh_auto_configure:
+ # upstream tarball is without configure. autogen.sh will create it
+ NOCONFIGURE=1 ./autogen.sh
+ dh_auto_configure $(DHFLAGS) -- \
+ --disable-silent-rules \
+ --libexecdir=/usr/bin \
+ --disable-static \
+ --enable-pulse \
+ --enable-polkit \
+ --with-gtk=2.0
+
+override_dh_strip:
+ dh_strip --dbg-package=mate-settings-daemon-dbg
get-orig-source:
uscan --noconf --force-download --rename --download-current-version --destdir=..
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mate/mate-settings-daemon.git
More information about the pkg-mate-commits
mailing list