package de.mm20.launcher2.licenses

import de.mm20.launcher2.base.R

val OpenSourceLicenses = arrayOf(
    OpenSourceLibrary(
        name = "Kotlin Standard Library",
        description = " A modern programming language that makes developers happier.",
        licenseName = R.string.apache_license_name,
        licenseText = R.raw.license_apache_2,
        url = "https://kotlinlang.org/"
    ),
    OpenSourceLibrary(
        name = "KotlinX Coroutines",
        description = "Library support for Kotlin coroutines",
        licenseName = R.string.apache_license_name,
        licenseText = R.raw.license_apache_2,
        url = "https://github.com/Kotlin/kotlinx.coroutines"
    ),
    OpenSourceLibrary(
        name = "KotlinX Collections",
        description = "Immutable collection interfaces and implementation prototypes for Kotlin.",
        licenseName = R.string.apache_license_name,
        licenseText = R.raw.license_apache_2,
        url = "https://github.com/Kotlin/kotlinx.collections.immutable"
    ),
    OpenSourceLibrary(
        name = "IntelliJ Markdown",
        description = "Multiplatform Markdown processor written in Kotlin.",
        licenseName = R.string.apache_license_name,
        licenseText = R.raw.license_apache_2,
        url = "https://github.com/JetBrains/markdown"
    ),
    OpenSourceLibrary(
        name = "KotlinX Serialization",
        description = "Kotlin serialization consists of a compiler plugin, that generates visitor code for serializable classes, runtime library with core serialization API and support libraries with various serialization formats.",
        licenseName = R.string.apache_license_name,
        licenseText = R.raw.license_apache_2,
        url = "https://github.com/Kotlin/kotlinx.serialization"
    ),
    OpenSourceLibrary(
        name = "Android Jetpack",
        description = "A collection of Android software components to make it easier to develop great Android apps.",
        licenseName = R.string.apache_license_name,
        licenseText = R.raw.license_apache_2,
        url = "https://developer.android.com/jetpack"
    ),
    OpenSourceLibrary(
        name = "Accompanist",
        description = "Accompanist is a group of libraries that aim to supplement Jetpack Compose with features that are commonly required by developers but not yet available.",
        licenseName = R.string.apache_license_name,
        licenseText = R.raw.license_apache_2,
        copyrightNote = "Copyright 2020 The Android Open Source Project",
        url = "https://google.github.io/accompanist/"
    ),
    OpenSourceLibrary(
        name = "Material Components for Android",
        description = "Material Components for Android (MDC-Android) help developers execute Material Design.",
        licenseName = R.string.apache_license_name,
        licenseText = R.raw.license_apache_2,
        url = "https://material.io/develop/android/"
    ),
    OpenSourceLibrary(
        name = "OkHttp",
        description = "An HTTP & HTTP/2 client for Android and Java applications",
        licenseName = R.string.apache_license_name,
        licenseText = R.raw.license_apache_2,
        copyrightNote = "Copyright 2019 Square, Inc.",
        url = "https://square.github.io/okhttp/"
    ),
    OpenSourceLibrary(
        name = "Ktor Client",
        description = "A multiplatform asynchronous HTTP client",
        licenseName = R.string.apache_license_name,
        licenseText = R.raw.license_apache_2,
        url = "https://ktor.io/"
    ),
    OpenSourceLibrary(
        name = "commons-suncalc",
        description = "A Java library for calculation of sun and moon positions and phases.",
        licenseName = R.string.apache_license_name,
        licenseText = R.raw.license_apache_2,
        url = "https://github.com/shred/commons-suncalc"
    ),
    OpenSourceLibrary(
        name = "Jsoup",
        description = "A Java library for working with real-world HTML",
        licenseName = R.string.mit_license_name,
        licenseText = R.raw.license_mit,
        copyrightNote = "Copyright (c) 2009-2021 Jonathan Hedley <https://jsoup.org/>",
        url = "https://jsoup.org/"
    ),
    OpenSourceLibrary(
        name = "mXparser (Version 4.4.2)",
        description = "A super easy, rich, fast and highly flexible math expression parser library",
        licenseName = R.string.bsd_2clause_name,
        licenseText = R.raw.license_bsd_2clause,
        copyrightNote = "Copyright 2010 - 2020 Mariusz Gromada. All rights reserved.",
        url = "https://mathparser.org/"
    ),
    OpenSourceLibrary(
        name = "CrashReporter",
        description = "CrashReporter is a handy tool to capture app crashes and save them in a file.",
        licenseName = R.string.apache_license_name,
        licenseText = R.raw.license_apache_2,
        copyrightNote = "Copyright (C) 2016 Bal Sikandar\nCopyright (C) 2011 Android Open Source Project",
        url = "https://github.com/MindorksOpenSource/CrashReporter"
    ),
    OpenSourceLibrary(
        name = "Material Design Icons",
        description = "Beautifully crafted, delightful, and easy to use in your web, Android, and iOS projects",
        licenseName = R.string.apache_license_name,
        licenseText = R.raw.license_apache_2,
        url = "https://material.io/icons/"
    ),
    OpenSourceLibrary(
        name = "Koin",
        description = "A smart Kotlin injection library to keep you focused on your app, not on your tools",
        licenseName = R.string.apache_license_name,
        licenseText = R.raw.license_apache_2,
        url = "https://insert-koin.io/"
    ),
    OpenSourceLibrary(
        name = "Google Sans Flex",
        description = "A geometric sans serif typeface",
        licenseName = R.string.open_font_license_name,
        licenseText = R.raw.license_ofl,
        url = "https://fonts.google.com/specimen/Google+Sans+Flex"
    ),
    OpenSourceLibrary(
        name = "Coil",
        description = "An image loading library for Android backed by Kotlin Coroutines",
        copyrightNote = "Copyright 2021 Coil Contributors",
        licenseName = R.string.apache_license_name,
        licenseText = R.raw.license_apache_2,
        url = "https://coil-kt.github.io/coil/"
    ),
    OpenSourceLibrary(
        name = "Apache Commons Text",
        description = "Apache Commons Text is a library focused on algorithms working on strings. ",
        licenseName = R.string.apache_license_name,
        licenseText = R.raw.license_apache_2,
        url = "https://commons.apache.org/proper/commons-text/"
    ),
    OpenSourceLibrary(
        name = "material-color-utilities",
        copyrightNote = "Copyright 2021 Google LLC",
        description = "Algorithms and utilities that power the Material Design 3 (M3) color system, including choosing theme colors from images and creating tones of colors; all in a new color space.",
        licenseName = R.string.apache_license_name,
        licenseText = R.raw.license_apache_2,
        url = "https://github.com/material-foundation/material-color-utilities"
    ),
    OpenSourceLibrary(
        name = "Launcher3",
        copyrightNote = "Copyright (C) 2020 The Android Open Source Project",
        description = "The AOSP launcher",
        licenseName = R.string.apache_license_name,
        licenseText = R.raw.license_apache_2,
        url = "https://source.android.com/"
    ),
    OpenSourceLibrary(
        name = "AndroidSVG",
        description = "AndroidSVG is a SVG parser and renderer for Android.",
        licenseName = R.string.apache_license_name,
        licenseText = R.raw.license_apache_2,
        url = "https://bigbadaboom.github.io/androidsvg/"
    ),
    OpenSourceLibrary(
        name = "AndroidAddressFormatter",
        description = "A package for formatting data in the OpenStreetMaps address field generated by the Nominatim API.",
        licenseName = R.string.mit_license_name,
        licenseText = R.raw.license_mit,
        url = "https://github.com/woheller69/AndroidAddressFormatter",
        copyrightNote = "Copyright (c) 2022 woheller69",
    ),
    OpenSourceLibrary(
        name = "String Similarity for Kotlin",
        description = "A library that implements various measures of string similarity and distance.",
        licenseName = R.string.mit_license_name,
        licenseText = R.raw.license_mit,
        url = "https://github.com/aallam/string-similarity-kotlin",
        copyrightNote = "Copyright (c) 2023 Mouaad Aallam",
    ),
    OpenSourceLibrary(
        name = "osm-opening-hours",
        description = "Kotlin multiplatform library to parse OpenStreetMap opening hours",
        licenseName = R.string.mit_license_name,
        licenseText = R.raw.license_mit,
        url = "https://github.com/westnordost/osm-opening-hours",
        copyrightNote = "Copyright (c) 2024 Tobias Zwick",
    ),
    OpenSourceLibrary(
        name = "Haze",
        description = "Haze is a library providing a 'glassmorphism' style blur for Compose.",
        licenseName = R.string.apache_license_name,
        licenseText = R.raw.license_apache_2,
        url = "https://chrisbanes.github.io/haze",
        copyrightNote = "Copyright 2024 Chris Banes",
    ),
    OpenSourceLibrary(
        name = "Smartspacer Client SDK",
        description = "A library to integrate Smartspacer in your app",
        licenseName = R.string.apache_license_name,
        licenseText = R.raw.license_apache_2,
        url = "https://chrisbanes.github.io/haze",
    )
)