r1047 - in /unstable/libquicktime/debian: changelog control rules
fabian-guest at users.alioth.debian.org
fabian-guest at users.alioth.debian.org
Thu Jan 24 16:40:25 UTC 2008
Author: fabian-guest
Date: Thu Jan 24 16:40:25 2008
New Revision: 1047
URL: http://svn.debian.org/wsvn/pkg-multimedia/?sc=1&rev=1047
Log:
* debian/control:
+ Added Build-Depends on cdbs (>= 0.4.41).
* debian/rules:
+ Converted Debian packaging to CDBS.
+ Added -Wl,-z,defs -Wl,--as-needed to LDFLAGS.
Modified:
unstable/libquicktime/debian/changelog
unstable/libquicktime/debian/control
unstable/libquicktime/debian/rules
Modified: unstable/libquicktime/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-multimedia/unstable/libquicktime/debian/changelog?rev=1047&op=diff
==============================================================================
--- unstable/libquicktime/debian/changelog (original)
+++ unstable/libquicktime/debian/changelog Thu Jan 24 16:40:25 2008
@@ -1,3 +1,13 @@
+libquicktime (2:1.0.2+debian-2) UNRELEASED; urgency=low
+
+ * debian/control:
+ + Added Build-Depends on cdbs (>= 0.4.41).
+ * debian/rules:
+ + Converted Debian packaging to CDBS.
+ + Added -Wl,-z,defs -Wl,--as-needed to LDFLAGS.
+
+ -- Fabian Greffrath <fabian at debian-unofficial.org> Thu, 24 Jan 2008 17:25:19 +0100
+
libquicktime (2:1.0.2+debian-1) unstable; urgency=low
[ Loic Minier ]
Modified: unstable/libquicktime/debian/control
URL: http://svn.debian.org/wsvn/pkg-multimedia/unstable/libquicktime/debian/control?rev=1047&op=diff
==============================================================================
--- unstable/libquicktime/debian/control (original)
+++ unstable/libquicktime/debian/control Thu Jan 24 16:40:25 2008
@@ -6,7 +6,8 @@
Sam Hocevar (Debian packages) <sam+deb at zoy.org>,
Loic Minier <lool at dooz.org>
Standards-Version: 3.7.3
-Build-Depends: debhelper (>= 5),
+Build-Depends: cdbs (>= 0.4.41),
+ debhelper (>= 5),
dpatch,
autotools-dev,
libasound2-dev [!hurd-i386 !kfreebsd-amd64 !kfreebsd-i386],
Modified: unstable/libquicktime/debian/rules
URL: http://svn.debian.org/wsvn/pkg-multimedia/unstable/libquicktime/debian/rules?rev=1047&op=diff
==============================================================================
--- unstable/libquicktime/debian/rules (original)
+++ unstable/libquicktime/debian/rules Thu Jan 24 16:40:25 2008
@@ -1,23 +1,15 @@
#!/usr/bin/make -f
-include /usr/share/dpatch/dpatch.make
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/dpatch.mk
-DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
-DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+LDFLAGS += -Wl,-z,defs -Wl,--as-needed
-CFLAGS += -Wall -g -O$(if $(findstring noopt,$(DEB_BUILD_OPTIONS)),0,2)
-
-configure_flags := \
- --prefix=/usr \
- --mandir=\$${prefix}/share/man \
+DEB_CONFIGURE_EXTRA_FLAGS += \
--enable-gpl
-ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
-configure_flags += --host=$(DEB_HOST_GNU_TYPE)
-else
-configure_flags += --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE)
-endif
+DEB_DH_INSTALL_SOURCEDIR := debian/tmp
get-orig-source:
wget http://downloads.sourceforge.net/libquicktime/libquicktime-1.0.2.tar.gz
@@ -26,38 +18,13 @@
mv libquicktime-1.0.2 libquicktime-1.0.2+debian
tar czf libquicktime_1.0.2+debian.orig.tar.gz libquicktime-1.0.2+debian/
-config.status: patch-stamp configure
- dh_testdir
- # Configuring package
- ./configure CFLAGS="$(CFLAGS)" $(configure_flags)
+pre-build::
+ ln -sf quicktime include/lqt
-build: build-stamp
-build-stamp: config.status
- dh_testdir
- ln -sf quicktime include/lqt
- # Building package
- $(MAKE)
- touch $@
+clean::
+ rm -rf include/lqt
-clean: clean-patched unpatch
-clean-patched: patch
- dh_testdir
- dh_testroot
- rm -f build-stamp
- # Cleaning package
- [ ! -f Makefile ] || $(MAKE) distclean
- -test -f config.sub && cp -f /usr/share/misc/config.sub .
- -test -f config.guess && cp -f /usr/share/misc/config.guess .
- rm -rf include/lqt
- dh_clean
-
-install: build
- dh_testdir
- dh_testroot
- dh_clean -k
- dh_installdirs
- # Installing package
- $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
+install/libquicktime-dev::
# Installing documentation
install -d -m 0755 debian/libquicktime-dev/usr/share/doc/libquicktime-dev/html
cp -r doc/*.html debian/libquicktime-dev/usr/share/doc/libquicktime-dev/html
@@ -65,25 +32,3 @@
for HTML in debian/libquicktime-dev/usr/share/doc/libquicktime-dev/html/qt4l_*.html; \
do ln -sf `basename $$HTML` `echo $$HTML | sed 's:qt4l_::'`; \
done
-
-binary-indep: build install
-
-binary-arch: build install
- dh_testdir
- dh_testroot
- dh_installchangelogs -a
- dh_installdocs -a
- dh_install -a --sourcedir=debian/tmp
- dh_link -a
- dh_strip -a
- dh_compress -a
- dh_fixperms -a
- dh_makeshlibs -a
- dh_installdeb -a
- dh_shlibdeps -a
- dh_gencontrol -a
- dh_md5sums -a
- dh_builddeb -a
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
More information about the pkg-multimedia-commits
mailing list