[SCM] snd packaging branch, master, updated. debian/11-4-1-gbde2e52
quadrispro-guest at users.alioth.debian.org
quadrispro-guest at users.alioth.debian.org
Wed Nov 25 18:50:59 UTC 2009
The following commit has been merged in the master branch:
commit bde2e525ef7129aad1a1408fa0681261adb7fdc8
Author: Alessio Treglia <alessio at quadromatic.(none)>
Date: Wed Nov 25 19:50:47 2009 +0100
Add snd-nox-alsa runtime
diff --git a/debian/changelog b/debian/changelog
index 8d0458e..e20c4af 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+snd (11-5) unstable; urgency=low
+
+ * debian/{control,rules,snd-nox-alsa.*}:
+ - Add snd-nox-alsa runtime package, built without any GUI support;
+ this would be ideal for scripting snd (Closes: #325443).
+ * debian/control: Build-depend on libasound2-dev.
+
+ -- Alessio Treglia <quadrispro at ubuntu.com> Wed, 25 Nov 2009 18:50:53 +0100
+
snd (11-4) unstable; urgency=low
* Remove arch-restrictions on libpulse-dev build-dependency.
diff --git a/debian/control b/debian/control
index 0bda668..b2a3ab7 100644
--- a/debian/control
+++ b/debian/control
@@ -16,6 +16,7 @@ Build-Depends: debhelper (>= 7.0.50),
libxmu-dev,
libpulse-dev,
libjack-dev [i386 amd64 powerpc],
+ libasound2-dev,
bzip2,
quilt (>= 0.46-7)
Standards-Version: 3.8.3
@@ -79,3 +80,19 @@ Description: Sound file editor (GTK+ user interface - PulseAudio)
.
This package contains the files for the GTK+ user interface with
PulseAudio support.
+
+Package: snd-nox-alsa
+Architecture: any
+Depends: snd (>= ${source:Version}),
+ ${shlibs:Depends},
+ ${misc:Depends}
+Provides: snd-nox
+Conflicts: snd-dmotif, snd-dmotif-alsa, snd-smotif, snd-gtk-alsa,
+ snd-gtk (<< 11-3), snd-gtk-jack, snd-gtk-pulse
+Replaces: snd (<< 5.10), snd-dmotif, snd-dmotif-alsa, snd-smotif,
+ snd-gtk-alsa, snd-gtk (<< 11-3), snd-gtk-jack, snd-gtk-pulse
+Description: Sound file editor (without X support - ALSA)
+ Snd is a powerful sound file editor that can be customized and extended using
+ the Scheme programming language.
+ .
+ This package contains a version of snd compiled without support for X.
diff --git a/debian/rules b/debian/rules
index 4bb264d..09bacf1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,9 +2,7 @@
DEBIAN_ARCH = $(shell dpkg-architecture -qDEB_HOST_ARCH)
COMMON_CONFIGURE_ARGS=--with-ladspa \
- --with-gtk \
--with-guile \
- --with-gl \
--enable-snd-debug \
--prefix=/usr
@@ -19,16 +17,31 @@ override_dh_auto_clean:
override_dh_auto_configure:
override_dh_auto_build:
override_dh_auto_install:
- # First, build with PulseAudio
- ./configure $(COMMON_CONFIGURE_ARGS) --with-pulseaudio
+ # First, build with ALSA but without GUI
+ ./configure $(COMMON_CONFIGURE_ARGS) \
+ --with-no-gui \
+ --with-alsa
+ $(MAKE)
+ dh_install -psnd-nox-alsa
+ dh_installman -psnd-nox-alsa snd.1
+ # Clean the tree
+ $(MAKE) distclean
+ # then, build with PulseAudio
+ ./configure $(COMMON_CONFIGURE_ARGS) \
+ --with-gtk \
+ --with-gl \
+ --with-pulseaudio
$(MAKE)
dh_install -psnd-gtk-pulse
dh_installman -psnd-gtk-pulse snd.1
# Clean the tree
$(MAKE) distclean
- # Then, build with JACK
+ # finally, build with JACK
ifneq (,$(findstring :$(DEB_BUILD_ARCH):,:i386:powerpc:amd64:))
- ./configure $(COMMON_CONFIGURE_ARGS) --with-jack
+ ./configure $(COMMON_CONFIGURE_ARGS) \
+ --with-gtk \
+ --with-gl \
+ --with-jack
$(MAKE)
dh_install -psnd-gtk-jack
dh_installman -psnd-gtk-jack snd.1
--
snd packaging
More information about the pkg-multimedia-commits
mailing list