Merge pull request #1 from sergiobenrocha2/master

Debian packaging in upstream
This commit is contained in:
Twinaphex 2014-07-15 06:18:36 +02:00
commit a4fafa4d2f
9 changed files with 226 additions and 0 deletions

14
debian/changelog vendored Normal file
View File

@ -0,0 +1,14 @@
libretro-genesisplusgx (1.7.4-0ubuntu3) UNRELEASED; urgency=low
* Updated to latest git.
* Debian folder from hunterk PPA to upstream
* Updated debian package and fixed lintian errors/warnings
-- Sergio Benjamim <sergio_br2@yahoo.com.br> Mon, 14 Jul 2014 22:40:00 -0300
libretro-genesisplusgx (1.7.4-0ubuntu2) UNRELEASED; urgency=low
* Updated to latest git.
-- Hunter Kaller (hizzlekizzle) <hunter_kaller@yahoo.com> Wed, 12 Mar 2014 13:24:59 -0500

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
9

16
debian/control vendored Normal file
View File

@ -0,0 +1,16 @@
Source: libretro-genesisplusgx
Section: otherosfs
Priority: extra
Maintainer: Hunter Kaller (hizzlekizzle) <hunter_kaller@yahoo.com>
Build-Depends: debhelper (>= 9), zlib1g-dev
Standards-Version: 3.9.5
Homepage: https://code.google.com/p/genplus-gx/
Vcs-Git: git://github.com/libretro/Genesis-Plus-GX.git
Vcs-Browser: https://github.com/libretro/Genesis-Plus-GX
Package: libretro-genesisplusgx
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: Libretro wrapper for Genesis Plus GX.
This wrapper makes Genesis Plus GX API compatible with libretro,
thus allowing its use with libretro frontends, such as RetroArch.

60
debian/copyright vendored Normal file
View File

@ -0,0 +1,60 @@
This package was debianized by Hunter Kaller (hizzlekizzle) <hunter_kaller@yahoo.com> on
Tue, 14 Apr 2010 11:03:43 -0500.
It was downloaded from <https://github.com/libretro/Genesis-Plus-GX>
Upstream Authors:
Genesis Plus GX development team
Hans-Kristian Arntzen (Themaister) <maister@archlinux.us>
Daniel De Matteis (Squarepusher aka twinaphex) <libretro@gmail.com>
Copyright:
Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 Charles MacDonald
Some portions copyright Nicola Salmoria and the MAME team
All rights reserved.
Copyright (c) 2007-2013 Eke-Eke
All rights reserved.
License:
Unless otherwise explicitly stated, all code in Genesis Plus GX is released
under the following license:
.
Redistribution and use of this code or any derivative works are permitted
provided that the following conditions are met:
.
* Redistributions may not be sold, nor may they be used in a commercial
product or activity.
.
* Redistributions that are modified from the original source must include the
complete source code, including the source code for all components used by a
binary built from the modified sources. However, as a special exception, the
source code distributed need not include anything that is normally distributed
(in either source or binary form) with the major components (compiler, kernel,
and so on) of the operating system on which the executable runs, unless that
component itself accompanies the executable.
.
* Redistributions must reproduce the above copyright notice, this list of
conditions and the following disclaimer in the documentation and/or other
materials provided with the distribution.
.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
The Debian packaging is:
Copyright (C) 2009 Hunter Kaller (hizzlekizzle) <hunter_kaller@yahoo.com>
and is licensed under the GPL version 3,
see `/usr/share/common-licenses/GPL-3'.

1
debian/dirs vendored Normal file
View File

@ -0,0 +1 @@
usr/lib/libretro

34
debian/genesis_plus_gx_libretro.info vendored Normal file
View File

@ -0,0 +1,34 @@
display_name = "Sega MS/GG/MD/CD (Genesis Plus GX)"
authors = "Charles McDonald|Eke-Eke"
supported_extensions = "mdx|md|smd|gen|bin|cue|iso|sms|gg|sg"
corename = "Genesis Plus GX"
manufacturer = "Sega"
systemname = "Sega 8/16bit (Various)"
license = "Non-commercial"
permissions = ""
display:version = "v1.7.4"
need_fullpath = "true"
block_extract = "false"
supports_no_game = "false"
firmware_count = 7
firmware0_desc = "bios_CD_E.bin (MegaCD EU BIOS)"
firmware0_path = "bios_CD_E.bin"
firmware0_opt = "false"
firmware1_desc = "bios_CD_U.bin (SegaCD US BIOS)"
firmware1_path = "bios_CD_U.bin"
firmware1_opt = "false"
firmware2_desc = "bios_CD_J.bin (MegaCD JP BIOS)"
firmware2_path = "bios_CD_J.bin"
firmware2_opt = "false"
firmware3_desc = "bios_E.sms (MasterSystem EU BIOS)"
firmware3_path = "bios_E.sms"
firmware3_opt = "true"
firmware4_desc = "bios_U.sms (MasterSystem US BIOS)"
firmware4_path = "bios_U.sms"
firmware4_opt = "true"
firmware5_desc = "bios_J.sms (MasterSystem JP BIOS)"
firmware5_path = "bios_J.sms"
firmware5_opt = "true"
firmware6=desc = "bios.gg (GameGear BIOS)"
firmware6_path = "bios.gg"
firmware6_opt = "true"

9
debian/libretro-genesisplusgx.postinst vendored Executable file
View File

@ -0,0 +1,9 @@
#!/bin/sh
set -e
update-alternatives --install /usr/lib/libretro.so libretro /usr/lib/libretro/genesis_plus_gx_libretro.so 10
#DEBHELPER#
exit 0

90
debian/rules vendored Executable file
View File

@ -0,0 +1,90 @@
#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
configure: configure-stamp
configure-stamp:
dh_testdir
# Add here commands to configure the package.
touch configure-stamp
build: build-arch build-indep
build-arch: build-stamp
build-indep: build-stamp
build-stamp: configure-stamp
dh_testdir
# Add here commands to compile the package.
$(MAKE) -f Makefile.libretro
#docbook-to-man debian/libretro-genesisplusgx.sgml > libretro-genesisplusgx
touch $@
clean:
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
# Add here commands to clean up after the build process.
$(MAKE) -f Makefile.libretro clean
dh_clean
install: build
dh_testdir
dh_testroot
dh_prep
dh_installdirs
# Add here commands to install the package into debian/libretro-genesisplusgx.
cp genesis_plus_gx_libretro.so $(CURDIR)/debian/libretro-genesisplusgx/usr/lib/libretro/
cp $(CURDIR)/debian/genesis_plus_gx_libretro.info $(CURDIR)/debian/libretro-genesisplusgx/usr/lib/libretro/
# Build architecture-independent files here.
binary-indep: install
# We have nothing to do by default.
# Build architecture-dependent files here.
binary-arch: install
dh_testdir
dh_testroot
dh_installchangelogs
dh_installdocs
# dh_installexamples
# dh_install
# dh_installmenu
# dh_installdebconf
# dh_installlogrotate
# dh_installemacsen
# dh_installpam
# dh_installmime
# dh_python
# dh_installinit
# dh_installcron
# dh_installinfo
# dh_installman
dh_link
dh_strip
dh_compress
dh_fixperms
# dh_perl
# dh_makeshlibs
dh_installdeb
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install configure

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
3.0 (quilt)