Magellan Linux

Diff of /branches/magellan-next/extras/kdebindings4/kdebindings4-4.5.1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 7222 by niro, Fri Oct 8 12:50:56 2010 UTC revision 7224 by niro, Mon Oct 11 19:14:21 2010 UTC
# Line 31  SPLIT_PACKAGES="${PNAME}-python Line 31  SPLIT_PACKAGES="${PNAME}-python
31  # pull in kde4 as last to get kde's {pre,post}install {pre,post}remove  # pull in kde4 as last to get kde's {pre,post}install {pre,post}remove
32  sminclude python perl kde4-split  sminclude python perl kde4-split
33    
34    SRC_URI=(
35     ${SRC_URI[*]}
36     mirror://${PNAME}/${PNAME}-${PVER}-smokegen-segfaults.patch
37     mirror://${PNAME}/${PNAME}-${PVER}-pyqt4.patch
38     mirror://${PNAME}/${PNAME}-${PVER}-ruby19.patch
39    )
40    
41  UP2DATE="updatecmd http://www.kde.org/download/ | grep ${PNAME/4/} | sed -n '1 p' | sed 's/.*-\([^ ]*\) .*/\1/'"  UP2DATE="updatecmd http://www.kde.org/download/ | grep ${PNAME/4/} | sed -n '1 p' | sed 's/.*-\([^ ]*\) .*/\1/'"
42    
43  # split_info_kdebindings4-csharp()  # split_info_kdebindings4-csharp()
# Line 77  src_prepare() Line 84  src_prepare()
84   munpack ${SRCFILE} || die   munpack ${SRCFILE} || die
85   cd ${SRCDIR}   cd ${SRCDIR}
86    
87   local rubyver=$(ruby --version | cut -d' ' -f2 | sed 's:\(.*\)p.*:\1:')   # fix smokegen segfaults
88   local rubyarch=$(ruby --version | cut -d' ' -f6 | sed 's:\[::;s:\]::')   mpatch ${PNAME}-${PVER}-smokegen-segfaults.patch || die
89   local rubypath="/usr/include/ruby-${rubyver}/${rubyarch}"  
90     # fix build against newer pyqt4
91   # fix ruby includes   mpatch ${PNAME}-${PVER}-pyqt4.patch || die
92   find ${SRCDIR}/ruby -name CMakeLists.txt \  
93   -exec sed -i "s|\${RUBY_INCLUDE_PATH}|\${RUBY_INCLUDE_PATH} ${rubypath}|" {} \; || die   # fix build against ruby-1.9
94     # see: http://permalink.gmane.org/gmane.comp.kde.devel.bindings/6316
95     mpatch ${PNAME}-${PVER}-ruby19.patch || die
96  }  }
97    
98  src_compile()  src_compile()
99  {  {
100   cd ${SRCDIR}   cd ${SRCDIR}
101    
102   # sip/pyqt/pykde built separately, not here   # sip/pyqt4 built separately, not here
103   kde4_configure \   kde4_configure \
104   $(cmake_with OpenGL) \   $(cmake_with OpenGL) \
105   $(cmake_with KdepimLibs) \   $(cmake_with KdepimLibs) \
# Line 104  src_compile() Line 113  src_compile()
113   $(cmake_build_not java) \   $(cmake_build_not java) \
114   $(cmake_build_not php) \   $(cmake_build_not php) \
115   $(cmake_build_not falcon) \   $(cmake_build_not falcon) \
  $(cmake_disable KROSSRUBY) \  
116   || die   || die
117   #$(cmake_build_not smoke) \  
118   #$(cmake_build_not ruby) \   # not needed anymore?
119     # $(cmake_disable KROSSRUBY) \
120    
121   # not parallel make safe   # not parallel make safe
122   make || die   make || die

Legend:
Removed from v.7222  
changed lines
  Added in v.7224