[nestopia] 01/08: New package for the libretro core.

Stephen Kitt skitt at moszumanska.debian.org
Sun Sep 20 17:03:04 UTC 2015


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

skitt pushed a commit to branch master
in repository nestopia.

commit 2405dd2e5d2d256d831242dba8c3d55e3c81fdf1
Author: Sérgio Benjamim <sergio_br2 at yahoo.com.br>
Date:   Sat Sep 19 18:31:57 2015 +0200

    New package for the libretro core.
---
 debian/changelog                        |  7 +++++++
 debian/control                          | 13 +++++++++++++
 debian/{docs => libretro-nestopia.docs} |  1 -
 debian/libretro-nestopia.install        |  2 ++
 debian/{docs => nestopia.docs}          |  0
 debian/nestopia.install                 |  4 ++++
 debian/rules                            | 14 ++++++++++++++
 7 files changed, 40 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index df88280..733189f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+nestopia (1.46.2-2) UNRELEASED; urgency=medium
+
+  [ Sérgio Benjamim ]
+  * New package for the libretro core.
+
+ -- Stephen Kitt <skitt at debian.org>  Sat, 19 Sep 2015 18:29:49 +0200
+
 nestopia (1.46.2-1) unstable; urgency=medium
 
   * New upstream release.
diff --git a/debian/control b/debian/control
index 8e8da45..55c6c6f 100644
--- a/debian/control
+++ b/debian/control
@@ -32,3 +32,16 @@ Description: Nintendo Entertainment System/Famicom emulator
     * Emulation of NTSC, PAL, and Dendy systems
     * Support for NES Zapper games
     * Support for Famicom Disk System games
+
+Package: libretro-nestopia
+Architecture: any
+Multi-Arch: same
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Suggests: retroarch
+Description: libretro wrapper for Nestopia
+ Nestopia is a cycle-accurate NES/Famicom emulator. It has a high
+ compatibility rate and support for many peripherals and input
+ devices.
+ .
+ This package contains a wrapper allowing the Nestopia engine to be
+ used with libretro frontends such as RetroArch.
diff --git a/debian/docs b/debian/libretro-nestopia.docs
similarity index 50%
copy from debian/docs
copy to debian/libretro-nestopia.docs
index 7c52318..8056a96 100644
--- a/debian/docs
+++ b/debian/libretro-nestopia.docs
@@ -1,2 +1 @@
 readme.html
-README.unix
diff --git a/debian/libretro-nestopia.install b/debian/libretro-nestopia.install
new file mode 100755
index 0000000..55b02ca
--- /dev/null
+++ b/debian/libretro-nestopia.install
@@ -0,0 +1,2 @@
+#!/bin/sh
+echo "libretro/*.so usr/lib/$(dpkg-architecture -qDEB_HOST_MULTIARCH)/libretro"
diff --git a/debian/docs b/debian/nestopia.docs
similarity index 100%
rename from debian/docs
rename to debian/nestopia.docs
diff --git a/debian/nestopia.install b/debian/nestopia.install
index 296ed4d..5f79aa6 100644
--- a/debian/nestopia.install
+++ b/debian/nestopia.install
@@ -1 +1,5 @@
+usr/games/nestopia
+usr/share/applications
+usr/share/nestopia
+usr/share/pixmaps
 debian/nestopia.xpm usr/share/pixmaps
diff --git a/debian/rules b/debian/rules
index 79fd842..0872a84 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,5 +4,19 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+ARCH=$(shell dpkg-architecture -qDEB_HOST_ARCH)
+
+ifeq ($(ARCH),armhf)
+	PLATFORM=platform="armv hardfloat"
+endif
+
 %:
 	dh $@ 
+
+override_dh_auto_build:
+	dh_auto_build
+	dh_auto_build --sourcedirectory=libretro -- $(PLATFORM)
+
+override_dh_auto_clean:
+	dh_auto_clean
+	dh_auto_clean --sourcedirectory=libretro

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



More information about the Pkg-games-commits mailing list