summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libre/libquicktime/PKGBUILD15
1 files changed, 8 insertions, 7 deletions
diff --git a/libre/libquicktime/PKGBUILD b/libre/libquicktime/PKGBUILD
index 0953702bb..fbb49a6a6 100644
--- a/libre/libquicktime/PKGBUILD
+++ b/libre/libquicktime/PKGBUILD
@@ -5,8 +5,8 @@
pkgname=libquicktime
pkgver=1.2.4
-pkgrel=20
-pkgrel+=.par2
+pkgrel=21
+pkgrel+=.parabola1
pkgdesc="A library for reading and writing quicktime files"
pkgdesc+=", without nonfree faac support"
arch=('x86_64')
@@ -18,11 +18,11 @@ depends=('alsa-lib' 'faad2' 'gtk2' 'lame' 'libjpeg-turbo' 'libxaw'
'libavcodec.so' 'libswscale.so' 'libvorbisenc.so' 'libvorbisfile.so'
'libvorbis.so' 'libx264.so')
makedepends=('mesa-libgl')
-source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz"
- CVE-2016-2399.patch
+source=("https://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz"
+ CVE-2016-2399.patch
libquicktime-1.2.4-ffmpeg2.patch
- libquicktime-1.2.4-ffmpeg29.patch
- libquicktime-1.2.4-ffmpeg4.patch)
+ libquicktime-1.2.4-ffmpeg29.patch
+ libquicktime-1.2.4-ffmpeg4.patch)
sha256sums=('1c53359c33b31347b4d7b00d3611463fe5e942cae3ec0fefe0d2fd413fd47368'
'006c6be761075ca25217fe510e1ec7cfbb6262c3d758c1bd629719072ddb0935'
'2c7bb532ea8ac3b0e7a9a76ca6ad41127810529e7f7c2faac6f1e2f7c5c4bb93'
@@ -33,13 +33,14 @@ conflicts=("${pkgname}-libre" "${pkgname}-parabola")
prepare() {
cd $pkgname-$pkgver
+
# apply patches from gentoo https://gitweb.gentoo.org/repo/gentoo.git/tree/media-libs/libquicktime/files
patch -p1 -i "$srcdir/CVE-2016-2399.patch"
patch -p1 -i "$srcdir/libquicktime-1.2.4-ffmpeg2.patch"
patch -p1 -i "$srcdir/libquicktime-1.2.4-ffmpeg29.patch"
patch -p1 -i "$srcdir/libquicktime-1.2.4-ffmpeg4.patch"
for FILE in lqt_ffmpeg.c video.c audio.c ; do
- sed -i -e "s:CODEC_ID_:AV_&:g" "plugins/ffmpeg/${FILE}"
+ sed -i -e "s:CODEC_ID_:AV_&:g" "plugins/ffmpeg/${FILE}"
done
}