diff options
author | jose1711 | 2017-11-21 23:35:53 +0100 |
---|---|---|
committer | jose1711 | 2017-11-21 23:35:53 +0100 |
commit | 56b2482e6b101aa06da4fc9c08098dcd32491b41 (patch) | |
tree | 86778878862e5eb8171de401d299eb0d21437855 | |
parent | 84ed2ace9ac7dce586566e625340eed93a8addc3 (diff) | |
download | aur-56b2482e6b101aa06da4fc9c08098dcd32491b41.tar.gz |
Fix compilation
-rw-r--r-- | .SRCINFO | 9 | ||||
-rw-r--r-- | PKGBUILD | 24 |
2 files changed, 25 insertions, 8 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Sun Oct 16 15:52:49 UTC 2016 +# Tue Nov 21 22:35:29 UTC 2017 pkgbase = untrunc-git pkgdesc = restore a damaged (truncated) mp4, m4v, mov, 3gp video - pkgver = r31.07be275 - pkgrel = 2 + pkgver = r46.06ee3da + pkgrel = 1 url = https://github.com/ponchio/untrunc arch = x86_64 arch = i686 @@ -11,10 +11,13 @@ pkgbase = untrunc-git makedepends = qconf depends = ffmpeg depends = qt5-base + noextract = libav-12.2.tar.xz source = untrunc-git::git+https://github.com/ponchio/untrunc.git source = framealloc.patch + source = http://libav.org/releases/libav-12.2.tar.xz md5sums = SKIP md5sums = 7f6cf1762cd93f4ce84cb218ab856ea3 + md5sums = 69b5d9de6e4b2fbf6956653f61c7ffe1 pkgname = untrunc-git @@ -2,24 +2,38 @@ # Contributor: archdaemon pkgname=untrunc-git -pkgver=r31.07be275 -pkgrel=2 +pkgver=r46.06ee3da +pkgrel=1 pkgdesc="restore a damaged (truncated) mp4, m4v, mov, 3gp video" arch=('x86_64' 'i686') url="https://github.com/ponchio/untrunc" license=('GPL2') depends=('ffmpeg' 'qt5-base') makedepends=('qconf') -source=("${pkgname}"::'git+https://github.com/ponchio/untrunc.git' 'framealloc.patch') +source=("${pkgname}"::'git+https://github.com/ponchio/untrunc.git' + 'framealloc.patch' + 'http://libav.org/releases/libav-12.2.tar.xz') md5sums=('SKIP' - '7f6cf1762cd93f4ce84cb218ab856ea3') + '7f6cf1762cd93f4ce84cb218ab856ea3' + '69b5d9de6e4b2fbf6956653f61c7ffe1') +noextract=('libav-12.2.tar.xz') + +prepare() { + cd $srcdir/$pkgname + tar xvJf ../libav-12.2.tar.xz +} build() { cd $srcdir/$pkgname git submodule init git submodule update - patch -p1 -i $srcdir/framealloc.patch + # patch -p1 -i $srcdir/framealloc.patch + # wget http://libav.org/releases/libav-12.2.tar.xz + cd libav-12.2 + ./configure make + cd .. + g++ -o untrunc file.cpp main.cpp track.cpp atom.cpp mp4.cpp -I./libav-12.2 -L./libav-12.2/libavformat -lavformat -L./libav-12.2/libavcodec -lavcodec -L./libav-12.2/libavresample -lavresample -L./libav-12.2/libavutil -lavutil -lpthread -lz -lbz2 -lX11 -lvdpau } pkgver() { |