diff --git a/Config.in b/Config.in index 7b3dcecf852a58c90e7987787dde45827c77435d..68e45849e9ba14f58ad037ce5f696c2cde94d658 100644 --- a/Config.in +++ b/Config.in @@ -344,6 +344,7 @@ menu "Utils" source "$BR2_EXTERNAL_RECALBOX_PATH/package/rpi-utils/Config.in" source "$BR2_EXTERNAL_RECALBOX_PATH/package/llvm-cmake/Config.in.host" source "$BR2_EXTERNAL_RECALBOX_PATH/package/nodejs-quasar/Config.in.host" + source "$BR2_EXTERNAL_RECALBOX_PATH/package/calamares/Config.in" endmenu menu "Small TFT Screen" source "$BR2_EXTERNAL_RECALBOX_PATH/package/rpi-fbcp/Config.in" diff --git a/configs/recalbox-x86_64_defconfig b/configs/recalbox-x86_64_defconfig index 3a5d48c2d4ac4d0ca433fb5fe0c73cf8b95e1000..4e8d2f78dc1465d03e08ea334db523489c71fb03 100644 --- a/configs/recalbox-x86_64_defconfig +++ b/configs/recalbox-x86_64_defconfig @@ -420,3 +420,4 @@ BR2_PACKAGE_XPADNEO=y BR2_PACKAGE_XONE=y BR2_PACKAGE_XPAD_NOONE=y BR2_PACKAGE_WII_U_GC_ADAPTER=y +BR2_PACKAGE_CALAMARES=y diff --git a/package/calamares/Config.in b/package/calamares/Config.in new file mode 100644 index 0000000000000000000000000000000000000000..9325a96e05713c7bb0706a5f1306b4ad6e217e33 --- /dev/null +++ b/package/calamares/Config.in @@ -0,0 +1,16 @@ +config BR2_PACKAGE_CALAMARES + bool "calamares" + select BR2_PACKAGE_KF5_EXTRA_CMAKE_MODULES + select BR2_PACKAGE_QT5 + select BR2_PACKAGE_QT5BASE + select BR2_PACKAGE_QT5BASE_DBUS + select BR2_PACKAGE_QT5TOOLS + select BR2_PACKAGE_QT5TOOLS_LINGUIST_TOOLS + select BR2_PACKAGE_QT5SVG + select BR2_PACKAGE_YAML_CPP + select BR2_PACKAGE_KF5 + select BR2_PACKAGE_KF5_KCOREADDONS + help + Distribution-independent installer framework + + https://github.com/calamares/calamares diff --git a/package/calamares/calamares.mk b/package/calamares/calamares.mk new file mode 100644 index 0000000000000000000000000000000000000000..dac65abd89c768b608ae69b171ce32fc33d3971b --- /dev/null +++ b/package/calamares/calamares.mk @@ -0,0 +1,21 @@ +################################################################################ +# +# calamares +# +################################################################################ + +CALAMARES_VERSION = 80ef430185212b9312bf30ef4eba9890c7a9fcfe +CALAMARES_SITE = $(call github,calamares,calamares,$(CALAMARES_VERSION)) +CALAMARES_LICENSE = CUSTOM +CALAMARES_LICENSE_FILES = README +CALAMARES_DEPENDENCIES = qt5base qt5tools qt5svg yaml-cpp kf5-kcoreaddons parted + +CALAMARES_CONF_OPTS = -DINSTALL_POLKIT=OFF -DWITH="partition" + +define CALAMARES_INSTALL_CONFIG + mkdir -p $(TARGET_DIR)/etc/calamares/ + $(INSTALL) -m 0644 -D $(BR2_EXTERNAL_RECALBOX_PATH)/package/calamares/settings.conf $(TARGET_DIR)/etc/calamares/settings.conf +endef +CALAMARES_POST_INSTALL_TARGET_HOOKS += CALAMARES_INSTALL_CONFIG + +$(eval $(cmake-package)) diff --git a/package/calamares/settings.conf b/package/calamares/settings.conf new file mode 100644 index 0000000000000000000000000000000000000000..3bf82fbcdb6806d9ce3c983aa25531bdbe1ae223 --- /dev/null +++ b/package/calamares/settings.conf @@ -0,0 +1,236 @@ +# SPDX-FileCopyrightText: no +# SPDX-License-Identifier: CC0-1.0 +# +# Configuration file for Calamares +# +# This is the top-level configuration file for Calamares. +# It specifies what modules will be used, as well as some +# overall characteristics -- is this a setup program, or +# an installer. More specific configuration is devolved +# to the branding file (for the UI) and the individual +# module configuration files (for functionality). +--- +# Modules can be job modules (with different interfaces) and QtWidgets view +# modules. They could all be placed in a number of different paths. +# "modules-search" is a list of strings, each of these can either be a full +# path to a directory or the keyword "local". +# +# "local" means: +# - modules in $LIBDIR/calamares/modules, with +# - settings in SHARE/calamares/modules or /etc/calamares/modules. +# In debug-mode (e.g. calamares -d) "local" also adds some paths +# that make sense from inside the build-directory, so that you +# can build-and-run with the latest modules immediately. +# +# Strings other than "local" are taken as paths and interpreted +# relative to wherever Calamares is started. It is therefore **strongly** +# recommended to use only absolute paths here. This is mostly useful +# if your distro has forks of standard Calamares modules, but also +# uses some form of upstream packaging which might overwrite those +# forked modules -- then you can keep modules somewhere outside of +# the "regular" module tree. +# +# +# YAML: list of strings. +modules-search: [ local ] + +# Instances section. This section is optional, and it defines custom instances +# for modules of any kind. An instance entry has these keys: +# - *module* name, which matches the module name from the module descriptor +# (usually the name of the directory under `src/modules/`, but third- +# party modules may diverge. +# - *id* (optional) an identifier to distinguish this instance from +# all the others. If none is given, the name of the module is used. +# Together, the module and id form an instance key (see below). +# - *config* (optional) a filename for the configuration. If none is +# given, *module*`.conf` is used (e.g. `welcome.conf` for the welcome +# module) +# - *weight* (optional) In the *exec* phase of the sequence, progress +# is reported as jobs are completed. The jobs from a single module +# together contribute the full weight of that module. The overall +# progress (0 .. 100%) is divided up according to the weight of each +# module. Give modules that take a lot of time to complete, a larger +# weight to keep the overall progress moving along steadily. This +# weight overrides a weight given in the module descriptor. If no weight +# is given, uses the value from the module descriptor, or 1 if there +# isn't one there either. +# +# The primary goal of this mechanism is to allow loading multiple instances +# of the same module, with different configuration. If you don't need this, +# the instances section can safely be left empty. +# +# Module name plus instance name makes an instance key, e.g. +# "packagechooserq@licenseq", where "packagechooserq" is the module name (for the packagechooserq +# viewmodule) and "licenseq" is the instance name. In the *sequence* +# section below, use instance-keys to name instances (instead of just +# a module name, for modules which have only a single instance). +# +# Every module implicitly has an instance with the instance name equal +# to its module name, e.g. "welcome@welcome". In the *sequence* section, +# mentioning a module without a full instance key (e.g. "welcome") +# means that implicit module. +# +# An instance may specify its configuration file (e.g. `webview-home.conf`). +# The implicit instances all have configuration files named `.conf`. +# This (implict) way matches the source examples, where the welcome +# module contains an example `welcome.conf`. Specify a *config* for +# any module (also implicit instances) to change which file is used. +# +# For more information on running module instances, run Calamares in debug +# mode and check the Modules page in the Debug information interface. +# +# A module that is often used with instances is shellprocess, which will +# run shell commands specified in the configuration file. By configuring +# more than one instance of the module, multiple shell sessions can be run +# during install. +# +# YAML: list of maps of string:string key-value pairs. +#instances: +#- id: licenseq +# module: packagechooserq +# config: licenseq.conf + +# Sequence section. This section describes the sequence of modules, both +# viewmodules and jobmodules, as they should appear and/or run. +# +# A jobmodule instance key (or name) can only appear in an exec phase, whereas +# a viewmodule instance key (or name) can appear in both exec and show phases. +# There is no limit to the number of show or exec phases. However, the same +# module instance key should not appear more than once per phase, and +# deployers should take notice that the global storage structure is persistent +# throughout the application lifetime, possibly influencing behavior across +# phases. A show phase defines a sequence of viewmodules (and therefore +# pages). These viewmodules can offer up jobs for the execution queue. +# +# An exec phase displays a progress page (with brandable slideshow). This +# progress page iterates over the modules listed in the *immediately +# preceding* show phase, and enqueues their jobs, as well as any other jobs +# from jobmodules, in the order defined in the current exec phase. +# +# It then executes the job queue and clears it. If a viewmodule offers up a +# job for execution, but the module name (or instance key) isn't listed in the +# immediately following exec phase, this job will not be executed. +# +# YAML: list of lists of strings. +sequence: +- show: + - welcome +# - notesqml +# - packagechooserq@licenseq +# - locale + - keyboard + - partition +# - users +# - tracking + - summary +- exec: +# - dummycpp +# - dummyprocess +# - dummypython + - partition +# - zfs + - mount + - unpackfs + - machineid + - fstab + - locale + - keyboard + - localecfg +# - luksbootkeyfile +# - luksopenswaphookcfg +# - dracutlukscfg +# - plymouthcfg +# - zfshostid + - initcpiocfg + - initcpio + - users + - displaymanager + - networkcfg + - hwclock + - services-systemd +# - dracut + - initramfs +# - grubcfg + - bootloader + - umount +- show: + - finished + +# A branding component is a directory, either in SHARE/calamares/branding or +# in /etc/calamares/branding (the latter takes precedence). The directory must +# contain a YAML file branding.desc which may reference additional resources +# (such as images) as paths relative to the current directory. +# +# A branding component can also ship a QML slideshow for execution pages, +# along with translation files. +# +# Only the name of the branding component (directory) should be specified +# here, Calamares then takes care of finding it and loading the contents. +# +# YAML: string. +branding: default + +# If this is set to true, Calamares will show an "Are you sure?" prompt right +# before each execution phase, i.e. at points of no return. If this is set to +# false, no prompt is shown. Default is false, but Calamares will complain if +# this is not explicitly set. +# +# YAML: boolean. +prompt-install: false + +# If this is set to true, Calamares will execute all target environment +# commands in the current environment, without chroot. This setting should +# only be used when setting up Calamares as a post-install configuration tool, +# as opposed to a full operating system installer. +# +# Some official Calamares modules are not expected to function with this +# setting. (e.g. partitioning seems like a bad idea, since that is expected to +# have been done already) +# +# Default is false (for a normal installer), but Calamares will complain if +# this is not explicitly set. +# +# YAML: boolean. +dont-chroot: false + +# If this is set to true, Calamares refers to itself as a "setup program" +# rather than an "installer". Defaults to the value of dont-chroot, but +# Calamares will complain if this is not explicitly set. +oem-setup: false + +# If this is set to true, the "Cancel" button will be disabled entirely. +# The button is also hidden from view. +# +# This can be useful if when e.g. Calamares is used as a post-install +# configuration tool and you require the user to go through all the +# configuration steps. +# +# Default is false, but Calamares will complain if this is not explicitly set. +# +# YAML: boolean. +disable-cancel: false + +# If this is set to true, the "Cancel" button will be disabled once +# you start the 'Installation', meaning there won't be a way to cancel +# the Installation until it has finished or installation has failed. +# +# Default is false, but Calamares will complain if this is not explicitly set. +# +# YAML: boolean. +disable-cancel-during-exec: false + +# If this is set to true, the "Next" and "Back" button will be hidden once +# you start the 'Installation'. +# +# Default is false, but Calamares will complain if this is not explicitly set. +# +# YAML: boolean. +hide-back-and-next-during-exec: false + +# If this is set to true, then once the end of the sequence has +# been reached, the quit (done) button is clicked automatically +# and Calamares will close. Default is false: the user will see +# that the end of installation has been reached, and that things are ok. +# +# +quit-at-end: false diff --git a/package/kf5-karchive/Config.in b/package/kf5-karchive/Config.in new file mode 100644 index 0000000000000000000000000000000000000000..57554f5282d6c79349e72691f1f4b971fc3f1f41 --- /dev/null +++ b/package/kf5-karchive/Config.in @@ -0,0 +1,17 @@ +config BR2_PACKAGE_KF5_KARCHIVE + bool "kf5-karchive" + select BR2_PACKAGE_QT5BASE_DBUS + select BR2_PACKAGE_KF5_EXTRA_CMAKE_MODULES + help + KF5 is a set of Qt framework addons, extending Qt in various + ways, not only restricted in helping integration in KDE. + + This package contains the Karchive bindings from the + KF5 project. + + https://api.kde.org/frameworks/karchive/html/index.html + +comment "kf5-karchive needs toolchain w/ threads" + depends on BR2_USE_MMU + depends on BR2_PACKAGE_MODEM_MANAGER + depends on !BR2_TOOLCHAIN_HAS_THREADS diff --git a/package/kf5-karchive/kf5-karchive.mk b/package/kf5-karchive/kf5-karchive.mk new file mode 100644 index 0000000000000000000000000000000000000000..72b3b39e02f59b820560aba6a653176a8ef9e757 --- /dev/null +++ b/package/kf5-karchive/kf5-karchive.mk @@ -0,0 +1,30 @@ +################################################################################ +# +# kf5-karchive +# +################################################################################ + +KF5_KARCHIVE_VERSION = $(KF5_VERSION) +KF5_KARCHIVE_SITE = $(KF5_SITE) +KF5_KARCHIVE_SOURCE = karchive-$(KF5_KARCHIVE_VERSION).tar.xz +KF5_KARCHIVE_LICENSE = \ + LGPL-2.1 or LGPL-3.0 or LicenseRef-KDE-Accepted-LGPL (library), \ + GPL-2.0 or GPL-3.0 or LicenseRef-KDE-Accepted-GPL (autotests, examples) + +KF5_KARCHIVE_LICENSE_FILES = \ + LICENSES/GPL-2.0-only.txt \ + LICENSES/GPL-3.0-only.txt \ + LICENSES/LGPL-2.1-only.txt \ + LICENSES/LGPL-3.0-only.txt \ + LICENSES/LicenseRef-KDE-Accepted-GPL.txt \ + LICENSES/LicenseRef-KDE-Accepted-LGPL.txt + +KF5_KARCHIVE_DEPENDENCIES = kf5-extra-cmake-modules qt5base +KF5_KARCHIVE_INSTALL_STAGING = YES + +# Uses __atomic_fetch_add_4 +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +KF5_KARCHIVE_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-latomic +endif + +$(eval $(cmake-package)) diff --git a/package/kf5-kauth/Config.in b/package/kf5-kauth/Config.in new file mode 100644 index 0000000000000000000000000000000000000000..b22c5b5cb51a4c03cb2bba265b42b1f0687f3855 --- /dev/null +++ b/package/kf5-kauth/Config.in @@ -0,0 +1,18 @@ +config BR2_PACKAGE_KF5_KAUTH + bool "kf5-kauth" + depends on BR2_PACKAGE_PARTED + select BR2_PACKAGE_QT5BASE_DBUS + select BR2_PACKAGE_KF5_EXTRA_CMAKE_MODULES + help + KF5 is a set of Qt framework addons, extending Qt in various + ways, not only restricted in helping integration in KDE. + + This package contains the Kauth bindings from the + KF5 project. + + https://api.kde.org/frameworks/kauth/html/index.html + +comment "kf5-kauth needs toolchain w/ threads" + depends on BR2_USE_MMU + depends on BR2_PACKAGE_MODEM_MANAGER + depends on !BR2_TOOLCHAIN_HAS_THREADS diff --git a/package/kf5-kauth/kf5-kauth.mk b/package/kf5-kauth/kf5-kauth.mk new file mode 100644 index 0000000000000000000000000000000000000000..311aaebd1ad74659b5b9857c82d4654da3e8bc07 --- /dev/null +++ b/package/kf5-kauth/kf5-kauth.mk @@ -0,0 +1,30 @@ +################################################################################ +# +# kf5-kauth +# +################################################################################ + +KF5_KAUTH_VERSION = $(KF5_VERSION) +KF5_KAUTH_SITE = $(KF5_SITE) +KF5_KAUTH_SOURCE = kauth-$(KF5_KAUTH_VERSION).tar.xz +KF5_KAUTH_LICENSE = \ + LGPL-2.1 or LGPL-3.0 or LicenseRef-KDE-Accepted-LGPL (library), \ + GPL-2.0 or GPL-3.0 or LicenseRef-KDE-Accepted-GPL (autotests, examples) + +KF5_KAUTH_LICENSE_FILES = \ + LICENSES/GPL-2.0-only.txt \ + LICENSES/GPL-3.0-only.txt \ + LICENSES/LGPL-2.1-only.txt \ + LICENSES/LGPL-3.0-only.txt \ + LICENSES/LicenseRef-KDE-Accepted-GPL.txt \ + LICENSES/LicenseRef-KDE-Accepted-LGPL.txt + +KF5_KAUTH_DEPENDENCIES = kf5-extra-cmake-modules qt5base +KF5_KAUTH_INSTALL_STAGING = YES + +# Uses __atomic_fetch_add_4 +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +KF5_KAUTH_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-latomic +endif + +$(eval $(cmake-package)) diff --git a/package/kf5-kcodecs/Config.in b/package/kf5-kcodecs/Config.in new file mode 100644 index 0000000000000000000000000000000000000000..ef57c18003561204b88800bcc1ea8814e2e01998 --- /dev/null +++ b/package/kf5-kcodecs/Config.in @@ -0,0 +1,17 @@ +config BR2_PACKAGE_KF5_KCODECS + bool "kf5-kcodecs" + select BR2_PACKAGE_QT5BASE_DBUS + select BR2_PACKAGE_KF5_EXTRA_CMAKE_MODULES + help + KF5 is a set of Qt framework addons, extending Qt in various + ways, not only restricted in helping integration in KDE. + + This package contains the kcodecs bindings from the + KF5 project. + + https://api.kde.org/frameworks/kcodecs/html/index.html + +comment "kf5-kcodecs needs toolchain w/ threads" + depends on BR2_USE_MMU + depends on BR2_PACKAGE_MODEM_MANAGER + depends on !BR2_TOOLCHAIN_HAS_THREADS diff --git a/package/kf5-kcodecs/kf5-kcodecs.mk b/package/kf5-kcodecs/kf5-kcodecs.mk new file mode 100644 index 0000000000000000000000000000000000000000..67f642f59cae7a52e822940b9b33931def4c305c --- /dev/null +++ b/package/kf5-kcodecs/kf5-kcodecs.mk @@ -0,0 +1,30 @@ +################################################################################ +# +# kf5-kcodecs +# +################################################################################ + +KF5_KCODECS_VERSION = $(KF5_VERSION) +KF5_KCODECS_SITE = $(KF5_SITE) +KF5_KCODECS_SOURCE = kcodecs-$(KF5_KCODECS_VERSION).tar.xz +KF5_KCODECS_LICENSE = \ + LGPL-2.1 or LGPL-3.0 or LicenseRef-KDE-Accepted-LGPL (library), \ + GPL-2.0 or GPL-3.0 or LicenseRef-KDE-Accepted-GPL (autotests, examples) + +KF5_KCODECS_LICENSE_FILES = \ + LICENSES/GPL-2.0-only.txt \ + LICENSES/GPL-3.0-only.txt \ + LICENSES/LGPL-2.1-only.txt \ + LICENSES/LGPL-3.0-only.txt \ + LICENSES/LicenseRef-KDE-Accepted-GPL.txt \ + LICENSES/LicenseRef-KDE-Accepted-LGPL.txt + +KF5_KCODECS_DEPENDENCIES = kf5-extra-cmake-modules qt5base +KF5_KCODECS_INSTALL_STAGING = YES + +# Uses __atomic_fetch_add_4 +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +KF5_KCODECS_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-latomic +endif + +$(eval $(cmake-package)) diff --git a/package/kf5-kconfig/Config.in b/package/kf5-kconfig/Config.in new file mode 100644 index 0000000000000000000000000000000000000000..453eaa99dd05c72f08e6bd4f4eea414da929cf73 --- /dev/null +++ b/package/kf5-kconfig/Config.in @@ -0,0 +1,17 @@ +config BR2_PACKAGE_KF5_KCONFIG + bool "kf5-kconfig" + select BR2_PACKAGE_QT5BASE_DBUS + select BR2_PACKAGE_KF5_EXTRA_CMAKE_MODULES + help + KF5 is a set of Qt framework addons, extending Qt in various + ways, not only restricted in helping integration in KDE. + + This package contains the Kconfig bindings from the + KF5 project. + + https://api.kde.org/frameworks/kconfig/html/index.html + +comment "kf5-kconfig needs toolchain w/ threads" + depends on BR2_USE_MMU + depends on BR2_PACKAGE_MODEM_MANAGER + depends on !BR2_TOOLCHAIN_HAS_THREADS diff --git a/package/kf5-kconfig/kf5-config.mk b/package/kf5-kconfig/kf5-config.mk new file mode 100644 index 0000000000000000000000000000000000000000..10977f5f34468edfcf61f8f6a00fed5c48ade98f --- /dev/null +++ b/package/kf5-kconfig/kf5-config.mk @@ -0,0 +1,30 @@ +################################################################################ +# +# kf5-kconfig +# +################################################################################ + +KF5_KCONFIG_VERSION = $(KF5_VERSION) +KF5_KCONFIG_SITE = $(KF5_SITE) +KF5_KCONFIG_SOURCE = kconfig-$(KF5_KCONFIG_VERSION).tar.xz +KF5_KCONFIG_LICENSE = \ + LGPL-2.1 or LGPL-3.0 or LicenseRef-KDE-Accepted-LGPL (library), \ + GPL-2.0 or GPL-3.0 or LicenseRef-KDE-Accepted-GPL (autotests, examples) + +KF5_KCONFIG_LICENSE_FILES = \ + LICENSES/GPL-2.0-only.txt \ + LICENSES/GPL-3.0-only.txt \ + LICENSES/LGPL-2.1-only.txt \ + LICENSES/LGPL-3.0-only.txt \ + LICENSES/LicenseRef-KDE-Accepted-GPL.txt \ + LICENSES/LicenseRef-KDE-Accepted-LGPL.txt + +KF5_KCONFIG_DEPENDENCIES = kf5-extra-cmake-modules qt5base +KF5_KCONFIG_INSTALL_STAGING = YES + +# Uses __atomic_fetch_add_4 +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +KF5_KCONFIG_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-latomic +endif + +$(eval $(cmake-package)) diff --git a/package/kf5-kconfigwidgets/Config.in b/package/kf5-kconfigwidgets/Config.in new file mode 100644 index 0000000000000000000000000000000000000000..d5dc13c26d49cf8b8df0c22fea2d7c53d30d7770 --- /dev/null +++ b/package/kf5-kconfigwidgets/Config.in @@ -0,0 +1,21 @@ +config BR2_PACKAGE_KF5_KCONFIGWIDGETS + bool "kf5-kconfigwidgets" + select BR2_PACKAGE_QT5BASE_DBUS + select BR2_PACKAGE_KF5_EXTRA_CMAKE_MODULES + select BR2_PACKAGE_KF5_KAUTH + select BR2_PACKAGE_KF5_KCODECS + select BR2_PACKAGE_KF5_KGUIADDONS + select BR2_PACKAGE_KF5_KWIDGETSADDONS + help + KF5 is a set of Qt framework addons, extending Qt in various + ways, not only restricted in helping integration in KDE. + + This package contains the Kconfigwidgets bindings from the + KF5 project. + + https://api.kde.org/frameworks/kconfigwidgets/html/index.html + +comment "kf5-kconfigwidgets needs toolchain w/ threads" + depends on BR2_USE_MMU + depends on BR2_PACKAGE_MODEM_MANAGER + depends on !BR2_TOOLCHAIN_HAS_THREADS diff --git a/package/kf5-kconfigwidgets/kf5-kconfigwidgets.mk b/package/kf5-kconfigwidgets/kf5-kconfigwidgets.mk new file mode 100644 index 0000000000000000000000000000000000000000..ab8dfc0c3256ec47a2dd828019395862e4cd8cfc --- /dev/null +++ b/package/kf5-kconfigwidgets/kf5-kconfigwidgets.mk @@ -0,0 +1,30 @@ +################################################################################ +# +# kf5-kconfigwidgets +# +################################################################################ + +KF5_KCONFIGWIDGETS_VERSION = $(KF5_VERSION) +KF5_KCONFIGWIDGETS_SITE = $(KF5_SITE) +KF5_KCONFIGWIDGETS_SOURCE = kconfigwidgets-$(KF5_KCONFIGWIDGETS_VERSION).tar.xz +KF5_KCONFIGWIDGETS_LICENSE = \ + LGPL-2.1 or LGPL-3.0 or LicenseRef-KDE-Accepted-LGPL (library), \ + GPL-2.0 or GPL-3.0 or LicenseRef-KDE-Accepted-GPL (autotests, examples) + +KF5_KCONFIGWIDGETS_LICENSE_FILES = \ + LICENSES/GPL-2.0-only.txt \ + LICENSES/GPL-3.0-only.txt \ + LICENSES/LGPL-2.1-only.txt \ + LICENSES/LGPL-3.0-only.txt \ + LICENSES/LicenseRef-KDE-Accepted-GPL.txt \ + LICENSES/LicenseRef-KDE-Accepted-LGPL.txt + +KF5_KCONFIGWIDGETS_DEPENDENCIES = kf5-extra-cmake-modules qt5base kf5-kauth kf5-kcodecs kf5-kguiaddons kf5-kwidgetsaddons +KF5_KCONFIGWIDGETS_INSTALL_STAGING = YES + +# Uses __atomic_fetch_add_4 +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +KF5_KCONFIGWIDGETS_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-latomic -DBUILD_DESIGNERPLUGIN=OFF +endif + +$(eval $(cmake-package)) diff --git a/package/kf5-kcrash/Config.in b/package/kf5-kcrash/Config.in new file mode 100644 index 0000000000000000000000000000000000000000..ab886ef40d1d9409c2903ebe3d8154619dc06d7d --- /dev/null +++ b/package/kf5-kcrash/Config.in @@ -0,0 +1,19 @@ +config BR2_PACKAGE_KF5_KCRASH + bool "kf5-kcrash" + select BR2_PACKAGE_QT5BASE_DBUS + select BR2_PACKAGE_KF5_EXTRA_CMAKE_MODULES + select BR2_PACKAGE_KF5_KWINDOWSYSTEM + select BR2_PACKAGE_QT5X11EXTRAS + help + KF5 is a set of Qt framework addons, extending Qt in various + ways, not only restricted in helping integration in KDE. + + This package contains the kcrash bindings from the + KF5 project. + + https://api.kde.org/frameworks/kcrash/html/index.html + +comment "kf5-kcrash needs toolchain w/ threads" + depends on BR2_USE_MMU + depends on BR2_PACKAGE_MODEM_MANAGER + depends on !BR2_TOOLCHAIN_HAS_THREADS diff --git a/package/kf5-kcrash/kf5-kcrash.mk b/package/kf5-kcrash/kf5-kcrash.mk new file mode 100644 index 0000000000000000000000000000000000000000..8956fdf81ea2a3bb670d12342f835dde58c33003 --- /dev/null +++ b/package/kf5-kcrash/kf5-kcrash.mk @@ -0,0 +1,30 @@ +################################################################################ +# +# kf5-kcrash +# +################################################################################ + +KF5_KCRASH_VERSION = $(KF5_VERSION) +KF5_KCRASH_SITE = $(KF5_SITE) +KF5_KCRASH_SOURCE = kcrash-$(KF5_KCRASH_VERSION).tar.xz +KF5_KCRASH_LICENSE = \ + LGPL-2.1 or LGPL-3.0 or LicenseRef-KDE-Accepted-LGPL (library), \ + GPL-2.0 or GPL-3.0 or LicenseRef-KDE-Accepted-GPL (autotests, examples) + +KF5_KCRASH_LICENSE_FILES = \ + LICENSES/GPL-2.0-only.txt \ + LICENSES/GPL-3.0-only.txt \ + LICENSES/LGPL-2.1-only.txt \ + LICENSES/LGPL-3.0-only.txt \ + LICENSES/LicenseRef-KDE-Accepted-GPL.txt \ + LICENSES/LicenseRef-KDE-Accepted-LGPL.txt + +KF5_KCRASH_DEPENDENCIES = kf5-extra-cmake-modules qt5base qt5x11extras kf5-kwindowsystem +KF5_KCRASH_INSTALL_STAGING = YES + +# Uses __atomic_fetch_add_4 +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +KF5_KCRASH_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-latomic +endif + +$(eval $(cmake-package)) diff --git a/package/kf5-kdbusaddons/Config.in b/package/kf5-kdbusaddons/Config.in new file mode 100644 index 0000000000000000000000000000000000000000..c69715ee93a6c0925b33c9077e494727dd7d9108 --- /dev/null +++ b/package/kf5-kdbusaddons/Config.in @@ -0,0 +1,17 @@ +config BR2_PACKAGE_KF5_KDBUSADDONS + bool "kf5-kdbusaddons" + select BR2_PACKAGE_QT5BASE_DBUS + select BR2_PACKAGE_KF5_EXTRA_CMAKE_MODULES + help + KF5 is a set of Qt framework addons, extending Qt in various + ways, not only restricted in helping integration in KDE. + + This package contains the kdbusaddons bindings from the + KF5 project. + + https://api.kde.org/frameworks/kdbusaddons/html/index.html + +comment "kf5-kdbusaddons needs toolchain w/ threads" + depends on BR2_USE_MMU + depends on BR2_PACKAGE_MODEM_MANAGER + depends on !BR2_TOOLCHAIN_HAS_THREADS diff --git a/package/kf5-kdbusaddons/kf5-kdbusaddons.mk b/package/kf5-kdbusaddons/kf5-kdbusaddons.mk new file mode 100644 index 0000000000000000000000000000000000000000..e4875d0616818adb3e08bdff975f397931a91505 --- /dev/null +++ b/package/kf5-kdbusaddons/kf5-kdbusaddons.mk @@ -0,0 +1,30 @@ +################################################################################ +# +# kf5-kdbusaddons +# +################################################################################ + +KF5_KDBUSADDONS_VERSION = $(KF5_VERSION) +KF5_KDBUSADDONS_SITE = $(KF5_SITE) +KF5_KDBUSADDONS_SOURCE = kdbusaddons-$(KF5_KDBUSADDONS_VERSION).tar.xz +KF5_KDBUSADDONS_LICENSE = \ + LGPL-2.1 or LGPL-3.0 or LicenseRef-KDE-Accepted-LGPL (library), \ + GPL-2.0 or GPL-3.0 or LicenseRef-KDE-Accepted-GPL (autotests, examples) + +KF5_KDBUSADDONS_LICENSE_FILES = \ + LICENSES/GPL-2.0-only.txt \ + LICENSES/GPL-3.0-only.txt \ + LICENSES/LGPL-2.1-only.txt \ + LICENSES/LGPL-3.0-only.txt \ + LICENSES/LicenseRef-KDE-Accepted-GPL.txt \ + LICENSES/LicenseRef-KDE-Accepted-LGPL.txt + +KF5_KDBUSADDONS_DEPENDENCIES = kf5-extra-cmake-modules qt5base +KF5_KDBUSADDONS_INSTALL_STAGING = YES + +# Uses __atomic_fetch_add_4 +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +KF5_KDBUSADDONS_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-latomic +endif + +$(eval $(cmake-package)) diff --git a/package/kf5-kdoctools/Config.in b/package/kf5-kdoctools/Config.in new file mode 100644 index 0000000000000000000000000000000000000000..874bc3bdc5c647b2836fa548c064d32894f7a0cd --- /dev/null +++ b/package/kf5-kdoctools/Config.in @@ -0,0 +1,20 @@ +config BR2_PACKAGE_KF5_KDOCTOOLS + bool "kf5-kguiaddons" + select BR2_PACKAGE_QT5BASE_DBUS + select BR2_PACKAGE_KF5_EXTRA_CMAKE_MODULES + select BR2_PACKAGE_LIBXML2 + select BR2_PACKAGE_LIBXSLT + depends on BR2_PACKAGE_PERL_URI + help + KF5 is a set of Qt framework addons, extending Qt in various + ways, not only restricted in helping integration in KDE. + + This package contains the kguiaddons bindings from the + KF5 project. + + https://api.kde.org/frameworks/kguiaddons/html/index.html + +comment "kf5-kguiaddons needs toolchain w/ threads" + depends on BR2_USE_MMU + depends on BR2_PACKAGE_MODEM_MANAGER + depends on !BR2_TOOLCHAIN_HAS_THREADS diff --git a/package/kf5-kdoctools/kf5-kdoctools.mk b/package/kf5-kdoctools/kf5-kdoctools.mk new file mode 100644 index 0000000000000000000000000000000000000000..b699d9fc38013ff01dc3a608aff950a8ea4fe749 --- /dev/null +++ b/package/kf5-kdoctools/kf5-kdoctools.mk @@ -0,0 +1,30 @@ +################################################################################ +# +# kf5-kdoctools +# +################################################################################ + +KF5_KDOCTOOLS_VERSION = $(KF5_VERSION) +KF5_KDOCTOOLS_SITE = $(KF5_SITE) +KF5_KDOCTOOLS_SOURCE = kdoctools-$(KF5_KDOCTOOLS_VERSION).tar.xz +KF5_KDOCTOOLS_LICENSE = \ + LGPL-2.1 or LGPL-3.0 or LicenseRef-KDE-Accepted-LGPL (library), \ + GPL-2.0 or GPL-3.0 or LicenseRef-KDE-Accepted-GPL (autotests, examples) + +KF5_KDOCTOOLS_LICENSE_FILES = \ + LICENSES/GPL-2.0-only.txt \ + LICENSES/GPL-3.0-only.txt \ + LICENSES/LGPL-2.1-only.txt \ + LICENSES/LGPL-3.0-only.txt \ + LICENSES/LicenseRef-KDE-Accepted-GPL.txt \ + LICENSES/LicenseRef-KDE-Accepted-LGPL.txt + +KF5_KDOCTOOLS_DEPENDENCIES = kf5-extra-cmake-modules qt5base libxml2 libxslt perl-uri +KF5_KDOCTOOLS_INSTALL_STAGING = YES + +# Uses __atomic_fetch_add_4 +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +KF5_KDOCTOOLS_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-latomic +endif + +$(eval $(cmake-package)) diff --git a/package/kf5-kguiaddons/Config.in b/package/kf5-kguiaddons/Config.in new file mode 100644 index 0000000000000000000000000000000000000000..c5efdf93663bb1cba7e009cc5a96560a1a78eb6b --- /dev/null +++ b/package/kf5-kguiaddons/Config.in @@ -0,0 +1,17 @@ +config BR2_PACKAGE_KF5_KGUIADDONS + bool "kf5-kguiaddons" + select BR2_PACKAGE_QT5BASE_DBUS + select BR2_PACKAGE_KF5_EXTRA_CMAKE_MODULES + help + KF5 is a set of Qt framework addons, extending Qt in various + ways, not only restricted in helping integration in KDE. + + This package contains the kguiaddons bindings from the + KF5 project. + + https://api.kde.org/frameworks/kguiaddons/html/index.html + +comment "kf5-kguiaddons needs toolchain w/ threads" + depends on BR2_USE_MMU + depends on BR2_PACKAGE_MODEM_MANAGER + depends on !BR2_TOOLCHAIN_HAS_THREADS diff --git a/package/kf5-kguiaddons/kf5-kguiaddons.mk b/package/kf5-kguiaddons/kf5-kguiaddons.mk new file mode 100644 index 0000000000000000000000000000000000000000..6422534d1fe7665c6835df7051c59b6a04399f26 --- /dev/null +++ b/package/kf5-kguiaddons/kf5-kguiaddons.mk @@ -0,0 +1,30 @@ +################################################################################ +# +# kf5-kguiaddons +# +################################################################################ + +KF5_KGUIADDONS_VERSION = $(KF5_VERSION) +KF5_KGUIADDONS_SITE = $(KF5_SITE) +KF5_KGUIADDONS_SOURCE = kguiaddons-$(KF5_KGUIADDONS_VERSION).tar.xz +KF5_KGUIADDONS_LICENSE = \ + LGPL-2.1 or LGPL-3.0 or LicenseRef-KDE-Accepted-LGPL (library), \ + GPL-2.0 or GPL-3.0 or LicenseRef-KDE-Accepted-GPL (autotests, examples) + +KF5_KGUIADDONS_LICENSE_FILES = \ + LICENSES/GPL-2.0-only.txt \ + LICENSES/GPL-3.0-only.txt \ + LICENSES/LGPL-2.1-only.txt \ + LICENSES/LGPL-3.0-only.txt \ + LICENSES/LicenseRef-KDE-Accepted-GPL.txt \ + LICENSES/LicenseRef-KDE-Accepted-LGPL.txt + +KF5_KGUIADDONS_DEPENDENCIES = kf5-extra-cmake-modules qt5base +KF5_KGUIADDONS_INSTALL_STAGING = YES + +# Uses __atomic_fetch_add_4 +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +KF5_KGUIADDONS_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-latomic -DWITH_WAYLAND=OFF +endif + +$(eval $(cmake-package)) diff --git a/package/kf5-ki18n/Config.in b/package/kf5-ki18n/Config.in new file mode 100644 index 0000000000000000000000000000000000000000..658cda610bfae6fa27bf9fd22eb40bf59434ba60 --- /dev/null +++ b/package/kf5-ki18n/Config.in @@ -0,0 +1,17 @@ +config BR2_PACKAGE_KF5_KI18N + bool "kf5-ki18n" + select BR2_PACKAGE_QT5BASE_DBUS + select BR2_PACKAGE_KF5_EXTRA_CMAKE_MODULES + help + KF5 is a set of Qt framework addons, extending Qt in various + ways, not only restricted in helping integration in KDE. + + This package contains the Kparts bindings from the + KF5 project. + + https://api.kde.org/frameworks/kparts/html/index.html + +comment "kf5-kpart needs toolchain w/ threads" + depends on BR2_USE_MMU + depends on BR2_PACKAGE_MODEM_MANAGER + depends on !BR2_TOOLCHAIN_HAS_THREADS diff --git a/package/kf5-ki18n/kf5-ki18n.mk b/package/kf5-ki18n/kf5-ki18n.mk new file mode 100644 index 0000000000000000000000000000000000000000..42ab0ac66c76e259701e1c1e2980ad1d3ea52711 --- /dev/null +++ b/package/kf5-ki18n/kf5-ki18n.mk @@ -0,0 +1,30 @@ +################################################################################ +# +# kf5-ki18n +# +################################################################################ + +KF5_KI18N_VERSION = $(KF5_VERSION) +KF5_KI18N_SITE = $(KF5_SITE) +KF5_KI18N_SOURCE = ki18n-$(KF5_KI18N_VERSION).tar.xz +KF5_KI18N_LICENSE = \ + LGPL-2.1 or LGPL-3.0 or LicenseRef-KDE-Accepted-LGPL (library), \ + GPL-2.0 or GPL-3.0 or LicenseRef-KDE-Accepted-GPL (autotests, examples) + +KF5_KI18N_LICENSE_FILES = \ + LICENSES/GPL-2.0-only.txt \ + LICENSES/GPL-3.0-only.txt \ + LICENSES/LGPL-2.1-only.txt \ + LICENSES/LGPL-3.0-only.txt \ + LICENSES/LicenseRef-KDE-Accepted-GPL.txt \ + LICENSES/LicenseRef-KDE-Accepted-LGPL.txt + +KF5_KI18N_DEPENDENCIES = kf5-extra-cmake-modules qt5base +KF5_KI18N_INSTALL_STAGING = YES + +# Uses __atomic_fetch_add_4 +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +KF5_KI18N_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-latomic +endif + +$(eval $(cmake-package)) diff --git a/package/kf5-kiconthemes/Config.in b/package/kf5-kiconthemes/Config.in new file mode 100644 index 0000000000000000000000000000000000000000..97fc0f11770308c9c49753e7035811ae44a3bbd5 --- /dev/null +++ b/package/kf5-kiconthemes/Config.in @@ -0,0 +1,20 @@ +config BR2_PACKAGE_KF5_KICONTHEMES + bool "kf5-kiconthemes" + depends on BR2_PACKAGE_PARTED + select BR2_PACKAGE_QT5BASE_DBUS + select BR2_PACKAGE_KF5_EXTRA_CMAKE_MODULES + select BR2_PACKAGE_KF5_KCONFIGWIDGETS + select BR2_PACKAGE_KF5_KITEMVIEWS + help + KF5 is a set of Qt framework addons, extending Qt in various + ways, not only restricted in helping integration in KDE. + + This package contains the Kiconthemes bindings from the + KF5 project. + + https://api.kde.org/frameworks/kiconthemes/html/index.html + +comment "kf5-kpart needs toolchain w/ threads" + depends on BR2_USE_MMU + depends on BR2_PACKAGE_MODEM_MANAGER + depends on !BR2_TOOLCHAIN_HAS_THREADS diff --git a/package/kf5-kiconthemes/kf5-kiconthemes.mk b/package/kf5-kiconthemes/kf5-kiconthemes.mk new file mode 100644 index 0000000000000000000000000000000000000000..103a0f12f4918a2812a49d15829ab05406411c96 --- /dev/null +++ b/package/kf5-kiconthemes/kf5-kiconthemes.mk @@ -0,0 +1,30 @@ +################################################################################ +# +# kf5-kiconthmes +# +################################################################################ + +KF5_KICONTHEMES_VERSION = $(KF5_VERSION) +KF5_KICONTHEMES_SITE = $(KF5_SITE) +KF5_KICONTHEMES_SOURCE = kiconthemes-$(KF5_KICONTHEMES_VERSION).tar.xz +KF5_KICONTHEMES_LICENSE = \ + LGPL-2.1 or LGPL-3.0 or LicenseRef-KDE-Accepted-LGPL (library), \ + GPL-2.0 or GPL-3.0 or LicenseRef-KDE-Accepted-GPL (autotests, examples) + +KF5_KICONTHEMES_LICENSE_FILES = \ + LICENSES/GPL-2.0-only.txt \ + LICENSES/GPL-3.0-only.txt \ + LICENSES/LGPL-2.1-only.txt \ + LICENSES/LGPL-3.0-only.txt \ + LICENSES/LicenseRef-KDE-Accepted-GPL.txt \ + LICENSES/LicenseRef-KDE-Accepted-LGPL.txt + +KF5_KICONTHEMES_DEPENDENCIES = kf5-extra-cmake-modules qt5base kf5-karchive kf5-kconfigwidgets kf5-kitemviews +KF5_KICONTHEMES_INSTALL_STAGING = YES + +# Uses __atomic_fetch_add_4 +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +KF5_KICONTHEMES_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-latomic -DBUILD_DESIGNERPLUGIN=OFF +endif + +$(eval $(cmake-package)) diff --git a/package/kf5-kio/Config.in b/package/kf5-kio/Config.in new file mode 100644 index 0000000000000000000000000000000000000000..ae43a5840510e965de6431f8d0c0b6db31534f31 --- /dev/null +++ b/package/kf5-kio/Config.in @@ -0,0 +1,22 @@ +config BR2_PACKAGE_KF5_KIO + bool "kf5-kio" + select BR2_PACKAGE_QT5BASE_DBUS + select BR2_PACKAGE_KF5_EXTRA_CMAKE_MODULES + select BR2_PACKAGE_KF5_KSERVICE + select BR2_PACKAGE_KF5_SOLID + select BR2_PACKAGE_UTIL_LINUX_LIBMOUNT + select BR2_PACKAGE_UTIL_LINUX + select BR2_PACKAGE_ACL + help + KF5 is a set of Qt framework addons, extending Qt in various + ways, not only restricted in helping integration in KDE. + + This package contains the kio bindings from the + KF5 project. + + https://api.kde.org/frameworks/kio/html/index.html + +comment "kf5-kio needs toolchain w/ threads" + depends on BR2_USE_MMU + depends on BR2_PACKAGE_MODEM_MANAGER + depends on !BR2_TOOLCHAIN_HAS_THREADS diff --git a/package/kf5-kio/kf5-kio.mk b/package/kf5-kio/kf5-kio.mk new file mode 100644 index 0000000000000000000000000000000000000000..1363ccfc853e867417edcb5cf013eace443845dd --- /dev/null +++ b/package/kf5-kio/kf5-kio.mk @@ -0,0 +1,30 @@ +################################################################################ +# +# kf5-kio +# +################################################################################ + +KF5_KIO_VERSION = $(KF5_VERSION) +KF5_KIO_SITE = $(KF5_SITE) +KF5_KIO_SOURCE = kio-$(KF5_KIO_VERSION).tar.xz +KF5_KIO_LICENSE = \ + LGPL-2.1 or LGPL-3.0 or LicenseRef-KDE-Accepted-LGPL (library), \ + GPL-2.0 or GPL-3.0 or LicenseRef-KDE-Accepted-GPL (autotests, examples) + +KF5_KIO_LICENSE_FILES = \ + LICENSES/GPL-2.0-only.txt \ + LICENSES/GPL-3.0-only.txt \ + LICENSES/LGPL-2.1-only.txt \ + LICENSES/LGPL-3.0-only.txt \ + LICENSES/LicenseRef-KDE-Accepted-GPL.txt \ + LICENSES/LicenseRef-KDE-Accepted-LGPL.txt + +KF5_KIO_DEPENDENCIES = kf5-extra-cmake-modules qt5base kf5-kservice kf5-solid util-linux acl +KF5_KIO_INSTALL_STAGING = YES + +# Uses __atomic_fetch_add_4 +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +KF5_KIO_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-latomic -DKIOCORE_ONLY=ON -BUILD_DESIGNERPLUGIN=OFF +endif + +$(eval $(cmake-package)) diff --git a/package/kf5-kitemviews/Config.in b/package/kf5-kitemviews/Config.in new file mode 100644 index 0000000000000000000000000000000000000000..96586729e19a286aa8179128152bb5de4df92a01 --- /dev/null +++ b/package/kf5-kitemviews/Config.in @@ -0,0 +1,17 @@ +config BR2_PACKAGE_KF5_KITEMVIEWS + bool "kf5-kitemviews" + select BR2_PACKAGE_QT5BASE_DBUS + select BR2_PACKAGE_KF5_EXTRA_CMAKE_MODULES + help + KF5 is a set of Qt framework addons, extending Qt in various + ways, not only restricted in helping integration in KDE. + + This package contains the kitemviews bindings from the + KF5 project. + + https://api.kde.org/frameworks/kitemviews/html/index.html + +comment "kf5-kitemviews needs toolchain w/ threads" + depends on BR2_USE_MMU + depends on BR2_PACKAGE_MODEM_MANAGER + depends on !BR2_TOOLCHAIN_HAS_THREADS diff --git a/package/kf5-kitemviews/kf5-kitemviews.mk b/package/kf5-kitemviews/kf5-kitemviews.mk new file mode 100644 index 0000000000000000000000000000000000000000..d086c2f44a21d83880c338329fdd17bce49ec6dd --- /dev/null +++ b/package/kf5-kitemviews/kf5-kitemviews.mk @@ -0,0 +1,30 @@ +################################################################################ +# +# kf5-kitemviews +# +################################################################################ + +KF5_KITEMVIEWS_VERSION = $(KF5_VERSION) +KF5_KITEMVIEWS_SITE = $(KF5_SITE) +KF5_KITEMVIEWS_SOURCE = kitemviews-$(KF5_KITEMVIEWS_VERSION).tar.xz +KF5_KITEMVIEWS_LICENSE = \ + LGPL-2.1 or LGPL-3.0 or LicenseRef-KDE-Accepted-LGPL (library), \ + GPL-2.0 or GPL-3.0 or LicenseRef-KDE-Accepted-GPL (autotests, examples) + +KF5_KITEMVIEWS_LICENSE_FILES = \ + LICENSES/GPL-2.0-only.txt \ + LICENSES/GPL-3.0-only.txt \ + LICENSES/LGPL-2.1-only.txt \ + LICENSES/LGPL-3.0-only.txt \ + LICENSES/LicenseRef-KDE-Accepted-GPL.txt \ + LICENSES/LicenseRef-KDE-Accepted-LGPL.txt + +KF5_KITEMVIEWS_DEPENDENCIES = kf5-extra-cmake-modules qt5base +KF5_KITEMVIEWS_INSTALL_STAGING = YES + +# Uses __atomic_fetch_add_4 +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +KF5_KITEMVIEWS_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-latomic -DBUILD_DESIGNERPLUGIN=OFF +endif + +$(eval $(cmake-package)) diff --git a/package/kf5-kparts/Config.in b/package/kf5-kparts/Config.in new file mode 100644 index 0000000000000000000000000000000000000000..502561897bb1f82e95d57f67e558b62db0bff51b --- /dev/null +++ b/package/kf5-kparts/Config.in @@ -0,0 +1,23 @@ +config BR2_PACKAGE_KF5_KPARTS + bool "kf5-kparts" + depends on BR2_PACKAGE_PARTED + select BR2_PACKAGE_QT5BASE_DBUS + select BR2_PACKAGE_KF5_EXTRA_CMAKE_MODULES + select BR2_PACKAGE_KF5_KCONFIG + select BR2_PACKAGE_KF5_KI18N + select BR2_PACKAGE_KF5_KICONTHEMES + select BR2_PACKAGE_KF5_KIO + select BR2_PACKAGE_KF5_KCRASH + help + KF5 is a set of Qt framework addons, extending Qt in various + ways, not only restricted in helping integration in KDE. + + This package contains the Kparts bindings from the + KF5 project. + + https://api.kde.org/frameworks/kparts/html/index.html + +comment "kf5-kpart needs toolchain w/ threads" + depends on BR2_USE_MMU + depends on BR2_PACKAGE_MODEM_MANAGER + depends on !BR2_TOOLCHAIN_HAS_THREADS diff --git a/package/kf5-kparts/kf5-kparts.mk b/package/kf5-kparts/kf5-kparts.mk new file mode 100644 index 0000000000000000000000000000000000000000..7b30fe2838a07760e40936610c74ddff6464444f --- /dev/null +++ b/package/kf5-kparts/kf5-kparts.mk @@ -0,0 +1,30 @@ +################################################################################ +# +# kf5-kparts +# +################################################################################ + +KF5_KPARTS_VERSION = $(KF5_VERSION) +KF5_KPARTS_SITE = $(KF5_SITE) +KF5_KPARTS_SOURCE = kparts-$(KF5_KPARTS_VERSION).tar.xz +KF5_KPARTS_LICENSE = \ + LGPL-2.1 or LGPL-3.0 or LicenseRef-KDE-Accepted-LGPL (library), \ + GPL-2.0 or GPL-3.0 or LicenseRef-KDE-Accepted-GPL (autotests, examples) + +KF5_KPARTS_LICENSE_FILES = \ + LICENSES/GPL-2.0-only.txt \ + LICENSES/GPL-3.0-only.txt \ + LICENSES/LGPL-2.1-only.txt \ + LICENSES/LGPL-3.0-only.txt \ + LICENSES/LicenseRef-KDE-Accepted-GPL.txt \ + LICENSES/LicenseRef-KDE-Accepted-LGPL.txt + +KF5_KPARTS_DEPENDENCIES = kf5-extra-cmake-modules qt5base parted kf5-kconfig kf5-ki18n kf5-kiconthemes kf5-kio kf5-kcrash +KF5_KPARTS_INSTALL_STAGING = YES + +# Uses __atomic_fetch_add_4 +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +KF5_KPARTS_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-latomic +endif + +$(eval $(cmake-package)) diff --git a/package/kf5-kservice/Config.in b/package/kf5-kservice/Config.in new file mode 100644 index 0000000000000000000000000000000000000000..1de00edf62cb36ec0893ec27c0464042d604f951 --- /dev/null +++ b/package/kf5-kservice/Config.in @@ -0,0 +1,18 @@ +config BR2_PACKAGE_KF5_KSERVICE + bool "kf5-kservice" + select BR2_PACKAGE_QT5BASE_DBUS + select BR2_PACKAGE_KF5_EXTRA_CMAKE_MODULES + select BR2_PACKAGE_KF5_KDBUSADDONS + help + KF5 is a set of Qt framework addons, extending Qt in various + ways, not only restricted in helping integration in KDE. + + This package contains the kservice bindings from the + KF5 project. + + https://api.kde.org/frameworks/kservice/html/index.html + +comment "kf5-kservice needs toolchain w/ threads" + depends on BR2_USE_MMU + depends on BR2_PACKAGE_MODEM_MANAGER + depends on !BR2_TOOLCHAIN_HAS_THREADS diff --git a/package/kf5-kservice/kf5-kservice.mk b/package/kf5-kservice/kf5-kservice.mk new file mode 100644 index 0000000000000000000000000000000000000000..6a39d9a2b70fd23b069c151992eac0033d0a7117 --- /dev/null +++ b/package/kf5-kservice/kf5-kservice.mk @@ -0,0 +1,32 @@ +################################################################################ +# +# kf5-kservice +# +################################################################################ + +KF5_KSERVICE_VERSION = $(KF5_VERSION) +KF5_KSERVICE_SITE = $(KF5_SITE) +KF5_KSERVICE_SOURCE = kservice-$(KF5_KSERVICE_VERSION).tar.xz +KF5_KSERVICE_LICENSE = \ + LGPL-2.1 or LGPL-3.0 or LicenseRef-KDE-Accepted-LGPL (library), \ + GPL-2.0 or GPL-3.0 or LicenseRef-KDE-Accepted-GPL (autotests, examples) + +KF5_KSERVICE_LICENSE_FILES = \ + LICENSES/GPL-2.0-only.txt \ + LICENSES/GPL-3.0-only.txt \ + LICENSES/LGPL-2.1-only.txt \ + LICENSES/LGPL-3.0-only.txt \ + LICENSES/LicenseRef-KDE-Accepted-GPL.txt \ + LICENSES/LicenseRef-KDE-Accepted-LGPL.txt + +KF5_KSERVICE_SUPPORTS_IN_SOURCE_BUILD = NO + +KF5_KSERVICE_DEPENDENCIES = kf5-extra-cmake-modules qt5base kf5-kdbusaddons +KF5_KSERVICE_INSTALL_STAGING = YES + +# Uses __atomic_fetch_add_4 +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +KF5_KSERVICE_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-latomic +endif + +$(eval $(cmake-package)) diff --git a/package/kf5-kwidgetsaddons/Config.in b/package/kf5-kwidgetsaddons/Config.in new file mode 100644 index 0000000000000000000000000000000000000000..0ee591b8486dc797116e5327b73e1125d8d6e5fe --- /dev/null +++ b/package/kf5-kwidgetsaddons/Config.in @@ -0,0 +1,18 @@ +config BR2_PACKAGE_KF5_KWIDGETSADDONS + bool "kf5-kwidgetsaddons" + select BR2_PACKAGE_QT5BASE_DBUS + select BR2_PACKAGE_KF5_EXTRA_CMAKE_MODULES + select BR2_PACKAGE_QT5TOOLS_UIPLUGIN + help + KF5 is a set of Qt framework addons, extending Qt in various + ways, not only restricted in helping integration in KDE. + + This package contains the kwidgetsaddons bindings from the + KF5 project. + + https://api.kde.org/frameworks/kwidgetsaddons/html/index.html + +comment "kf5-kwidgetsaddons needs toolchain w/ threads" + depends on BR2_USE_MMU + depends on BR2_PACKAGE_MODEM_MANAGER + depends on !BR2_TOOLCHAIN_HAS_THREADS diff --git a/package/kf5-kwidgetsaddons/kf5-kwidgetsaddons.mk b/package/kf5-kwidgetsaddons/kf5-kwidgetsaddons.mk new file mode 100644 index 0000000000000000000000000000000000000000..87ac879111e3129b90bdb22b0a069b5312e8228f --- /dev/null +++ b/package/kf5-kwidgetsaddons/kf5-kwidgetsaddons.mk @@ -0,0 +1,30 @@ +################################################################################ +# +# kf5-kwidgetsaddons +# +################################################################################ + +KF5_KWIDGETSADDONS_VERSION = $(KF5_VERSION) +KF5_KWIDGETSADDONS_SITE = $(KF5_SITE) +KF5_KWIDGETSADDONS_SOURCE = kwidgetsaddons-$(KF5_KWIDGETSADDONS_VERSION).tar.xz +KF5_KWIDGETSADDONS_LICENSE = \ + LGPL-2.1 or LGPL-3.0 or LicenseRef-KDE-Accepted-LGPL (library), \ + GPL-2.0 or GPL-3.0 or LicenseRef-KDE-Accepted-GPL (autotests, examples) + +KF5_KWIDGETSADDONS_LICENSE_FILES = \ + LICENSES/GPL-2.0-only.txt \ + LICENSES/GPL-3.0-only.txt \ + LICENSES/LGPL-2.1-only.txt \ + LICENSES/LGPL-3.0-only.txt \ + LICENSES/LicenseRef-KDE-Accepted-GPL.txt \ + LICENSES/LicenseRef-KDE-Accepted-LGPL.txt + +KF5_KWIDGETSADDONS_DEPENDENCIES = kf5-extra-cmake-modules qt5base qt5tools +KF5_KWIDGETSADDONS_INSTALL_STAGING = YES + +# Uses __atomic_fetch_add_4 +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +KF5_KWIDGETSADDONS_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-latomic -DBUILD_DESIGNERPLUGIN=OFF +endif + +$(eval $(cmake-package)) diff --git a/package/kf5-kwindowsystem/Config.in b/package/kf5-kwindowsystem/Config.in new file mode 100644 index 0000000000000000000000000000000000000000..e34185093a50d37957a9d3e4dde8c774a43ec725 --- /dev/null +++ b/package/kf5-kwindowsystem/Config.in @@ -0,0 +1,17 @@ +config BR2_PACKAGE_KF5_KWINDOWSYSTEM + bool "kf5-kwindowsystem" + select BR2_PACKAGE_QT5BASE_DBUS + select BR2_PACKAGE_KF5_EXTRA_CMAKE_MODULES + help + KF5 is a set of Qt framework addons, extending Qt in various + ways, not only restricted in helping integration in KDE. + + This package contains the kwindowsystem bindings from the + KF5 project. + + https://api.kde.org/frameworks/kwindowsystem/html/index.html + +comment "kf5-kwindowsystem needs toolchain w/ threads" + depends on BR2_USE_MMU + depends on BR2_PACKAGE_MODEM_MANAGER + depends on !BR2_TOOLCHAIN_HAS_THREADS diff --git a/package/kf5-kwindowsystem/kf5-kwindowsystem.mk b/package/kf5-kwindowsystem/kf5-kwindowsystem.mk new file mode 100644 index 0000000000000000000000000000000000000000..878b7b7d128ecc2b6a67890aa43abc7eafb3a328 --- /dev/null +++ b/package/kf5-kwindowsystem/kf5-kwindowsystem.mk @@ -0,0 +1,30 @@ +################################################################################ +# +# kf5-kwindowsystem +# +################################################################################ + +KF5_KWINDOWSYSTEM_VERSION = $(KF5_VERSION) +KF5_KWINDOWSYSTEM_SITE = $(KF5_SITE) +KF5_KWINDOWSYSTEM_SOURCE = kwindowsystem-$(KF5_KWINDOWSYSTEM_VERSION).tar.xz +KF5_KWINDOWSYSTEM_LICENSE = \ + LGPL-2.1 or LGPL-3.0 or LicenseRef-KDE-Accepted-LGPL (library), \ + GPL-2.0 or GPL-3.0 or LicenseRef-KDE-Accepted-GPL (autotests, examples) + +KF5_KWINDOWSYSTEM_LICENSE_FILES = \ + LICENSES/GPL-2.0-only.txt \ + LICENSES/GPL-3.0-only.txt \ + LICENSES/LGPL-2.1-only.txt \ + LICENSES/LGPL-3.0-only.txt \ + LICENSES/LicenseRef-KDE-Accepted-GPL.txt \ + LICENSES/LicenseRef-KDE-Accepted-LGPL.txt + +KF5_KWINDOWSYSTEM_DEPENDENCIES = kf5-extra-cmake-modules qt5base +KF5_KWINDOWSYSTEM_INSTALL_STAGING = YES + +# Uses __atomic_fetch_add_4 +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +KF5_KWINDOWSYSTEM_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-latomic +endif + +$(eval $(cmake-package)) diff --git a/package/kf5-solid/Config.in b/package/kf5-solid/Config.in new file mode 100644 index 0000000000000000000000000000000000000000..f58f3b4032e3b395ab5f3f58a84ffab01c865d5f --- /dev/null +++ b/package/kf5-solid/Config.in @@ -0,0 +1,17 @@ +config BR2_PACKAGE_KF5_SOLID + bool "kf5-solid" + select BR2_PACKAGE_QT5BASE_DBUS + select BR2_PACKAGE_KF5_EXTRA_CMAKE_MODULES + help + KF5 is a set of Qt framework addons, extending Qt in various + ways, not only restricted in helping integration in KDE. + + This package contains the solid bindings from the + KF5 project. + + https://api.kde.org/frameworks/solid/html/index.html + +comment "kf5-solid needs toolchain w/ threads" + depends on BR2_USE_MMU + depends on BR2_PACKAGE_MODEM_MANAGER + depends on !BR2_TOOLCHAIN_HAS_THREADS diff --git a/package/kf5-solid/kf5-solid.mk b/package/kf5-solid/kf5-solid.mk new file mode 100644 index 0000000000000000000000000000000000000000..2e3f9685c5c00a707f4cf9f177a4ba9eeba9e7c7 --- /dev/null +++ b/package/kf5-solid/kf5-solid.mk @@ -0,0 +1,30 @@ +################################################################################ +# +# kf5-solid +# +################################################################################ + +KF5_SOLID_VERSION = $(KF5_VERSION) +KF5_SOLID_SITE = $(KF5_SITE) +KF5_SOLID_SOURCE = solid-$(KF5_SOLID_VERSION).tar.xz +KF5_SOLID_LICENSE = \ + LGPL-2.1 or LGPL-3.0 or LicenseRef-KDE-Accepted-LGPL (library), \ + GPL-2.0 or GPL-3.0 or LicenseRef-KDE-Accepted-GPL (autotests, examples) + +KF5_SOLID_LICENSE_FILES = \ + LICENSES/GPL-2.0-only.txt \ + LICENSES/GPL-3.0-only.txt \ + LICENSES/LGPL-2.1-only.txt \ + LICENSES/LGPL-3.0-only.txt \ + LICENSES/LicenseRef-KDE-Accepted-GPL.txt \ + LICENSES/LicenseRef-KDE-Accepted-LGPL.txt + +KF5_SOLID_DEPENDENCIES = kf5-extra-cmake-modules qt5base +KF5_SOLID_INSTALL_STAGING = YES + +# Uses __atomic_fetch_add_4 +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +KF5_SOLID_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-latomic +endif + +$(eval $(cmake-package)) diff --git a/package/recalbox-romfs2/scripts/installroms.py b/package/recalbox-romfs2/scripts/installroms.py index a6650685ed9fd781fda367e0d07ddbba41b32798..2ef973dfb2b771aa0576af4ae72f57f9f6fbda2f 100644 --- a/package/recalbox-romfs2/scripts/installroms.py +++ b/package/recalbox-romfs2/scripts/installroms.py @@ -173,7 +173,7 @@ class InstallRoms: replacement = chunks[1 + holder.Properties.KeyboardEnum] elif chunks[0] == "MOUSE" and len(chunks) == 5: replacement = chunks[1 + holder.Properties.MouseEnum] - elif chunks[0] == "TYPE" and len(chunks) == 9: + elif chunks[0] == "TYPE" and len(chunks) == 10: replacement = chunks[1 + holder.Properties.TypeEnum] line = line.replace(line[start: stop + 1], replacement) diff --git a/package/recalbox-romfs2/scripts/systemholder.py b/package/recalbox-romfs2/scripts/systemholder.py index 851e0509b2b8d288ba115afca9c75765ede1d894..2032e7b493f38866e962b74b483d333253abd64e 100644 --- a/package/recalbox-romfs2/scripts/systemholder.py +++ b/package/recalbox-romfs2/scripts/systemholder.py @@ -17,6 +17,7 @@ class SystemHolder: "engine": 5, "port": 6, "fantasy": 7, + "other": 8, } __deviceRequirement: Dict[str, int] = { diff --git a/package/recalbox-romfs2/systems/installer/init/roms/.keep b/package/recalbox-romfs2/systems/installer/init/roms/.keep new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/package/recalbox-romfs2/systems/installer/init/roms/gamelist.xml b/package/recalbox-romfs2/systems/installer/init/roms/gamelist.xml new file mode 100644 index 0000000000000000000000000000000000000000..21afc4c02a822d6c05a6f5e1c8b5693109d60877 --- /dev/null +++ b/package/recalbox-romfs2/systems/installer/init/roms/gamelist.xml @@ -0,0 +1,14 @@ + + + + PC Windows + Skraper + ScreenScraper.fr + http://www.screenscraper.fr + + + ./installer.ini + Installer + Recalbox + + diff --git a/package/recalbox-romfs2/systems/installer/init/roms/installer.ini b/package/recalbox-romfs2/systems/installer/init/roms/installer.ini new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/package/recalbox-romfs2/systems/installer/system.ini b/package/recalbox-romfs2/systems/installer/system.ini new file mode 100644 index 0000000000000000000000000000000000000000..d84cb14e1af130b048a3238cc3e1c6bd8b3a9a42 --- /dev/null +++ b/package/recalbox-romfs2/systems/installer/system.ini @@ -0,0 +1,53 @@ +; =========================== +; installer +; =========================== + +; all keys can be overridden for a particular board using key. +; example: +; priority = 0 +; priority.rpi4 = 3 +; Complete sections may be overridden. In such cases, all key from the global section are ignored, +; you must redefine them all +; example +; [core.0] +; [core.0.rpi4] +; Board tags are defined by BR2_PACKAGE_RECALBOX_TARGET_ + +[system] +uuid = "0e0678c3-da71-4e09-8102-094ade32813b" +name = "installer" +fullname = "Installer" +theme.folder = "installer" +roms.folder = "%ROOT%/installer" +screenscraper.id = 0 +doc.link.fr = "https://wiki.recalbox.com/fr/other/installer" +doc.link.en = "https://wiki.recalbox.com/en/other/installer" +doc.link.es = "https://wiki.recalbox.com/es/other/installer" +port = 0 +readonly = 1 +downloader = 0 +icon.unicode = $ + +[properties] +type = other +device.pad = optional +device.keyboard = mandatory +device.mouse = mandatory +device.lightgun = no +release.date = "2024-07" +manufacturer = "Recalbox" +retroachievements = 0 +crt.multiresolution = 0 +crt.multiregion = 0 + +; Use [core.X] to specify other cores +[core.0] +package = BR2_PACKAGE_CALAMARES +priority = 0 +emulator = "emulator" +core = "core" +extensions = "ini" +netplay = 0 +softpatching = 0 +compatibility = high +speed = high diff --git a/package/recalbox-romfs2/systems/installer/upgrade/roms/.readme.placeholder b/package/recalbox-romfs2/systems/installer/upgrade/roms/.readme.placeholder new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/projects/configgen/configgen/emulatorlauncher.py b/projects/configgen/configgen/emulatorlauncher.py index fabe004d3b5120ea7165884eda7f623d2fad0166..d779829fa4bb29434cc8f85b07c969b8c40e4073 100644 --- a/projects/configgen/configgen/emulatorlauncher.py +++ b/projects/configgen/configgen/emulatorlauncher.py @@ -142,6 +142,10 @@ def getGenerator(emulator): module = __import__("configgen.generators.rb5000.rb5000Generator", fromlist=["RB5000Generator"]) generatorClass = getattr(module, "RB5000Generator") return generatorClass() + elif emulator == "installer": + module = __import__("configgen.generators.installer.installerGenerator", fromlist=["InstallerGenerator"]) + generatorClass = getattr(module, "InstallerGenerator") + return generatorClass() else: print("Missing generator for {}".format(emulator)) raise ValueError diff --git a/projects/configgen/configgen/generators/installer/__init__.py b/projects/configgen/configgen/generators/installer/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/projects/configgen/configgen/generators/installer/installerGenerator.py b/projects/configgen/configgen/generators/installer/installerGenerator.py new file mode 100644 index 0000000000000000000000000000000000000000..46c843d78bc843de5cec1cc5f01d8c97e6a3061e --- /dev/null +++ b/projects/configgen/configgen/generators/installer/installerGenerator.py @@ -0,0 +1,24 @@ +from configgen.Command import Command +import configgen.recalboxFiles as recalboxFiles +from configgen.Emulator import Emulator +from configgen.controllers.controller import ControllerPerPlayer +from configgen.generators.Generator import Generator +from configgen.settings.keyValueSettings import keyValueSettings + + +class InstallerGenerator(Generator): + def generate(self, system: Emulator, playersControllers: ControllerPerPlayer, recalboxOptions: keyValueSettings, args,) -> Command: + """ + Load, override keys and save back emulator's configuration file + This way, any modification is kept accross emulator launhes + """ + + commandArray = [ + recalboxFiles.recalboxBins[system.Emulator], + "-d" + ] + + if system.HasArgs: + commandArray.extend(system.Args) + + return Command(videomode=system.VideoMode, array=commandArray) diff --git a/projects/configgen/configgen/recalboxFiles.py b/projects/configgen/configgen/recalboxFiles.py index 90b8d26a3be282b085f7e5a957f17c3bb5092283..1b230093ff8769f8ec6f4e22dadfe75d3e21dd2c 100644 --- a/projects/configgen/configgen/recalboxFiles.py +++ b/projects/configgen/configgen/recalboxFiles.py @@ -55,6 +55,7 @@ recalboxBins =\ 'ti99sim' : '/usr/bin/ti99sim/ti99sim-sdl', 'vice' : '/usr/bin/x64', 'xroar' : '/usr/bin/xroar', + 'installer' : '/usr/bin/calamares', } diff --git a/projects/configgen/setup.py b/projects/configgen/setup.py index 12afc8a40964226dd7766a18abfb927202486438..2f58b99e2aa386850062262b71f7e1c8506de872 100644 --- a/projects/configgen/setup.py +++ b/projects/configgen/setup.py @@ -42,6 +42,7 @@ setup(name='recalbox-configgen', 'configgen.generators.duckstation', 'configgen.generators.rb5000', 'configgen.generators.sdlpop', + 'configgen.generators.installer', 'configgen.settings', 'configgen.utils'], scripts=['emulatorlauncher.py']