r738 - in /unstable/libmms/debian: changelog control rules

lool at users.alioth.debian.org lool at users.alioth.debian.org
Fri Mar 30 11:01:35 CET 2007


Author: lool
Date: Fri Mar 30 10:01:35 2007
New Revision: 738

URL: http://svn.debian.org/wsvn/pkg-multimedia/?sc=1&rev=738
Log:
* Misc cleanups.

Modified:
    unstable/libmms/debian/changelog
    unstable/libmms/debian/control
    unstable/libmms/debian/rules

Modified: unstable/libmms/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-multimedia/unstable/libmms/debian/changelog?rev=738&op=diff
==============================================================================
--- unstable/libmms/debian/changelog (original)
+++ unstable/libmms/debian/changelog Fri Mar 30 10:01:35 2007
@@ -3,8 +3,9 @@
   * Set Maintainer to pkg-multimedia-maintainers and list myself as Uploader.
   * Don't pass --host to configure if DEB_BUILD_GNU_TYPE equals
     DEB_HOST_GNU_TYPE.
+  * Misc cleanups.
 
- -- Loic Minier <lool at dooz.org>  Fri, 30 Mar 2007 11:39:23 +0200
+ -- Loic Minier <lool at dooz.org>  Fri, 30 Mar 2007 11:58:23 +0200
 
 libmms (0.3-2) unstable; urgency=low
 

Modified: unstable/libmms/debian/control
URL: http://svn.debian.org/wsvn/pkg-multimedia/unstable/libmms/debian/control?rev=738&op=diff
==============================================================================
--- unstable/libmms/debian/control (original)
+++ unstable/libmms/debian/control Fri Mar 30 10:01:35 2007
@@ -16,14 +16,16 @@
  over the web.  LibMMS itself is only for receiving MMS stream, it
  doesn't handle sending at all.
  .
- These package holds the development files.
+ This package holds the development files.
 
 Package: libmms0
 Section: libs
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
-Description: MMS stream protocol library
+Description: MMS stream protocol library - shared library
  LibMMS is a common library for parsing mms:// and mmsh:// type network
  streams.  These are commonly used to stream Windows Media Video content
  over the web.  LibMMS itself is only for receiving MMS stream, it
  doesn't handle sending at all.
+ .
+ This package holds the shared library.

Modified: unstable/libmms/debian/rules
URL: http://svn.debian.org/wsvn/pkg-multimedia/unstable/libmms/debian/rules?rev=738&op=diff
==============================================================================
--- unstable/libmms/debian/rules (original)
+++ unstable/libmms/debian/rules Fri Mar 30 10:01:35 2007
@@ -1,32 +1,23 @@
 #!/usr/bin/make -f
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
+DEB_HOST_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 
-# These are used for cross-compiling and for saving the configure script
-# from having to guess our platform (since we know it already)
-DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-
-confflags += --prefix=/usr \
+confflags += \
+	--build=$(DEB_BUILD_GNU_TYPE) \
+	--prefix=/usr \
 	--mandir=\$${prefix}/share/man \
 	--infodir=\$${prefix}/share/info
 
-ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
-	confflags += --build $(DEB_HOST_GNU_TYPE)
-else
-	confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
+ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
+confflags += --host=$(DEB_HOST_GNU_TYPE)
 endif
 
 PATCH_DIR := debian/patches
 
 CFLAGS += -Wall -g
 
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-	CFLAGS += -O0
-else
-	CFLAGS += -O2
-endif
+CFLAGS += $(if $(findstring noopt,$(DEB_BUILD_OPTIONS)),-O0,-O2)
 
 config.status: configure patch-stamp
 	dh_testdir
@@ -46,12 +37,10 @@
 		cp -f /usr/share/misc/config.guess config.guess
 	touch $@
 
-
 build: build-stamp
 build-stamp: config.status
 	dh_testdir
 	$(MAKE)
-
 	touch build-stamp
 
 clean:
@@ -74,7 +63,6 @@
 	dh_clean -k
 	dh_installdirs
 	$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
-
 
 binary-indep: build install
 




More information about the pkg-multimedia-commits mailing list