]> git.pld-linux.org Git - packages/avidemux.git/commitdiff
- reversed last commit log (I don't know why avidemux didn't build)
authorlisu <lisu@pld-linux.org>
Thu, 7 Jul 2011 12:00:26 +0000 (12:00 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- use sed macro

Changed files:
    avidemux.spec -> 1.102

avidemux.spec

index 9ca7ce7ecf82db49924b599a5bef50d8c6a44bce..ab25f7efdc768362c855e5a5e497b0b4a5920e79 100644 (file)
@@ -111,7 +111,7 @@ find '(' -name '*.js' -o -name '*.cpp' -o -name '*.h' -o -name '*.cmake' -o -nam
 echo 'pt_BR' >> po/LINGUAS
 
 # libdir fix
-sed -i -e's,"lib","%{_lib}",' avidemux/main.cpp avidemux/ADM_core/src/ADM_fileio.cpp
+%{__sed} -i -e's,"lib","%{_lib}",' avidemux/main.cpp avidemux/ADM_core/src/ADM_fileio.cpp
 
 %build
 TOP=$PWD
@@ -138,14 +138,19 @@ cd ../..
 # plugins
 cd plugins/build
 %cmake \
+       -DCMAKE_BUILD_TYPE=%{?debug:Debug}%{!?debug:Release} \
+       -DCMAKE_INSTALL_PREFIX=%{_prefix} \
        -DAVIDEMUX_INSTALL_PREFIX=$TOP/build \
-       -DAVIDEMUX_SOURCE_DIR=$TOP/  \
+       -DAVIDEMUX_SOURCE_DIR=$TOP/ \
        -DAVIDEMUX_CORECONFIG_DIR=$TOP/build/config \
        %{!?with_arts:-DARTS=0} \
        %{!?with_esd:-DESD=0} \
        %{!?with_amr:-DOPENCORE_AMRNB=0 -DOPENCORE_AMRWB=0} \
        %{!?with_gtk:-DGTK=0} \
        %{!?with_qt4:-DQT4=0} \
+%if "%{_lib}" == "lib64"
+       -DLIB_SUFFIX=64 \
+%endif
        ..
 
 %{__make}
This page took 0.117325 seconds and 4 git commands to generate.