diff options
Diffstat (limited to 'community/ffmpegsource/PKGBUILD')
-rwxr-xr-x | community/ffmpegsource/PKGBUILD | 50 |
1 files changed, 18 insertions, 32 deletions
diff --git a/community/ffmpegsource/PKGBUILD b/community/ffmpegsource/PKGBUILD index b6350db93..c434b18b0 100755 --- a/community/ffmpegsource/PKGBUILD +++ b/community/ffmpegsource/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 85215 2013-02-27 18:14:32Z alucryd $ +# $Id: PKGBUILD 88204 2013-04-13 20:20:33Z alucryd $ # Maintainer: Maxime Gauduin <alucryd@gmail.com> pkgname=ffmpegsource -pkgver=743 -pkgrel=2 +pkgver=753 +pkgrel=1 pkgdesc="A libav/ffmpeg based source library and Avisynth plugin for easy frame accurate access" arch=('i686' 'x86_64' 'mips64el') url="http://code.google.com/p/ffmpegsource/" @@ -11,49 +11,35 @@ license=('MIT') depends=('ffmpeg') makedepends=('svn') options=('!libtool') -source=('autoconf.patch' 'enable-libavresample.patch') -sha256sums=('b09a7e9a08a16bdaf19d43c7ad8d3ec455f6fecec2f4f5ada417345343adda93' - '05f03515cc2405cdf8a8ba835f5adc2057f40054a4a1d9e493f0ad512c5de70d') +source=("${pkgname}::svn+http://ffmpegsource.googlecode.com/svn/trunk/" + 'autoconf.patch') +sha256sums=('SKIP' + 'b09a7e9a08a16bdaf19d43c7ad8d3ec455f6fecec2f4f5ada417345343adda93') -_svntrunk=http://ffmpegsource.googlecode.com/svn/trunk/ -_svnmod=ffmpegsource +pkgver() { + cd "${SRCDEST}"/${pkgname} -build() { - cd "${srcdir}" - -# Checkout - msg "Connecting to SVN server...." - - if [[ -d ${_svnmod}/.svn ]]; then - (cd ${_svnmod} && svn up -r ${pkgver}) - else - svn co ${_svntrunk} --config-dir ./ -r ${pkgver} ${_svnmod} - fi + svnversion | tr -d [A-z] +} - msg "SVN checkout done or server timeout" - msg "Starting build..." +prepare() { + cd "${srcdir}"/${pkgname} - rm -rf "${srcdir}"/${_svnmod}-build -# svn export "${srcdir}"/${_svnmod} "${srcdir}"/${_svnmod}-build - cp -R "${srcdir}"/${_svnmod} "${srcdir}"/${_svnmod}-build - cd "${srcdir}"/${_svnmod}-build + patch -Np1 -i ../autoconf.patch +} -# Patch - patch -Np1 -i "${srcdir}"/autoconf.patch - patch -Np1 -i "${srcdir}"/enable-libavresample.patch +build() { + cd "${srcdir}"/${pkgname} -# Build ./autogen.sh --prefix=/usr --enable-shared --disable-static make } package() { - cd "${srcdir}"/${_svnmod}-build + cd "${srcdir}"/${pkgname} -# Install make DESTDIR="${pkgdir}" install -# License install -dm 755 "${pkgdir}"/usr/share/licenses/ffmpegsource install -m 644 COPYING "${pkgdir}"/usr/share/licenses/ffmpegsource/LICENSE } |