[neon/neon-packaging/vvave/Neon/release] debian: add patch to fix taglib

Carlos De Maine null at kde.org
Fri Nov 15 03:19:05 GMT 2024


Git commit 97cffc6be6d644605424951a330e01a400a1ad04 by Carlos De Maine.
Committed on 15/11/2024 at 03:18.
Pushed by carlosdem into branch 'Neon/release'.

add patch to fix taglib

A  +26   -0    debian/patches/fix_taglib
A  +1    -0    debian/patches/series
M  +3    -3    debian/rules

https://invent.kde.org/neon/neon-packaging/vvave/-/commit/97cffc6be6d644605424951a330e01a400a1ad04

diff --git a/debian/patches/fix_taglib b/debian/patches/fix_taglib
new file mode 100644
index 0000000..f1f4889
--- /dev/null
+++ b/debian/patches/fix_taglib
@@ -0,0 +1,26 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index c48974d9a1d053bdeeda6579f2610e0598b3f615..0dd279e2d2e97fc27a38c044ac8fb625f61d9a74 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -49,7 +49,7 @@ find_package(MauiKit4 REQUIRED COMPONENTS FileBrowsing)
+ if(ANDROID)
+     find_package(taglib 1.4 REQUIRED)
+ else()
+-    find_package(TagLib 1.4 REQUIRED)
++    find_package(Taglib 1.4 REQUIRED)
+ endif()
+
+ if(UNIX AND NOT ANDROID)
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+index 72e05dd09d0e51fd79a30e4c1bcd1b7d1c4ac013..84af7ccc8d0007678b5ce592f0782572b7384f0f 100644
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -131,7 +131,7 @@ target_compile_definitions(${PROJECT_NAME}
+ target_include_directories(${PROJECT_NAME} PRIVATE ${Taglib_INCLUDE_DIRS})
+
+ set(Taglib_LIBRARIES
+-    TagLib::tag)
++    Taglib::Taglib)
+
+ target_link_libraries(${PROJECT_NAME}
+     PRIVATE
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..f3092f8
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix_taglib
diff --git a/debian/rules b/debian/rules
index c8b1141..3d69b0d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,6 @@
 #!/usr/bin/make -f
-
-export QT_SELECT=qt6
+# SPDX-License-Identifier: LGPL-2.0-or-later
+# SPDX-FileCopyrightText: 2023 Jonathan Riddell <jr at jriddell.org>
 
 %:
-	dh $@ --buildsystem=cmake
+	dh $@ --with kf6 --buildsystem kf6


More information about the Neon-commits mailing list