[stella] 04/07: Rely on joystick to provide evdev-joystick and the associated udev rules.

Stephen Kitt skitt at moszumanska.debian.org
Tue Apr 19 21:57:38 UTC 2016


This is an automated email from the git hooks/post-receive script.

skitt pushed a commit to branch master
in repository stella.

commit cd6fce292aedde7287fdb2d71b786691331c7c3c
Author: Stephen Kitt <steve at sk2.org>
Date:   Tue Apr 19 23:49:02 2016 +0200

    Rely on joystick to provide evdev-joystick and the associated udev rules.
---
 debian/changelog      | 2 ++
 debian/control        | 1 +
 debian/rules          | 5 -----
 debian/stella.install | 1 -
 4 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 6a1c191..d3cd271 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,8 @@
 stella (4.7.2-1) UNRELEASED; urgency=medium
 
   * New upstream version.
+  * Rely on joystick to provide evdev-joystick and the associated udev
+    rules.
 
  -- Stephen Kitt <skitt at debian.org>  Mon, 28 Mar 2016 21:13:50 +0200
 
diff --git a/debian/control b/debian/control
index 2966796..6dc31e7 100644
--- a/debian/control
+++ b/debian/control
@@ -19,6 +19,7 @@ Architecture: any
 Pre-Depends: ${misc:Pre-Depends}
 Depends: ${misc:Depends},
          ${shlibs:Depends}
+Recommends: joystick (>= 1:1.5.1)
 Description: Atari 2600 Emulator for SDL & the X Window System
  Stella is a portable emulator of the old Atari 2600 video-game
  console. You can play most Atari 2600 games with it.
diff --git a/debian/rules b/debian/rules
index 56f6e2e..154982f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,11 +11,6 @@ override_dh_auto_clean:
 override_dh_auto_configure:
 	./configure --prefix=/usr
 
-override_dh_auto_build:
-	dh_auto_build
-	dh_auto_build -B src/tools/evdev-joystick
-	sed 'sXlocal/XXg' < src/tools/evdev-joystick/80-stelladaptor-joystick.rules > debian/stella.udev
-
 override_dh_auto_install:
 	dh_auto_install
 	# This is also installed as the upstream changelog
diff --git a/debian/stella.install b/debian/stella.install
index 5eb807f..c49645e 100644
--- a/debian/stella.install
+++ b/debian/stella.install
@@ -1,2 +1 @@
 debian/debian-menus usr/lib/games/stella
-src/tools/evdev-joystick/evdev-joystick usr/bin

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/stella.git



More information about the Pkg-games-commits mailing list