File fix-taglib-variables.patch of Package extra-cmake-modules

From: Antonio Larrosa <alarrosa@suse.com>
Subject: Add compatibility Taglib variables

The cmake variables generated for taglib in KF5 5.71 and 5.76
have changed so apps prepared for one don't build with the other.
This patch adds old-style variables so KDE Applications 20.04
(which expects old-style variables) build fine with the newer
5.76 .

Index: extra-cmake-modules-5.76.0/find-modules/FindTaglib.cmake
===================================================================
--- extra-cmake-modules-5.76.0.orig/find-modules/FindTaglib.cmake
+++ extra-cmake-modules-5.76.0/find-modules/FindTaglib.cmake
@@ -83,6 +83,11 @@ endif()
 
 mark_as_advanced(Taglib_LIBRARIES Taglib_INCLUDE_DIRS)
 
+set(TAGLIB_INCLUDES ${Taglib_INCLUDE_DIRS})
+set(TAGLIB_CFLAGS "-I${Taglib_INCLUDE_DIRS}")
+set(TAGLIB_LIBRARIES ${Taglib_LIBRARIES})
+set(TAGLIB_FOUND ${Taglib_FOUND})
+
 include(FeatureSummary)
 set_package_properties(Taglib PROPERTIES
     URL "https://taglib.org/"
openSUSE Build Service is sponsored by