qdvdauthor.spec bei OBS
%build
cd ..
pwd
cd ffmpeg-0.6.7
CFLAGS="-Wno-implicit-function-declaration" \
./configure \
--prefix="%{_builddir}/qdvdauthor-%{tar_version2}/qrender/ffmpeg-0.6.7" \
--disable-ffmpeg \
--disable-ffplay \
--disable-ffprobe \
--disable-ffserver \
--disable-doc \
--enable-static \
--enable-shared
make %{?_smp_mflags}
make install
cd ..
export PKG_CONFIG_LIBDIR="%{_builddir}/qdvdauthor-%{tar_version2}/qrender/ffmpeg-0.6.7/lib/pkgconfig"
export PKG_CONFIG_PATH="${PKG_CONFIG_LIBDIR}:/usr/lib/pkgconfig:/usr/share/pkgconfig"
#cd qdvdauthor-2.3.1
cmake -S "qdvdauthor-%{tar_version2}" -B build -DCMAKE_INSTALL_PREFIX=/usr -DFFMPEG_DIRS="%{_builddir}/qdvdauthor-%{tar_version2}/qrender/ffmpeg-0.6.7"
cmake --build buildwie in debian/rules übertragen?