Package: lightspark
Version: 0.5.1-1
Severity: wishlist

Dear lightspark maintainers,
lightspark comes with several audio backends, please build at least one
more (SDL or OpenAL, though I hear, that an ALSA backend is in the works
too and that would be the best option from my POV). Pulse requires me to
install the pulseaudio daemon and lightspark would be the only
application (ok, plugin in my case) _needing_ pulse to have sound. As
pulse caused me trouble in the past, I'd like to avoid it.

I had just a quick glance at the build system, but I think the attached
patch should be enough to get the other backends built.

Kind regards,
Kai Wasserbäch


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (900, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.4-esgaroth (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
>From 9194e4a3dbd79905926ee86e4886ffdf81e5bd71 Mon Sep 17 00:00:00 2001
Message-Id: <9194e4a3dbd79905926ee86e4886ffdf81e5bd71.1317375468.git.cu...@debian.org>
From: =?UTF-8?q?Kai=20Wasserb=C3=A4ch?= <cu...@debian.org>
Date: Fri, 30 Sep 2011 11:35:34 +0200
Subject: [PATCH] Build all audio backends
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Req. changes:
  * debian/control: Added B-Ds on libsdl1.2-dev and libopenal-dev.
  * debian/rules: Added override_dh_auto_configure target.

Signed-off-by: Kai Wasserbäch <cu...@debian.org>
---
 debian/changelog |    9 +++++++++
 debian/control   |    2 ++
 debian/rules     |    5 +++++
 3 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index a5702c8..eebcd07 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+lightspark (0.5.1-1.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Build all audio backends:
+    - debian/control: Added B-Ds on libsdl1.2-dev and libopenal-dev.
+    - debian/rules: Added override_dh_auto_configure target.
+
+ -- Kai Wasserbäch <cu...@debian.org>  Fri, 30 Sep 2011 11:30:06 +0200
+
 lightspark (0.5.1-1) unstable; urgency=low
 
   * New 0.5.1 upstream release.
diff --git a/debian/control b/debian/control
index 3a6fc0c..36c27b9 100644
--- a/debian/control
+++ b/debian/control
@@ -24,6 +24,8 @@ Build-Depends: debhelper (>= 7.0.50),
   libgtk2.0-dev,
   libjpeg-dev,
   libxml++2.6-dev (>= 2.33.1),
+  libopenal-dev,
+  libsdl1.2-dev
 Standards-Version: 3.9.2
 Homepage: http://lightspark.sf.net
 Vcs-Git: git://git.debian.org/pkg-flash/lightspark.git
diff --git a/debian/rules b/debian/rules
index 724a66f..f8ca007 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,9 @@
 %:
 	dh --parallel $@
 
+override_dh_auto_configure:
+	dh_auto_configure -- -DAUDIO_BACKEND="pulse openal sdl"
+
 override_dh_strip:
 	dh_strip --dbg-package=lightspark-dbg
 
@@ -19,3 +22,5 @@ override_dh_shlibdeps:
 
 override_dh_makeshlibs:
 	dh_makeshlibs -X/usr/lib/lightspark
+
+.PHONY: override_dh_autoconfigure override_dh_strip override_dh_install override_dh_shlibdeps override_dh_makeshlibs
-- 
1.7.6.3

Reply via email to