[packages/skype-call-recorder: 2/4] - fix linking

glen glen at pld-linux.org
Fri Dec 7 20:33:39 CET 2012


commit 5df89c62fae3dc03b24f3f4cbcc9b08eeb1c245e
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Fri Dec 7 21:31:31 2012 +0200

    - fix linking

 libs.patch               | 11 +++++++++++
 skype-call-recorder.spec |  2 ++
 2 files changed, 13 insertions(+)
---
diff --git a/skype-call-recorder.spec b/skype-call-recorder.spec
index 663534a..f674aa0 100644
--- a/skype-call-recorder.spec
+++ b/skype-call-recorder.spec
@@ -7,6 +7,7 @@ Group:		Applications/Networking
 URL:		http://atdot.ch/scr/
 Source0:	http://atdot.ch/scr/files/0.8/%{name}-%{version}.tar.gz
 # Source0-md5:	937544a5245fdcfa50878d083dab706a
+Patch0:		libs.patch
 BuildRequires:	QtCore-devel
 BuildRequires:	QtDBus-devel
 BuildRequires:	QtGui-devel
@@ -24,6 +25,7 @@ Vorbis or WAV files.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 install -d build
diff --git a/libs.patch b/libs.patch
new file mode 100644
index 0000000..4797d8f
--- /dev/null
+++ b/libs.patch
@@ -0,0 +1,11 @@
+--- skype-call-recorder-0.8/CMakeLists.txt	2008-11-19 00:39:18.000000000 +0200
++++ skype-call-recorder-0.8/CMakeLists.txt	2012-12-07 21:27:19.024337183 +0200
+@@ -91,7 +91,7 @@
+ # main target
+ 
+ ADD_EXECUTABLE(${TARGET} ${SOURCES})
+-TARGET_LINK_LIBRARIES(${TARGET} ${LIBRARIES})
++TARGET_LINK_LIBRARIES(${TARGET} ${LIBRARIES} vorbis ogg)
+ ADD_DEPENDENCIES(${TARGET} Version)
+ 
+ # installation
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/skype-call-recorder.git/commitdiff/1635fe93eb664ccb91d66632bd9c550997427083



More information about the pld-cvs-commit mailing list