Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: flycast
Upstream-Contact: flyinghead <https://github.com/flyinghead/flycast/issues>
Source: https://github.com/flyinghead/flycast
Comment:
 Flycast descends from reicast, which descends from nullDC. Its own source
 files are licensed GPL-2.0-or-later: every licensed file under core/ carries
 the "either version 2 of the License, or (at your option) any later version"
 grant, so the combined work may be distributed under GPL-3 terms where a
 vendored component requires it.
 .
 Flycast vendors a number of dependencies under core/deps/, some as git
 submodules and some in-tree. This package builds against the system SDL2,
 libzip, lua, curl and miniupnpc, and disables breakpad and discord-rpc, so
 those copies are not linked into the shipped binary. The components below are
 the ones that DO contribute to /usr/bin/flycast. All are DFSG-free, and all
 are compatible with the GPL-2.0-or-later combined work.

Files: *
Copyright: 2019-2026 flyinghead and the Flycast contributors
           2013-2019 The reicast team
           2007-2013 The nullDC team
License: GPL-2+

Files: core/deps/glslang/*
Copyright: 2015-2023 The Khronos Group Inc.
           2002-2005 3Dlabs Inc. Ltd.
           2012-2016 LunarG, Inc.
           2016-2020 Google, Inc.
License: BSD-3-clause and Apache-2.0
Comment:
 glslang is multi-licensed; the preprocessor and the non-preprocessor portions
 carry different terms. See core/deps/glslang/LICENSE.txt in the source
 package for the authoritative per-file breakdown.

Files: core/deps/Vulkan-Headers/*
Copyright: 2015-2026 The Khronos Group Inc.
License: Apache-2.0

Files: core/deps/VulkanMemoryAllocator/*
Copyright: 2017-2026 Advanced Micro Devices, Inc.
License: Expat

Files: core/deps/libjuice/*
Copyright: 2020-2026 Paul-Louis Ageneau
License: MPL-2.0

Files: core/deps/rcheevos/*
Copyright: 2018-2026 Rétro Achievements
License: Expat

Files: core/deps/glm/*
Copyright: 2005-2026 G-Truc Creation
License: Expat

Files: core/deps/implot/*
Copyright: 2020-2026 Evan Pezent
License: Expat

Files: core/deps/DreamPicoPort-API/*
Copyright: 2024-2026 Tails86
License: Expat

Files: core/deps/nowide/*
Copyright: 2012-2026 Artyom Beilis, Alexander Grund
License: BSL-1.0

Files: core/deps/xxHash/*
Copyright: 2012-2026 Yann Collet
License: BSD-2-clause

Files: core/deps/xbrz/*
Copyright: 2012-2026 Zenju
License: GPL-3+

Files: shell/linux/org.flycast.Flycast.metainfo.xml
Copyright: 2019-2026 flyinghead and the Flycast contributors
License: CC0-1.0

Files: debian/*
Copyright: 2026 Foundry Linux <packages@foundrylinux.org>
License: 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.
 .
 You should have received a copy of the GNU General Public License along
 with this program; if not, see <https://www.gnu.org/licenses/>.
 .
 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: Apache-2.0
 Licensed under the Apache License, Version 2.0 (the "License"); you may not
 use these files except in compliance with the License. You may obtain a copy
 of the License at <https://www.apache.org/licenses/LICENSE-2.0>.
 .
 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 License for the specific language governing permissions and limitations
 under the License.
 .
 On Debian systems, the complete text of the Apache License version 2.0 can
 be found in "/usr/share/common-licenses/Apache-2.0".

License: MPL-2.0
 This Source Code Form is subject to the terms of the Mozilla Public License,
 v. 2.0. If a copy of the MPL was not distributed with this file, You can
 obtain one at <https://mozilla.org/MPL/2.0/>.
 .
 On Debian systems, the complete text of the Mozilla Public License version
 2.0 can be found in "/usr/share/common-licenses/MPL-2.0".

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.
 .
 On Debian systems, the complete text of the CC0 1.0 Universal license can be
 found in "/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: BSD-2-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.
 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.
 .
 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
 AND ANY EXPRESS OR IMPLIED WARRANTIES ARE DISCLAIMED. IN NO EVENT SHALL THE
 COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
 INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES HOWEVER CAUSED AND
 ON ANY THEORY OF LIABILITY, ARISING IN ANY WAY OUT OF THE USE OF THIS
 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

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,
    this list of conditions and the following disclaimer.
 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. Neither the name of the copyright holder 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 ARE DISCLAIMED. IN NO EVENT SHALL THE
 COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
 INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES HOWEVER CAUSED AND
 ON ANY THEORY OF LIABILITY, ARISING IN ANY WAY OUT OF THE USE OF THIS
 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

License: BSL-1.0
 Permission is hereby granted, free of charge, to any person or organization
 obtaining a copy of the software and accompanying documentation covered by
 this license (the "Software") to use, reproduce, display, distribute,
 execute, and transmit the Software, and to prepare derivative works of the
 Software, and to permit third-parties to whom the Software is furnished to
 do so, all subject to the following:
 .
 The copyright notices in the Software and this entire statement, including
 the above license grant, this restriction and the following disclaimer, must
 be included in all copies of the Software, in whole or in part, and all
 derivative works of the Software, unless such copies or derivative works are
 solely in the form of machine-executable object code generated by a source
 language processor.
 .
 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, TITLE AND NON-INFRINGEMENT. IN NO EVENT
 SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
 FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
 ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
 DEALINGS IN THE SOFTWARE.
