commit 5e4b5e438a6ad08a48525dfa4931266ff4396f45
Author: Jan Rękorajski <[email protected]>
Date:   Thu Mar 31 19:48:23 2016 +0900

    - fix musepack detection
    - rel 3

 k3b.spec       |  5 ++++-
 musepack.patch | 11 +++++++++++
 2 files changed, 15 insertions(+), 1 deletion(-)
---
diff --git a/k3b.spec b/k3b.spec
index 5da6247..b95217f 100644
--- a/k3b.spec
+++ b/k3b.spec
@@ -16,7 +16,7 @@ Summary(hu.UTF-8):    CD Kreator
 Summary(pl.UTF-8):     Kreator CD
 Name:          k3b
 Version:       2.0.3
-Release:       2
+Release:       3
 Epoch:         1
 License:       GPL v2+
 Group:         X11/Libraries
@@ -24,6 +24,7 @@ Source0:      
http://download.kde.org/stable/k3b/%{name}-%{version}a.tar.xz
 # Source0-md5: 52e78aabe8e483347d04e88be0aed150
 Patch0:                cmake-duplicate-doc.patch
 Patch1:                ffmpeg3.patch
+Patch2:                musepack.patch
 URL:           http://k3b.plainblack.com/
 BuildRequires: Qt3Support-devel >= %{qtver}
 BuildRequires: QtNetwork-devel >= %{qtver}
@@ -49,6 +50,7 @@ BuildRequires:        libmpcdec-devel
 BuildRequires: libmusicbrainz-devel
 BuildRequires: libsamplerate-devel
 BuildRequires: libsndfile-devel
+BuildRequires: musepack-devel
 BuildRequires: polkit-qt-devel >= 0.9.2
 BuildRequires: qt4-build >= %{qtver}
 BuildRequires: qt4-qmake >= %{qtver}
@@ -145,6 +147,7 @@ Pliki nagłówkowe biblioteki libk3bcore.
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 install -d build
diff --git a/musepack.patch b/musepack.patch
new file mode 100644
index 0000000..0c5f42b
--- /dev/null
+++ b/musepack.patch
@@ -0,0 +1,11 @@
+--- k3b-2.0.3/cmake/modules/FindMuse.cmake~    2014-11-05 03:37:31.000000000 
+0900
++++ k3b-2.0.3/cmake/modules/FindMuse.cmake     2016-03-31 19:42:33.717694990 
+0900
+@@ -21,7 +21,7 @@
+ 
+ if( HAVE_MPC_MPCDEC_H )
+     find_path( MUSE_INCLUDE_DIR mpc/mpcdec.h )
+-    find_library( MUSE_LIBRARIES NAMES mpcdec )
++    find_library( MUSE_LIBRARIES NAMES mpcdecsv8 )
+     set( MPC_HEADER_FILE "<mpc/mpcdec.h>" )
+ elseif( HAVE_MPCDEC_MPCDEC_H )
+     find_path( MUSE_INCLUDE_DIR mpcdec/mpcdec.h )
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/k3b.git/commitdiff/5e4b5e438a6ad08a48525dfa4931266ff4396f45

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to