Commit bc047a88 authored by Phil's avatar Phil
Browse files

update mplayer

parent 7fc668fb
......@@ -5,7 +5,7 @@
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=mplayer
pkgver=32663
pkgver=32841
pkgrel=1
pkgdesc="A movie player for linux"
arch=('i686' 'x86_64')
......@@ -16,11 +16,33 @@ license=('GPL')
url="http://www.mplayerhq.hu/"
makedepends=('unzip' 'mesa' 'live-media>=2010.01.13' 'yasm')
backup=('etc/mplayer/codecs.conf' 'etc/mplayer/input.conf')
source=(http://chakra-project.org/sources/${pkgname}/${pkgname}-${pkgver}.tar.xz mplayer.desktop mplayer.png)
md5sums=('b783223d0a175cb1d2f5bcdc99d2f781'
source=(http://chakra-project.org/sources/${pkgname}/${pkgname}-${pkgver}-${pkgrel}.tar.xz mplayer.desktop mplayer.png)
md5sums=('6195143df125da5feae41f474e81e3d8'
'c0d6ef795cf6de48e3b87ff7c23f0319'
'd00874ccc644b7f43d6ef1c942fcef28')
# create tarball: source PKGBUILD && mksource
mksource() {
rm -vRf ${pkgname}
msg "checkout mplayer"
_pkgver=`svn info svn://svn.mplayerhq.hu/mplayer/trunk | grep Revision: | cut -d' ' -f2`
svn co svn://svn.mplayerhq.hu/mplayer/trunk --config-dir ./ ${pkgname} || return 1
cd ${pkgname}
msg "checkout ffmpeg"
git clone git://git.videolan.org/ffmpeg.git ffmpeg
msg "clean checkout"
rm -vRf ffmpeg/.git
find . -name ".svn" -exec rm -rf {} \;
cd ..
pushd ${pkgname}
popd
msg "pack checkout"
tar -cvJf ${pkgname}-${_pkgver}-${pkgrel}.tar.xz ${pkgname}/*
md5sum ${pkgname}-${_pkgver}-${pkgrel}.tar.xz
msg "change pkgver to ${_pkgver}"
}
build() {
# Custom CFLAGS break the mplayer build
unset CFLAGS LDFLAGS
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment