SHA256
1
0
forked from pool/libkdegames

Accepting request 865088 from KDE:Applications

Add compatibility with qml-autoreqprov (forwarded request 864436 from Vogtinator)

OBS-URL: https://build.opensuse.org/request/show/865088
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libkdegames?expand=0&rev=107
This commit is contained in:
Dominique Leuenberger 2021-01-21 20:54:42 +00:00 committed by Git OBS Bridge
commit 13ebbec41f
3 changed files with 31 additions and 3 deletions

View File

@ -0,0 +1,21 @@
From 681d7041f0e9f50735bcea3b3b896e0155111950 Mon Sep 17 00:00:00 2001
From: "Friedrich W. H. Kossebau" <kossebau@kde.org>
Date: Tue, 15 Dec 2020 13:26:45 +0100
Subject: [PATCH] Add missing module identifier to qmldir
---
declarativeimports/qml/qmldir | 1 +
1 file changed, 1 insertion(+)
diff --git a/declarativeimports/qml/qmldir b/declarativeimports/qml/qmldir
index 79aae321..bfc17a4e 100644
--- a/declarativeimports/qml/qmldir
+++ b/declarativeimports/qml/qmldir
@@ -1,3 +1,4 @@
+module org.kde.games.core
plugin corebindingsplugin
KgItem 0.1 KgItem.qml
--
2.25.1

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Jan 15 17:17:29 UTC 2021 - Fabian Vogt <fabian@ritter-vogt.de>
- Add patch to make qmldir compatible with qml-autoreprov:
* 0001-Add-missing-module-identifier-to-qmldir.patch
-------------------------------------------------------------------
Tue Jan 5 12:27:01 UTC 2021 - Luca Beltrame <lbeltrame@kde.org>

View File

@ -1,7 +1,7 @@
#
# spec file for package libkdegames
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -29,6 +29,8 @@ Group: System/GUI/KDE
URL: https://www.kde.org
Source: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz
Patch1: libkdegames-bnc793185.patch
# PATCH-FIX-UPSTREAM
Patch2: 0001-Add-missing-module-identifier-to-qmldir.patch
BuildRequires: extra-cmake-modules
BuildRequires: fdupes
BuildRequires: kf5-filesystem
@ -77,8 +79,7 @@ This package contains data which is required by the KDE games library.
%lang_package
%prep
%setup -q
%patch1 -p1
%autosetup -p1
# bnc#793185
rm -rf carddecks/svg-konqi-modern