Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: Beetle/Mednafen PSX
Source: https://github.com/libretro/beetle-psx-libretro
Upstream-Contact:
 Daniel De Matteis "Twinaphex" <libretro@gmail.com>
 https://forums.libretro.com/
 https://forum.fobby.net/
Files-Excluded:
 deps/mman
 deps/openbios
 deps/wiiu
 parallel-psx/khronos
 parallel-psx/SPIRV-Cross
 rhi/shaders_vulkan/prebuilt
Comment: This is a fork of Mednafen, the libretro port is not in
 upstream yet and the code diverge


Files: *
Copyright: The RetroArch Team
License: GPL-2+
Comment: The RetroArch Team: Hans-Kristian Arntzen "Themaister",
 Daniel De Matteis "Twinaphex" and others,
 see https://github.com/orgs/libretro/people

Files: kodi-game/*
Copyright: 2017-2025 Team Kodi
License: Expat

Files: mednafen/*
Copyright: 2005-2017 Mednafen Team, Ryphecha
License: GPL-2+

Files:
 mednafen/cdrom/CDUtility.*
 mednafen/cdrom/lec.*
Copyright: 1998-2002 Andreas Mueller <andreas@daneb.de>
License: GPL-2+

Files:
 mednafen/cdrom/edc_crc32.*
 mednafen/cdrom/galois.*
 mednafen/cdrom/l-ec.*
 mednafen/cdrom/recover-raw.*
Copyright: 2004-2007 Carsten Gnoerlich <carsten@dvdisaster.com>
License: GPL-2+

Files: mednafen/cdrom/CDAccess_PBP.c
Copyright:
 2005-2017 Mednafen Team
 2015 Hykem
 2013 tpu
 Draan
License: GPL-3+
Comment: Part of the mednafen/cdrom/CDAccess_PBP.c file contains code that was
 previously split across deps/libkirk/{aes,sha1,kirk_engine,amctrl}.c
 .
 aes.c was placed in the public domain by it's authors:
  - Vincent Rijmen <vincent.rijmen@esat.kuleuven.ac.be>
  - Antoon Bosselaers <antoon.bosselaers@esat.kuleuven.ac.be>
  - Paulo Barreto <paulo.barreto@terra.com.br>
 .
 amctrl.c was originally licensed under GPL-3+,
 Copyright: 2013 tpu & 2015 Hykem <hykem@hotmail.com>
 .
 kirk_engine.c was originally licensed under GPL-3+,
 Copyright: Draan

Files: libretro-common/*
Copyright: The RetroArch Team
License: Expat

Files: libretro-common/formats/flac/rflac.c
Copyright:
 2023 David Reid
 The RetroArch Team
License: MIT-0 or Unlicense

Files:
 deps/lightning/*
 include/lightning-actual.h
Copyright: 2012-2023 Free Software Foundation, Inc.
License: LGPL-3+

Files: deps/lightning/lib/jit_hppa.c
Copyright:
 2012-2023 Free Software Foundation, Inc.
 1995-1997 Bruno Haible
License: LGPL-3+

Files:
 deps/lightrec/*
 include/debug.h
 include/lightrec-config.h
Copyright: 2014-2021 Paul Cercueil
License: LGPL-2.1+

Files: deps/lightrec/tlsf/tlsf.h
Copyright: 2006-2016 Matthew Conte
License: BSD-3-clause

Files: parallel-psx/*
Copyright:
 2016 Tiny Tiger
 2017-2018 Hans-Kristian Arntzen
License: Expat

Files: rhi/rhi_lib_vulkan.c
Copyright:
 The RetroArch Team
 2018 Arseny Kapoulkine
License: Expat

Files: rhi/rhi_upscaler.*
Copyright: The RetroArch Team
License: Expat

Files: pgxp/*
Copyright: 2016 iCatButler
License: GPL-2+

Files: debian/*
Copyright:
 2014-2015 Sergio Benjamim (sergio-br2) <sergio_br2@yahoo.com.br>
 2026 Sébastien Noel <twolife@debian.org>
License: GPL-2+


License: BSD-3-Clause
 Redistribution and use in source and binary forms, with or without
 modification, are permitted provided that the following conditions
 are met:
 1. Redistributions of source code must retain the above copyright
    notice, and the entire permission notice in its entirety,
    including the disclaimer of warranties.
 2. Redistributions in binary form 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.
 3. The name of the author may not be used to endorse or promote
    products derived from this software without specific prior
    written permission.
 .
 THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
 WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
 OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, ALL OF
 WHICH ARE HEREBY DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR 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 NOT ADVISED OF THE POSSIBILITY OF SUCH
 DAMAGE.

License: Expat
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal
 in the Software without restriction, including without limitation the rights
 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 copies of the Software, and to permit persons to whom the Software is
 furnished to do so, subject to the following conditions:
 .
 The above copyright notice and this permission notice shall be included in
 all copies or substantial portions of the Software.
 .
 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 THE SOFTWARE.

License: GPL-2+
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.
 .
 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.
 .
 On Debian systems, the complete text of the GNU General Public License
 version 2 can be found in '/usr/share/common-licenses/GPL-2'.

License: GPL-3+
 This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation, either version 3 of the License, or
 (at your option) any later version.
 .
 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.
 .
 On Debian systems, the complete text of the GNU General Public License
 version 3 can be found in '/usr/share/common-licenses/GPL-3'.

License: LGPL-2.1+
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU Lesser General Public License as published by
 the Free Software Foundation; either version 2.1, or (at your option)
 any later version.
 .
 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU Lesser General Public License for more details.
 .
 On Debian systems, the complete text of the GNU Lesser General Public
 License version 2.1 can be found in ‘/usr/share/common-licenses/LGPL-2.1’.

License: LGPL-3+
 This package is free software; you can redistribute it and/or
 modify it under the terms of the GNU Lesser General Public
 License as published by the Free Software Foundation; either
 version 3 of the License, or (at your option) any later version.
 .
 This package is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 Lesser General Public License for more details.
 .
 On Debian systems, the complete text of the GNU Lesser General
 Public License can be found in "/usr/share/common-licenses/LGPL-3".

License: MIT-0
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal
 in the Software without restriction, including without limitation the rights
 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 copies of the Software, and to permit persons to whom the Software is
 furnished to do so.
 .
 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 SOFTWARE.

License: Unlicense
 This is free and unencumbered software released into the public domain.
 Anyone is free to copy, modify, publish, use, compile, sell, or distribute this
 software, either in source code form or as a compiled binary, for any purpose,
 commercial or non-commercial, and by any means.
 .
 In jurisdictions that recognize copyright laws, the author or authors of this
 software dedicate any and all copyright interest in the software to the public
 domain. We make this dedication for the benefit of the public at large and to
 the detriment of our heirs and successors. We intend this dedication to be an
 overt act of relinquishment in perpetuity of all present and future rights to
 this software under copyright law.
 .
 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
 ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
