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/libchdr
 deps/lzma-19.00
 deps/mman
 deps/wiiu
 deps/zlib-1.2.11
 deps/zstd
 parallel-psx/glsl/prebuilt
 parallel-psx/khronos
 parallel-psx/SPIRV-Cross
 parallel-psx/stb
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/tremor/*
Copyright: 1994-2010 Xiph.Org Foundation
Comment: It only works with this Tremor lib, RetroArch Team changed its
 API especially for this libretro core.
License: BSD-3-clause-Xiph.Org
 Redistribution and use in source and binary forms, with or without
 modification, are permitted provided that the following conditions
 are met:
 .
 - Redistributions of source code must retain the above copyright
 notice, this list of conditions and the following disclaimer.
 .
 - 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.
 .
 - Neither the name of the Xiph.org Foundation nor the names of its
 contributors may be used to endorse or promote products derived from
 this software without specific prior written permission.
 .
 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 FOUNDATION
 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.

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

Files: libretro-common/rthreads/rsemaphore.c
Copyright: 2005 Allen B. Downey
License: GPL-2+

Files: libretro-common/include/compat/ifaddrs.h
Copyright: 1995, 1999 Berkeley Software Design, Inc.
License: BSD-1-Clause

Files: deps/libkirk/aes.*
Copyright: No copyright is claim
License: public-domain
 No copyright is claimed. This code is hereby placed in the public domain.
 .
 Written by:
 * Vincent Rijmen <vincent.rijmen@esat.kuleuven.ac.be>
 * Antoon Bosselaers <antoon.bosselaers@esat.kuleuven.ac.be>
 * Paulo Barreto <paulo.barreto@terra.com.br>

Files:
 deps/libkirk/amctrl.*
 deps/libkirk/psp_headers.h
Copyright:
 2013 tpu
 2015 Hykem <hykem@hotmail.com>
License: GPL-3

Files:
 deps/libkirk/key_vault.h
 deps/libkirk/kirk_engine.*
Copyright: Draan
License: GPL-3+

Files: deps/libkirk/des.*
Copyright: 2006-2013 Brainspark B.V.
License: GPL-2+

Files:
 deps/libkirk/bn.c
 deps/libkirk/ec.c
Copyright: 2007-2022 Segher Boessenkool
License: GPL-2 or GPL-3

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

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

Files: deps/ugui/*
Copyright: 2015 Achim Döbler
License: µGUI
 This is a free software that is open for education, research and commercial
 developments under license policy of following terms.
 .
 The µGUI module is a free software and there is NO WARRANTY.
 No restriction on use. You can use, modify and redistribute it for
 personal, non-profit or commercial products UNDER YOUR RESPONSIBILITY.
 Redistributions of source code must retain the above copyright notice.

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

Files: parallel-psx/volk/*
Copyright: 2018 Arseny Kapoulkine
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 <sebastien@twolife.be>
License: GPL-2+

Files: debian/libretro-beetle-psx.metainfo.xml
Copyright: 2019 Alexander Mikhaylenko
License: CC0-1.0

Files: debian/mednafen_psx.libretro
Copyright: 2017 Adrien Plazas
License: GPL-3+
Comment: This file was copied from
 https://gitlab.gnome.org/GNOME/gnome-games/tree/libretro/


License: BSD-1-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, this list of conditions and the following disclaimer.
 .
 THIS SOFTWARE IS PROVIDED BY Berkeley Software Design, Inc. "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 Berkeley Software Design, Inc. 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.

License: CC0-1.0
 To the extent possible under law, the author(s) have dedicated all copyright
 and related and neighboring rights to this software to the public domain
 worldwide. This software is distributed without any warranty.
 .
 You should have received a copy of the CC0 Public Domain Dedication along with
 this software. If not, see <https://creativecommons.org/publicdomain/zero/1.0/>.
 .
 On Debian systems, the full text of the CC0 1.0 Universal license can be found
 in the file `/usr/share/common-licenses/CC0-1.0'.

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, v2, as
 published by the Free Software Foundation
 .
 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-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, v3, as
 published by the Free Software Foundation
 .
 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: 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".
