- Add patch to fix build with taglib 2:
* 0001-Fix-build-with-taglib-2.patch OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/juk?expand=0&rev=184
This commit is contained in:
parent
e74d478988
commit
8ac8c8df17
39
0001-Fix-build-with-taglib-2.patch
Normal file
39
0001-Fix-build-with-taglib-2.patch
Normal file
@ -0,0 +1,39 @@
|
||||
From 5389ae860ca4c672c022cad7e51c48bc699fcba3 Mon Sep 17 00:00:00 2001
|
||||
From: Antonio Rojas <arojas@archlinux.org>
|
||||
Date: Wed, 24 Jan 2024 17:40:16 +0100
|
||||
Subject: [PATCH] Fix build with taglib 2
|
||||
|
||||
Drop unused includes that no longer exist
|
||||
---
|
||||
mediafiles.cpp | 1 -
|
||||
mediafiles.h | 2 --
|
||||
2 files changed, 3 deletions(-)
|
||||
|
||||
diff --git a/mediafiles.cpp b/mediafiles.cpp
|
||||
index facdf1fc..0bb33b37 100644
|
||||
--- a/mediafiles.cpp
|
||||
+++ b/mediafiles.cpp
|
||||
@@ -29,7 +29,6 @@
|
||||
#include <QMimeDatabase>
|
||||
|
||||
#include <taglib.h>
|
||||
-#include <taglib_config.h>
|
||||
#include <tag.h>
|
||||
#include <tdebuglistener.h>
|
||||
#include <mpegfile.h>
|
||||
diff --git a/mediafiles.h b/mediafiles.h
|
||||
index 81ab4b8a..41decb34 100644
|
||||
--- a/mediafiles.h
|
||||
+++ b/mediafiles.h
|
||||
@@ -28,8 +28,6 @@ namespace TagLib {
|
||||
class File;
|
||||
}
|
||||
|
||||
-#include <taglib_config.h>
|
||||
-
|
||||
/**
|
||||
* A namespace for file JuK's file related functions. The goal is to hide
|
||||
* all specific knowledge of mimetypes and file extensions here.
|
||||
--
|
||||
2.43.1
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 20 16:00:54 UTC 2024 - Christophe Marin <christophe@krop.fr>
|
||||
|
||||
- Add patch to fix build with taglib 2:
|
||||
* 0001-Fix-build-with-taglib-2.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 5 14:19:08 UTC 2023 - Christophe Marin <christophe@krop.fr>
|
||||
|
||||
|
2
juk.spec
2
juk.spec
@ -28,6 +28,8 @@ Source: https://download.kde.org/stable/release-service/%{version}/src/%
|
||||
Source1: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig
|
||||
Source2: applications.keyring
|
||||
%endif
|
||||
# PATCH-FIX-UPSTREAM
|
||||
Patch0: 0001-Fix-build-with-taglib-2.patch
|
||||
BuildRequires: extra-cmake-modules
|
||||
BuildRequires: libtag-devel
|
||||
BuildRequires: update-desktop-files
|
||||
|
Loading…
Reference in New Issue
Block a user