diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2022-01-08 14:05:30 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2022-01-08 22:07:57 +0100 |
commit | df3325febc668ae0048a9b1f3c1e4e8f1abf3838 (patch) | |
tree | 40a7ce1d769b784b9a40d9b58ccd94b271652377 /kde-frameworks/countryflags | |
parent | kde-frameworks/purpose: 5.90.0 version bump (diff) | |
download | gentoo-df3325febc668ae0048a9b1f3c1e4e8f1abf3838.tar.gz gentoo-df3325febc668ae0048a9b1f3c1e4e8f1abf3838.tar.bz2 gentoo-df3325febc668ae0048a9b1f3c1e4e8f1abf3838.zip |
kde-frameworks/countryflags: New package at version 5.90.0
Standalone package for country flag icons, split from
kde-frameworks/kdelibs4support.
See also:
https://phabricator.kde.org/T13722
https://invent.kde.org/frameworks/breeze-icons/-/issues/1
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-frameworks/countryflags')
-rw-r--r-- | kde-frameworks/countryflags/Manifest | 1 | ||||
-rw-r--r-- | kde-frameworks/countryflags/countryflags-5.90.0.ebuild | 22 | ||||
-rw-r--r-- | kde-frameworks/countryflags/files/countryflags-5.90.0-standalone.patch | 31 | ||||
-rw-r--r-- | kde-frameworks/countryflags/metadata.xml | 16 |
4 files changed, 70 insertions, 0 deletions
diff --git a/kde-frameworks/countryflags/Manifest b/kde-frameworks/countryflags/Manifest new file mode 100644 index 000000000000..f644f426fe44 --- /dev/null +++ b/kde-frameworks/countryflags/Manifest @@ -0,0 +1 @@ +DIST kdelibs4support-5.90.0.tar.xz 3644376 BLAKE2B f5ff38c515a0455e702acada733bca8e0de74b550e9a1a828bc928084bfdb27a8ec0f50b02f8b664fe63f07091e071c3a458e8f93fe0246431f6765c234fd343 SHA512 0636a0ba6fc4a3993068a1aa0422d6de6c3b732bc165b329cbc37f19ba29fe06306dc1017e32f36fc89911661674fb78e3be0a2e792551ee513861557fde6553 diff --git a/kde-frameworks/countryflags/countryflags-5.90.0.ebuild b/kde-frameworks/countryflags/countryflags-5.90.0.ebuild new file mode 100644 index 000000000000..84058dd8fffc --- /dev/null +++ b/kde-frameworks/countryflags/countryflags-5.90.0.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_QTHELP="false" +ECM_TEST="false" +KDE_ORG_NAME="kdelibs4support" +inherit ecm kde.org + +DESCRIPTION="Icons of flags for various countries" + +LICENSE="LGPL-2+" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + +CMAKE_USE_DIR="${S}/src/l10n" + +# https://phabricator.kde.org/T13722 +# https://invent.kde.org/frameworks/breeze-icons/-/issues/1 +PATCHES=( "${FILESDIR}/${P}-standalone.patch" ) + +RDEPEND="!<kde-frameworks/kdelibs4support-5.90.0:5" diff --git a/kde-frameworks/countryflags/files/countryflags-5.90.0-standalone.patch b/kde-frameworks/countryflags/files/countryflags-5.90.0-standalone.patch new file mode 100644 index 000000000000..777fc622580d --- /dev/null +++ b/kde-frameworks/countryflags/files/countryflags-5.90.0-standalone.patch @@ -0,0 +1,31 @@ +From 4abd415bae7dd03cfb30f7db3597e0ab241f19e5 Mon Sep 17 00:00:00 2001 +From: Andreas Sturmlechner <asturm@gentoo.org> +Date: Fri, 17 Dec 2021 16:09:12 +0100 +Subject: [PATCH] Standalone install of countryflags (src/l10n) + +Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> +--- + src/l10n/CMakeLists.txt | 10 ++++++++++ + 1 file changed, 10 insertions(+) + +diff --git a/src/l10n/CMakeLists.txt b/src/l10n/CMakeLists.txt +index babb57b8..915b6fe4 100644 +--- a/src/l10n/CMakeLists.txt ++++ b/src/l10n/CMakeLists.txt +@@ -1,3 +1,13 @@ ++cmake_minimum_required(VERSION 3.16) ++ ++project(CountryFlags) ++ ++include(FeatureSummary) ++find_package(ECM 5.89.0 NO_MODULE) ++set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH}) ++ ++include(KDEInstallDirs) ++ + install( FILES northafrica.desktop westafrica.desktop southafrica.desktop centralafrica.desktop eastafrica.desktop caribbean.desktop oceania.desktop centralamerica.desktop northamerica.desktop southamerica.desktop easteurope.desktop westeurope.desktop centraleurope.desktop northeurope.desktop southeurope.desktop southasia.desktop southeastasia.desktop eastasia.desktop centralasia.desktop middleeast.desktop DESTINATION ${KDE_INSTALL_DATADIR_KF5}/locale/countries ) + + set(listLang C epo ad ae af ag ai al am an ao ar as at au aw ax az ba bb bd be bf bg bh bi bj bl bm bn bo br bs bt bw by bz ca cc cd cf cg ch ci ck cl cm cn co cr cu cv cx cy cz de dj dk dm do dz ec ee eg eh er es et fi fj fk fm fo fr ga gb gd ge gf gg gh gi gl gm gn gp gq gr gt gu gw gy hk hn hr ht hu id ie il im in iq ir is it je jm jo jp ke kg kh ki km kn kp kr kw ky kz la lb lc li lk lr ls lt lu lv ly ma mc md me mf mg mh mk ml mm mn mo mp mq mr ms mt mu mv mw mx my mz na nc ne nf ng ni nl no np nr nu nz om pa pe pf pg ph pk pl pm pn pr ps pt pw py qa re ro rs ru rw sa sb sc sd se sg sh si sk sl sm sn so sr ss st sv sy sz tc td tg th tj tk tl tm tn to tp tr tt tv tw tz ua ug us uy uz va vc ve vg vi vn vu wf ws ye yt za zm zw ) +-- +2.34.1 + diff --git a/kde-frameworks/countryflags/metadata.xml b/kde-frameworks/countryflags/metadata.xml new file mode 100644 index 000000000000..506ecf605bc4 --- /dev/null +++ b/kde-frameworks/countryflags/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>kde@gentoo.org</email> + <name>Gentoo KDE Project</name> + </maintainer> + <upstream> + <bugs-to>https://bugs.kde.org/</bugs-to> + </upstream> + <slots> + <subslots> + Must only be used by packages that are known to use private parts of the Frameworks API. + </subslots> + </slots> +</pkgmetadata> |