RPM packaging: fix k3b build with ffmpeg enabled

pull/3/head
François Andriot 8 years ago
parent df72f973f3
commit f0a220aed8

@ -430,7 +430,7 @@ export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}"
# FFMPEG trick ... # FFMPEG trick ...
if [ -d /usr/include/ffmpeg ]; then if [ -d /usr/include/ffmpeg ]; then
export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/include/ffmpeg" export RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -I/usr/include/ffmpeg"
fi fi
if ! rpm -E %%cmake|grep -q "cd build"; then if ! rpm -E %%cmake|grep -q "cd build"; then

Loading…
Cancel
Save