]> git.pld-linux.org Git - packages/phonon-backend-mplayer.git/commitdiff
- patch for x86_64
authorblekot <blekot@pld-linux.org>
Wed, 8 Sep 2010 13:42:04 +0000 (13:42 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- builds

Changed files:
    phonon-backend-mplayer-x86_64.patch -> 1.1
    phonon-backend-mplayer.spec -> 1.4

phonon-backend-mplayer-x86_64.patch [new file with mode: 0644]
phonon-backend-mplayer.spec

diff --git a/phonon-backend-mplayer-x86_64.patch b/phonon-backend-mplayer-x86_64.patch
new file mode 100644 (file)
index 0000000..151b355
--- /dev/null
@@ -0,0 +1,13 @@
+--- phonon-phonon-mplayer/CMakeLists.txt~      2010-08-23 22:57:11.000000000 +0200
++++ phonon-phonon-mplayer/CMakeLists.txt       2010-09-08 15:18:07.000000000 +0200
+@@ -5,6 +5,10 @@
+ set(QT_MIN_VERSION 4.6.0)
+ find_package(Qt4 REQUIRED)
++IF("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "x86_64")
++      SET(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -fPIC"  )
++      SET(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_DEBUG} -fPIC"  )
++ENDIF("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "x86_64")
+ set(PHONON_LIBS
index d506a415f0b49785f318bc0c605f97cc034a885f..63859eafe442497205ac15e807f75814638c4c6e 100644 (file)
@@ -1,25 +1,18 @@
 
-#TODO
-
-# Linking CXX shared module phonon_mplayer.so
-# /usr/bin/ld: libmplayer/liblibmplayer.a(MPlayerProcess.cpp.o): relocation R_X86_64_32S against `_ZN7QString11shared_nullE' can not be used when making a shared object; recompile with -fPIC
-# libmplayer/liblibmplayer.a: could not read symbols: Bad value
-
-
-
 %define                qtver           4.6.3
 %define                kdever          4.4.5
 
 Summary:       mplayer backend for Phonon
 Summary(pl.UTF-8):     Wtyczka mplayer dla Phonona
 Name:          phonon-backend-mplayer
-Version:       0.git.20100908.1
-Release:       0.1
+Version:       0.git.20100908
+Release:       0.2
 License:       LGPL 2.1
 Group:         X11/Applications
 Source0:       http://www.gitorious.org/phonon/phonon-mplayer/archive-tarball/master
 # Source0-md5: ea4e86aba13efaff5abbc283eb25905c
-#URL:          http://
+Patch0:         %{name}-x86_64.patch
+URL:           http://kde-apps.org/content/show.php/Phonon+MPlayer+Backend?content=123714
 BuildRequires: automoc4 >= 0.9.88
 BuildRequires: cmake >= 2.8.0
 BuildRequires: kde4-kdebase-workspace-devel >= %{kdever}
@@ -38,6 +31,7 @@ Wtyczka mplayer dla Phonona.
 
 %prep
 %setup -q -n phonon-phonon-mplayer
+%patch0 -p1
 
 %build
 install -d build
This page took 0.085387 seconds and 4 git commands to generate.