summaryrefslogtreecommitdiff
path: root/libquicktime/Pkgfile
blob: e024de66c4a11ad4ea64bd7238ed3f55f4352d19 (plain)
    1 # Description: A library based on quicktime4linux with extensions.
    2 # URL: http://libquicktime.sourceforge.net/
    3 # Maintainer: Danny Rawlins, crux at romster dot me
    4 # Depends on: faac faad2 ffmpeg gtk lame libdv libvorbis schroedinger util-linux x264 xorg-libxaw
    5 
    6 name=libquicktime
    7 version=1.2.4
    8 release=4
    9 source=(https://downloads.sourceforge.net/project/$name/$name/$version/$name-$version.tar.gz
   10 	CVE-2016-2399.patch
   11 	libquicktime-1.2.4-ffmpeg2.patch
   12 	libquicktime-1.2.4-ffmpeg29.patch
   13 	libquicktime-1.2.4-ffmpeg4.patch)
   14 
   15 build() {
   16 	cd $name-$version
   17 
   18 	patch -p 1 -i $SRC/CVE-2016-2399.patch
   19 	patch -p 1 -i $SRC/libquicktime-1.2.4-ffmpeg2.patch
   20 	patch -p 1 -i $SRC/libquicktime-1.2.4-ffmpeg29.patch
   21 	patch -p 1 -i $SRC/libquicktime-1.2.4-ffmpeg4.patch
   22 	for FILE in lqt_ffmpeg.c video.c audio.c ; do
   23 		sed -i -e "s:CODEC_ID_:AV_&:g" "plugins/ffmpeg/${FILE}"
   24 	done
   25 
   26 	./configure \
   27 		--prefix=/usr \
   28 		--enable-gpl \
   29 		--disable-nls \
   30 		--with-libdv \
   31 		--with-ffmpeg \
   32 		--with-x264 \
   33 		--without-doxygen
   34 
   35 	make
   36 	make DESTDIR=$PKG install
   37 }

Generated by cgit