From 379d0333cd5cec51d03e226260f311cbffb0f1de Mon Sep 17 00:00:00 2001 From: Adrien Beudin Date: Sun, 21 Jul 2024 18:44:29 +0200 Subject: [PATCH 1/3] feat: add pc installer --- Config.in | 1 + configs/recalbox-x86_64_defconfig | 1 + package/calamares/Config.in | 16 ++ package/calamares/calamares.mk | 21 ++ package/calamares/settings.conf | 236 ++++++++++++++++++ .../recalbox-romfs2/scripts/installroms.py | 2 +- .../recalbox-romfs2/scripts/systemholder.py | 1 + .../systems/installer/init/roms/.keep | 0 .../systems/installer/init/roms/gamelist.xml | 14 ++ .../systems/installer/init/roms/installer.ini | 0 .../systems/installer/system.ini | 53 ++++ .../upgrade/roms/.readme.placeholder | 0 .../configgen/configgen/emulatorlauncher.py | 4 + .../generators/installer/__init__.py | 0 .../installer/installerGenerator.py | 24 ++ projects/configgen/configgen/recalboxFiles.py | 1 + 16 files changed, 373 insertions(+), 1 deletion(-) create mode 100644 package/calamares/Config.in create mode 100644 package/calamares/calamares.mk create mode 100644 package/calamares/settings.conf create mode 100644 package/recalbox-romfs2/systems/installer/init/roms/.keep create mode 100644 package/recalbox-romfs2/systems/installer/init/roms/gamelist.xml create mode 100644 package/recalbox-romfs2/systems/installer/init/roms/installer.ini create mode 100644 package/recalbox-romfs2/systems/installer/system.ini create mode 100644 package/recalbox-romfs2/systems/installer/upgrade/roms/.readme.placeholder create mode 100644 projects/configgen/configgen/generators/installer/__init__.py create mode 100644 projects/configgen/configgen/generators/installer/installerGenerator.py diff --git a/Config.in b/Config.in index 7b3dcecf85..68e45849e9 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 3a5d48c2d4..4e8d2f78dc 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 0000000000..9325a96e05 --- /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 0000000000..4ed0b82e6a --- /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 + +CALAMARES_CONF_OPTS = -DINSTALL_POLKIT=OFF + +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 0000000000..3bf82fbcdb --- /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/recalbox-romfs2/scripts/installroms.py b/package/recalbox-romfs2/scripts/installroms.py index a6650685ed..2ef973dfb2 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 851e0509b2..2032e7b493 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 0000000000..e69de29bb2 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 0000000000..21afc4c02a --- /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 0000000000..e69de29bb2 diff --git a/package/recalbox-romfs2/systems/installer/system.ini b/package/recalbox-romfs2/systems/installer/system.ini new file mode 100644 index 0000000000..d84cb14e1a --- /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 0000000000..e69de29bb2 diff --git a/projects/configgen/configgen/emulatorlauncher.py b/projects/configgen/configgen/emulatorlauncher.py index fabe004d3b..d779829fa4 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 0000000000..e69de29bb2 diff --git a/projects/configgen/configgen/generators/installer/installerGenerator.py b/projects/configgen/configgen/generators/installer/installerGenerator.py new file mode 100644 index 0000000000..46c843d78b --- /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 90b8d26a3b..1b230093ff 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', } -- GitLab From b9cba9acc906ef4a3f3a9142f8c6c9bbb09cdabd Mon Sep 17 00:00:00 2001 From: Adrien Beudin Date: Mon, 22 Jul 2024 18:47:54 +0200 Subject: [PATCH 2/3] fix: add depends for partition plugin --- package/calamares/calamares.mk | 4 +-- package/kf5-karchive/Config.in | 17 +++++++++++ package/kf5-karchive/kf5-karchive.mk | 30 +++++++++++++++++++ package/kf5-kauth/Config.in | 18 +++++++++++ package/kf5-kauth/kf5-kauth.mk | 30 +++++++++++++++++++ package/kf5-kcodecs/Config.in | 17 +++++++++++ package/kf5-kcodecs/kf5-kcodecs.mk | 30 +++++++++++++++++++ package/kf5-kconfig/Config.in | 17 +++++++++++ package/kf5-kconfig/kf5-config.mk | 30 +++++++++++++++++++ package/kf5-kconfigwidgets/Config.in | 21 +++++++++++++ .../kf5-kconfigwidgets/kf5-kconfigwidgets.mk | 30 +++++++++++++++++++ package/kf5-kdoctools/Config.in | 20 +++++++++++++ package/kf5-kdoctools/kf5-kdoctools.mk | 30 +++++++++++++++++++ package/kf5-kguiaddons/Config.in | 17 +++++++++++ package/kf5-kguiaddons/kf5-kguiaddons.mk | 30 +++++++++++++++++++ package/kf5-ki18n/Config.in | 17 +++++++++++ package/kf5-ki18n/kf5-ki18n.mk | 30 +++++++++++++++++++ package/kf5-kiconthemes/Config.in | 19 ++++++++++++ package/kf5-kiconthemes/kf5-kiconthemes.mk | 30 +++++++++++++++++++ package/kf5-kparts/Config.in | 21 +++++++++++++ package/kf5-kparts/kf5-kparts.mk | 30 +++++++++++++++++++ package/kf5-kwidgetsaddons/Config.in | 18 +++++++++++ .../kf5-kwidgetsaddons/kf5-kwidgetsaddons.mk | 30 +++++++++++++++++++ projects/configgen/setup.py | 1 + 24 files changed, 535 insertions(+), 2 deletions(-) create mode 100644 package/kf5-karchive/Config.in create mode 100644 package/kf5-karchive/kf5-karchive.mk create mode 100644 package/kf5-kauth/Config.in create mode 100644 package/kf5-kauth/kf5-kauth.mk create mode 100644 package/kf5-kcodecs/Config.in create mode 100644 package/kf5-kcodecs/kf5-kcodecs.mk create mode 100644 package/kf5-kconfig/Config.in create mode 100644 package/kf5-kconfig/kf5-config.mk create mode 100644 package/kf5-kconfigwidgets/Config.in create mode 100644 package/kf5-kconfigwidgets/kf5-kconfigwidgets.mk create mode 100644 package/kf5-kdoctools/Config.in create mode 100644 package/kf5-kdoctools/kf5-kdoctools.mk create mode 100644 package/kf5-kguiaddons/Config.in create mode 100644 package/kf5-kguiaddons/kf5-kguiaddons.mk create mode 100644 package/kf5-ki18n/Config.in create mode 100644 package/kf5-ki18n/kf5-ki18n.mk create mode 100644 package/kf5-kiconthemes/Config.in create mode 100644 package/kf5-kiconthemes/kf5-kiconthemes.mk create mode 100644 package/kf5-kparts/Config.in create mode 100644 package/kf5-kparts/kf5-kparts.mk create mode 100644 package/kf5-kwidgetsaddons/Config.in create mode 100644 package/kf5-kwidgetsaddons/kf5-kwidgetsaddons.mk diff --git a/package/calamares/calamares.mk b/package/calamares/calamares.mk index 4ed0b82e6a..dac65abd89 100644 --- a/package/calamares/calamares.mk +++ b/package/calamares/calamares.mk @@ -8,9 +8,9 @@ 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 +CALAMARES_DEPENDENCIES = qt5base qt5tools qt5svg yaml-cpp kf5-kcoreaddons parted -CALAMARES_CONF_OPTS = -DINSTALL_POLKIT=OFF +CALAMARES_CONF_OPTS = -DINSTALL_POLKIT=OFF -DWITH="partition" define CALAMARES_INSTALL_CONFIG mkdir -p $(TARGET_DIR)/etc/calamares/ diff --git a/package/kf5-karchive/Config.in b/package/kf5-karchive/Config.in new file mode 100644 index 0000000000..57554f5282 --- /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 0000000000..72b3b39e02 --- /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 0000000000..b22c5b5cb5 --- /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 0000000000..311aaebd1a --- /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 0000000000..ef57c18003 --- /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 0000000000..67f642f59c --- /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 0000000000..453eaa99dd --- /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 0000000000..10977f5f34 --- /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 0000000000..d5dc13c26d --- /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 0000000000..63668e6f55 --- /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 +endif + +$(eval $(cmake-package)) diff --git a/package/kf5-kdoctools/Config.in b/package/kf5-kdoctools/Config.in new file mode 100644 index 0000000000..874bc3bdc5 --- /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 0000000000..b699d9fc38 --- /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 0000000000..c5efdf9366 --- /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 0000000000..6422534d1f --- /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 0000000000..658cda610b --- /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 0000000000..42ab0ac66c --- /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 0000000000..c9e1ae5caf --- /dev/null +++ b/package/kf5-kiconthemes/Config.in @@ -0,0 +1,19 @@ +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 + 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 0000000000..23a53b47f9 --- /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_KICONTHEMES_INSTALL_STAGING = YES + +# Uses __atomic_fetch_add_4 +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +KF5_KICONTHEMES_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-latomic +endif + +$(eval $(cmake-package)) diff --git a/package/kf5-kparts/Config.in b/package/kf5-kparts/Config.in new file mode 100644 index 0000000000..b5cb047c68 --- /dev/null +++ b/package/kf5-kparts/Config.in @@ -0,0 +1,21 @@ +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 + 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 0000000000..84a00a24f9 --- /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_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-kwidgetsaddons/Config.in b/package/kf5-kwidgetsaddons/Config.in new file mode 100644 index 0000000000..0ee591b848 --- /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 0000000000..af7b791486 --- /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 +endif + +$(eval $(cmake-package)) diff --git a/projects/configgen/setup.py b/projects/configgen/setup.py index 12afc8a409..2f58b99e2a 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'] -- GitLab From 867ef1beca5008f86a6dc7a452fe159b50265920 Mon Sep 17 00:00:00 2001 From: Adrien Beudin Date: Mon, 22 Jul 2024 23:12:53 +0200 Subject: [PATCH 3/3] fix: add more depends --- .../kf5-kconfigwidgets/kf5-kconfigwidgets.mk | 2 +- package/kf5-kcrash/Config.in | 19 +++++++++++ package/kf5-kcrash/kf5-kcrash.mk | 30 +++++++++++++++++ package/kf5-kdbusaddons/Config.in | 17 ++++++++++ package/kf5-kdbusaddons/kf5-kdbusaddons.mk | 30 +++++++++++++++++ package/kf5-kiconthemes/Config.in | 1 + package/kf5-kiconthemes/kf5-kiconthemes.mk | 4 +-- package/kf5-kio/Config.in | 22 +++++++++++++ package/kf5-kio/kf5-kio.mk | 30 +++++++++++++++++ package/kf5-kitemviews/Config.in | 17 ++++++++++ package/kf5-kitemviews/kf5-kitemviews.mk | 30 +++++++++++++++++ package/kf5-kparts/Config.in | 2 ++ package/kf5-kparts/kf5-kparts.mk | 2 +- package/kf5-kservice/Config.in | 18 +++++++++++ package/kf5-kservice/kf5-kservice.mk | 32 +++++++++++++++++++ .../kf5-kwidgetsaddons/kf5-kwidgetsaddons.mk | 2 +- package/kf5-kwindowsystem/Config.in | 17 ++++++++++ .../kf5-kwindowsystem/kf5-kwindowsystem.mk | 30 +++++++++++++++++ package/kf5-solid/Config.in | 17 ++++++++++ package/kf5-solid/kf5-solid.mk | 30 +++++++++++++++++ 20 files changed, 347 insertions(+), 5 deletions(-) create mode 100644 package/kf5-kcrash/Config.in create mode 100644 package/kf5-kcrash/kf5-kcrash.mk create mode 100644 package/kf5-kdbusaddons/Config.in create mode 100644 package/kf5-kdbusaddons/kf5-kdbusaddons.mk create mode 100644 package/kf5-kio/Config.in create mode 100644 package/kf5-kio/kf5-kio.mk create mode 100644 package/kf5-kitemviews/Config.in create mode 100644 package/kf5-kitemviews/kf5-kitemviews.mk create mode 100644 package/kf5-kservice/Config.in create mode 100644 package/kf5-kservice/kf5-kservice.mk create mode 100644 package/kf5-kwindowsystem/Config.in create mode 100644 package/kf5-kwindowsystem/kf5-kwindowsystem.mk create mode 100644 package/kf5-solid/Config.in create mode 100644 package/kf5-solid/kf5-solid.mk diff --git a/package/kf5-kconfigwidgets/kf5-kconfigwidgets.mk b/package/kf5-kconfigwidgets/kf5-kconfigwidgets.mk index 63668e6f55..ab8dfc0c32 100644 --- a/package/kf5-kconfigwidgets/kf5-kconfigwidgets.mk +++ b/package/kf5-kconfigwidgets/kf5-kconfigwidgets.mk @@ -24,7 +24,7 @@ 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 +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 0000000000..ab886ef40d --- /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 0000000000..8956fdf81e --- /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 0000000000..c69715ee93 --- /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 0000000000..e4875d0616 --- /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-kiconthemes/Config.in b/package/kf5-kiconthemes/Config.in index c9e1ae5caf..97fc0f1177 100644 --- a/package/kf5-kiconthemes/Config.in +++ b/package/kf5-kiconthemes/Config.in @@ -4,6 +4,7 @@ config BR2_PACKAGE_KF5_KICONTHEMES 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. diff --git a/package/kf5-kiconthemes/kf5-kiconthemes.mk b/package/kf5-kiconthemes/kf5-kiconthemes.mk index 23a53b47f9..103a0f12f4 100644 --- a/package/kf5-kiconthemes/kf5-kiconthemes.mk +++ b/package/kf5-kiconthemes/kf5-kiconthemes.mk @@ -19,12 +19,12 @@ KF5_KICONTHEMES_LICENSE_FILES = \ 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_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 +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 0000000000..ae43a58405 --- /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 0000000000..1363ccfc85 --- /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 0000000000..96586729e1 --- /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 0000000000..d086c2f44a --- /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 index b5cb047c68..502561897b 100644 --- a/package/kf5-kparts/Config.in +++ b/package/kf5-kparts/Config.in @@ -6,6 +6,8 @@ config BR2_PACKAGE_KF5_KPARTS 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. diff --git a/package/kf5-kparts/kf5-kparts.mk b/package/kf5-kparts/kf5-kparts.mk index 84a00a24f9..7b30fe2838 100644 --- a/package/kf5-kparts/kf5-kparts.mk +++ b/package/kf5-kparts/kf5-kparts.mk @@ -19,7 +19,7 @@ KF5_KPARTS_LICENSE_FILES = \ 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_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 diff --git a/package/kf5-kservice/Config.in b/package/kf5-kservice/Config.in new file mode 100644 index 0000000000..1de00edf62 --- /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 0000000000..6a39d9a2b7 --- /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/kf5-kwidgetsaddons.mk b/package/kf5-kwidgetsaddons/kf5-kwidgetsaddons.mk index af7b791486..87ac879111 100644 --- a/package/kf5-kwidgetsaddons/kf5-kwidgetsaddons.mk +++ b/package/kf5-kwidgetsaddons/kf5-kwidgetsaddons.mk @@ -24,7 +24,7 @@ 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 +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 0000000000..e34185093a --- /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 0000000000..878b7b7d12 --- /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 0000000000..f58f3b4032 --- /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 0000000000..2e3f9685c5 --- /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)) -- GitLab