[Pkg-alsa-devel] Bug#613092: alsa-lib: Add libasound2-udeb
Samuel Thibault
sthibault at debian.org
Sun May 1 15:46:07 UTC 2011
Ping?
Samuel Thibault, le Sat 12 Feb 2011 21:30:31 +0100, a écrit :
> Samuel Thibault, le Sat 12 Feb 2011 21:09:37 +0100, a écrit :
> > Here is the patch I'm using for alsa-lib to create a libasound2-udeb
> > package.
>
> [...]. Yes, I
> reverted to shipping the shared library. The target CD image is gtk,
> for which there aren't so many space constraints, and a static version
> of alsa would be hairy to make sure to keep together.
Index: debian/libasound2-udeb.dirs
===================================================================
--- debian/libasound2-udeb.dirs (révision 0)
+++ debian/libasound2-udeb.dirs (révision 0)
@@ -0,0 +1 @@
+/usr/share
Index: debian/control
===================================================================
--- debian/control (révision 2445)
+++ debian/control (copie de travail)
@@ -93,6 +93,17 @@
.
ALSA is the Advanced Linux Sound Architecture.
+Package: libasound2-udeb
+Architecture: alpha amd64 arm armeb armel armhf avr32 hppa i386 ia64 m32r m68k mips mipsel powerpc powerpcspe ppc64 s390 s390x sh3 sh3eb sh4 sh4eb sparc sparc64
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Suggests: libasound2-plugins (>= 1.0.18)
+Conflicts: libasound2-plugins (<< 1.0.18)
+Package-Type: udeb
+Description: shared library for ALSA applications
+ This package contains the ALSA library and its standard plugins.
+ .
+ ALSA is the Advanced Linux Sound Architecture.
+
Package: libasound2-doc
Architecture: all
Section: doc
Index: debian/rules
===================================================================
--- debian/rules (révision 2445)
+++ debian/rules (copie de travail)
@@ -139,6 +139,10 @@
dh_installdocs -plibasound2
dh_installexamples -s doc/asoundrc.txt
dh_installchangelogs -plibasound2 debian/changelog.ALSA
+ dh_install -plibasound2 /usr/lib/libasound.so.2.0.0 /usr/lib/libasound.so.2 /usr/lib
+ dh_install -plibasound2-udeb /usr/lib/libasound.so.2.0.0 /usr/lib/libasound.so.2 /usr/lib
+ cp -a debian/tmp/usr/share/alsa debian/libasound2/usr/share/
+ cp -a debian/tmp/usr/share/alsa debian/libasound2-udeb/usr/share/
dh_strip -s
dh_link -s
dh_compress -s
@@ -159,7 +163,7 @@
dh_fixperms -i
binary-arch: build-arch-stamp install-arch
- dh_makeshlibs -plibasound2 -V'libasound2 (>> 1.0.18)'
+ dh_makeshlibs -plibasound2 -V'libasound2 (>> 1.0.18)' --add-udeb=libasound2-udeb
ifneq (,$(build_biarch_stamp))
dh_makeshlibs -plib$(bi)asound2 -V'lib$(bi)asound2 (>> 1.0.18)'
endif
Index: debian/libasound2.dirs
===================================================================
--- debian/libasound2.dirs (révision 0)
+++ debian/libasound2.dirs (révision 0)
@@ -0,0 +1 @@
+/usr/share
Index: debian/libasound2.install
===================================================================
--- debian/libasound2.install (révision 2445)
+++ debian/libasound2.install (copie de travail)
@@ -1,3 +0,0 @@
-debian/tmp/usr/lib/libasound.so.2.0.0
-debian/tmp/usr/lib/libasound.so.2
-debian/tmp/usr/share/alsa
More information about the Pkg-alsa-devel
mailing list