The following commit has been merged in the master-experimental branch:
commit 5c8fb8aacce5290f766d67de6c138572fdc123eb
Author: Stephen Kitt <st...@sk2.org>
Date:   Wed May 16 19:54:34 2012 +0200

    Add a Built-Using relationship on the package MiniLZO was copied from.

diff --git a/debian/changelog b/debian/changelog
index 0adc862..16c362f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+mednafen (0.9.21-2) experimental; urgency=low
+
+  * Add a Built-Using relationship on the package MiniLZO was copied
+    from.
+
+ -- Stephen Kitt <st...@sk2.org>  Wed, 16 May 2012 07:07:29 +0200
+
 mednafen (0.9.21-1) experimental; urgency=low
 
   * New upstream WIP version.
diff --git a/debian/control b/debian/control
index bdf8e33..9ab5e42 100644
--- a/debian/control
+++ b/debian/control
@@ -30,6 +30,7 @@ Package: mednafen
 Architecture: any
 Depends: ${misc:Depends}, ${shlibs:Depends}
 Provides: nes-emulator
+Built-Using: ${bu:liblzo2}
 Description: multi-platform emulator, including NES, GB/A, Lynx, PC Engine
  Mednafen is a command-line driven emulator for many different systems. It
  has full support for OpenGL and SDL graphics, network play, remappable input
diff --git a/debian/rules b/debian/rules
index dfd0044..58e1574 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,9 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+liblzo2_source := $(shell dpkg-query -W -f='$${Source} (= $${source:Version})' 
liblzo2-dev)
+
+
 %:
        dh $@ --with autoreconf
 
@@ -28,3 +31,6 @@ override_dh_auto_clean:
 
 override_dh_auto_configure:
        dh_auto_configure -- --bindir=/usr/games --enable-psx
+
+override_dh_gencontrol-arch:
+       dh_gencontrol -a -- '-Vbu:liblzo2=$(liblzo2_source)'

-- 
multi-platform emulator, including NES, GB/A, Lynx, PC Engine

_______________________________________________
Pkg-games-commits mailing list
Pkg-games-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to