[xiph-commits] r3943 - liboggplay/debian/debian

johnf at svn.annodex.net johnf at svn.annodex.net
Wed Jun 3 05:12:04 PDT 2009


Author: johnf
Date: 2009-06-03 05:12:04 -0700 (Wed, 03 Jun 2009)
New Revision: 3943

Modified:
   liboggplay/debian/debian/changelog
   liboggplay/debian/debian/control
   liboggplay/debian/debian/rules
Log:
Cleanup for release

Modified: liboggplay/debian/debian/changelog
===================================================================
--- liboggplay/debian/debian/changelog	2009-06-03 12:11:20 UTC (rev 3942)
+++ liboggplay/debian/debian/changelog	2009-06-03 12:12:04 UTC (rev 3943)
@@ -1,3 +1,9 @@
+liboggplay (0.0.2-1~git20090528) unstable; urgency=low
+
+  * Development release
+
+ -- John Francesco Ferlito <johnf at inodes.org>  Sat, 30 May 2009 13:22:55 +1000
+
 liboggplay (0.0.1-1) unstable; urgency=low
 
   * Initial release (Closes: #511981)

Modified: liboggplay/debian/debian/control
===================================================================
--- liboggplay/debian/debian/control	2009-06-03 12:11:20 UTC (rev 3942)
+++ liboggplay/debian/debian/control	2009-06-03 12:12:04 UTC (rev 3943)
@@ -2,7 +2,7 @@
 Priority: extra
 Maintainer: John Ferlito <johnf at inodes.org>
 DM-Upload-Allowed: yes
-Build-Depends: debhelper (>= 5), autotools-dev
+Build-Depends: debhelper (>= 5), autotools-dev, pkg-config, liboggz1-dev (> 0.9.5), libfishsound-dev, libtheora-dev, libkate-dev, libsndfile-dev
 Standards-Version: 3.8.0
 Section: libs
 

Modified: liboggplay/debian/debian/rules
===================================================================
--- liboggplay/debian/debian/rules	2009-06-03 12:11:20 UTC (rev 3942)
+++ liboggplay/debian/debian/rules	2009-06-03 12:12:04 UTC (rev 3943)
@@ -14,23 +14,33 @@
 # 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)
+ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
+CROSS= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
+else
+CROSS= --build $(DEB_BUILD_GNU_TYPE)
+endif
 
+
+
+
+version=`ls libs/.libs/lib*.so.* | \
+ awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'`
+major=`ls libs/.libs/lib*.so.* | \
+ awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
+
+
+
 CFLAGS = -Wall -g
 
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-	CFLAGS += -O0
-else
-	CFLAGS += -O2
+config.status: configure
+	dh_testdir
+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+	cp -f /usr/share/misc/config.sub config.sub
 endif
-ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
-	CFLAGS += -g
+ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+	cp -f /usr/share/misc/config.guess config.guess
 endif
-
-config.status: configure
-	dh_testdir
-	./configure \
-		--host=$(DEB_HOST_GNU_TYPE) \
-		--build=$(DEB_BUILD_GNU_TYPE) \
+	./configure $(CROSS) \
 		--prefix=/usr \
 		--mandir=\$${prefix}/share/man \
 		--infodir=\$${prefix}/share/info \
@@ -60,30 +70,27 @@
 
 # Build architecture-independent files here.
 binary-indep: build install
+# We have nothing to do by default.
 
 # Build architecture-dependent files here.
 binary-arch: build install
 	dh_testdir
 	dh_testroot
+	dh_installchangelogs ChangeLog
+	dh_installdocs
+	dh_installexamples
 	dh_install --sourcedir=debian/tmp
-	dh_installchangelogs -a ChangeLog
-	dh_installdocs -a
-	dh_installexamples -a
-	dh_installman -a
-	dh_link -a
-	dh_strip -a --dbg-package=liboggplay1-dbg
-	dh_compress -a
-	dh_fixperms -a
-	dh_makeshlibs -a -V
-	dh_installdeb -a
-	dh_shlibdeps -a -ldebian/liboggplay1/usr/lib
-	dh_gencontrol -a
-	dh_md5sums -a
-	dh_builddeb -a
+	dh_installman
+	dh_link
+	dh_strip --dbg-package=liboggplay1-dbg
+	dh_compress
+	dh_fixperms
+	dh_makeshlibs
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
 
 binary: binary-indep binary-arch
 .PHONY: build clean binary-indep binary-arch binary install
-
-
-
-



More information about the commits mailing list