summaryrefslogtreecommitdiff
path: root/finance/alkimia/files
diff options
context:
space:
mode:
Diffstat (limited to 'finance/alkimia/files')
-rw-r--r--finance/alkimia/files/patch-CMakeLists.txt33
-rw-r--r--finance/alkimia/files/patch-autotests_CMakeLists.txt15
-rw-r--r--finance/alkimia/files/patch-src_libalkimia.pc.in17
-rw-r--r--finance/alkimia/files/plasma_applets_ForeignCurrencies_metadata.json71
4 files changed, 88 insertions, 48 deletions
diff --git a/finance/alkimia/files/patch-CMakeLists.txt b/finance/alkimia/files/patch-CMakeLists.txt
index 0729feffa133..1e0f1cac0500 100644
--- a/finance/alkimia/files/patch-CMakeLists.txt
+++ b/finance/alkimia/files/patch-CMakeLists.txt
@@ -1,21 +1,18 @@
-Make tests conditional
+Xmlgui is only needed for the tools.
---- CMakeLists.txt.orig 2022-05-05 15:16:34 UTC
+--- CMakeLists.txt.orig 2025-06-21 11:46:33 UTC
+++ CMakeLists.txt
-@@ -75,7 +75,7 @@ if(BUILD_QT4)
- set(QT_NETWORK_COMPONENT)
- endif()
-
-- find_package(Qt4 REQUIRED COMPONENTS QtCore QtGui QtDBus ${QT_NETWORK_COMPONENT} QtTest ${QT_BROWSER_COMPONENT} QtDeclarative)
-+ find_package(Qt4 REQUIRED COMPONENTS QtCore QtGui QtDBus ${QT_NETWORK_COMPONENT} ${QT_BROWSER_COMPONENT} QtDeclarative)
- set(_kde4_uninstall_rule_created 1)
- find_package(KDE4 REQUIRED)
- if(NOT BUILD_WITH_QTNETWORK)
-@@ -150,7 +150,6 @@ else()
- find_package(Qt5 REQUIRED COMPONENTS
- Core
- ${QT_NETWORK_COMPONENT}
-- Test
- ${QT_BROWSER_COMPONENT}
- Qml
+@@ -172,8 +172,12 @@ else()
+ IconThemes
+ ${PLASMA_COMPONENT}
+ TextWidgets
+- XmlGui
)
++ if(BUILD_TOOLS)
++ list(APPEND KF_PRIVATE_COMPONENTS
++ XmlGui
++ )
++ endif()
+ find_package(KF${QT_MAJOR_VERSION} ${KF_MIN_VERSION} REQUIRED COMPONENTS ${KF_PRIVATE_COMPONENTS} ${KF_PUBLIC_COMPONENTS})
+
+ macro(ecm_add_executable)
diff --git a/finance/alkimia/files/patch-autotests_CMakeLists.txt b/finance/alkimia/files/patch-autotests_CMakeLists.txt
deleted file mode 100644
index 4f658de53091..000000000000
--- a/finance/alkimia/files/patch-autotests_CMakeLists.txt
+++ /dev/null
@@ -1,15 +0,0 @@
-Find testlib (moved from ../CMakeLists.txt)
-
---- autotests/CMakeLists.txt.orig 2020-10-23 16:11:34 UTC
-+++ autotests/CMakeLists.txt
-@@ -1,4 +1,10 @@
- include(ECMAddTests)
-+if(BUILD_QT4)
-+ find_package(Qt4 REQUIRED COMPONENTS QtTest)
-+else()
-+ find_package(Qt5 REQUIRED COMPONENTS Test)
-+endif()
-+
- set(TEST_LIB
- alkimia
- alkimia-internal
diff --git a/finance/alkimia/files/patch-src_libalkimia.pc.in b/finance/alkimia/files/patch-src_libalkimia.pc.in
index 0e49e09d7e45..ef131e86a887 100644
--- a/finance/alkimia/files/patch-src_libalkimia.pc.in
+++ b/finance/alkimia/files/patch-src_libalkimia.pc.in
@@ -1,19 +1,6 @@
---- src/libalkimia.pc.in.orig 2018-03-15 19:28:26 UTC
+--- src/libalkimia.pc.in.orig 2025-06-21 11:46:33 UTC
+++ src/libalkimia.pc.in
-@@ -3,9 +3,9 @@
-
- # General installation directories
- prefix=@CMAKE_INSTALL_PREFIX@
--exec_prefix=@CMAKE_INSTALL_PREFIX@
--libdir=@KDE4_LIB_DIR@
--includedir=@INCLUDE_INSTALL_DIR@
-+exec_prefix=${prefix}
-+libdir=${exec_prefix}/@LIB_INSTALL_DIR@
-+includedir=${prefix}/@INCLUDE_INSTALL_DIR@
-
- # Human-readable name
- Name: Alkimia
-@@ -13,7 +13,7 @@ Name: Alkimia
+@@ -13,7 +13,7 @@ Version: @ALKIMIA_LIB_VERSION@
Description: A library for financial data handling
Version: @ALKIMIA_LIB_VERSION@
diff --git a/finance/alkimia/files/plasma_applets_ForeignCurrencies_metadata.json b/finance/alkimia/files/plasma_applets_ForeignCurrencies_metadata.json
new file mode 100644
index 000000000000..3c213ae6bd1e
--- /dev/null
+++ b/finance/alkimia/files/plasma_applets_ForeignCurrencies_metadata.json
@@ -0,0 +1,71 @@
+{
+ "KPlugin": {
+ "Authors": [
+ {
+ "Email": "petr@bravenec.eu, wincak@seznam.cz",
+ "Name": "Petr Bravenec, wincak"
+ }
+ ],
+ "Category": "Online Services",
+ "Description": "Plasmoid showing current foreign currencies prices",
+ "Description[ca@valencia]": "Plasmoide que mostra els preus actuals de les divises estrangeres",
+ "Description[ca]": "Plasmoide que mostra els preus actuals de les divises estrangeres",
+ "Description[es]": "Plasmoide para mostrar los precios actuales de monedas extranjeras",
+ "Description[fi]": "Nykyiset valuuttakurssit esittävä sovelma",
+ "Description[fr]": "Composant graphique affichant les taux de change de devises étrangères.",
+ "Description[gl]": "Trebello que amosa os prezos actuais de divisas estranxeiras.",
+ "Description[it]": "Plasmoide che mostra i valori correnti delle valute straniere",
+ "Description[ko]": "현재 외화 환율을 보여 주는 Plasmoid",
+ "Description[nb]": "Plasmoid viser nåværende kurser for utenlandske valutaer",
+ "Description[nl]": "Plasmoid die huidige koersen van vreemde valuta toont",
+ "Description[pl]": "Plazmoid, wyświetlający obecne ceny walut obcych",
+ "Description[sl]": "Plazmoid, ki prikazuje trenutne tečajnice tujih valut",
+ "Description[sv]": "Plasmoid som visar aktuella utländska valutakurser",
+ "Description[uk]": "Плазмоїд для показу курсів іноземних валют.",
+ "Description[x-test]": "xxPlasmoid showing current foreign currencies pricesxx",
+ "Icon": "applications-internet",
+ "Id": "org.wincak.foreigncurrencies2",
+ "License": "GPLv2",
+ "Name": "Foreign Currencies",
+ "Name[ca@valencia]": "Divises estrangeres",
+ "Name[ca]": "Divises estrangeres",
+ "Name[cs]": "Cizí měny",
+ "Name[de]": "Ausländische Währungen",
+ "Name[el]": "Ξένα νομίσματα",
+ "Name[en_GB]": "Foreign Currencies",
+ "Name[eo]": "Fremdaj Valutoj",
+ "Name[es]": "Monedas extranjeras",
+ "Name[et]": "Välisvääringud",
+ "Name[eu]": "Atzerriko dibisak",
+ "Name[fi]": "Vieraat valuutat",
+ "Name[fr]": "Devises étrangères",
+ "Name[gl]": "Divisas estranxeiras",
+ "Name[hu]": "Idegen valuták",
+ "Name[ia]": "Numerarios Estranie",
+ "Name[it]": "Valute straniere",
+ "Name[ka]": "უცხოური ვალუტები",
+ "Name[ko]": "외화",
+ "Name[nb]": "Utenlandske valutaer",
+ "Name[nl]": "Vreemde valuta",
+ "Name[pl]": "Waluty obce",
+ "Name[pt]": "Moedas Estrangeiras",
+ "Name[pt_BR]": "Moedas estrangeiras",
+ "Name[ro]": "Valute",
+ "Name[ru]": "Курсы валют",
+ "Name[sk]": "Zahraničné meny",
+ "Name[sl]": "Tuje valute",
+ "Name[sv]": "Utländska valutor",
+ "Name[tr]": "Yabancı Para Birimleri",
+ "Name[uk]": "Іноземні валюти",
+ "Name[x-test]": "xxForeign Currenciesxx",
+ "Name[zh_CN]": "外币",
+ "Name[zh_TW]": "外幣",
+ "ServiceTypes": [
+ "Plasma/Applet"
+ ],
+ "Version": "1.1",
+ "Website": "https://gitlab.com/wincak/ForeignCurrencies"
+ },
+ "X-Plasma-API": "declarativeappletscript",
+ "X-Plasma-MainScript": "ui/main.qml"
+}