Date: Sunday, February 24, 2013 @ 15:29:30 Author: bpiotrowski Revision: 84777
archrelease: copy trunk to community-i686 Added: mplayer2/repos/community-i686/PKGBUILD (from rev 84776, mplayer2/trunk/PKGBUILD) mplayer2/repos/community-i686/mplayer2.install (from rev 84776, mplayer2/trunk/mplayer2.install) Deleted: mplayer2/repos/community-i686/PKGBUILD mplayer2/repos/community-i686/mplayer2.install ------------------+ PKGBUILD | 110 ++++++++++++++++++++++++++--------------------------- mplayer2.install | 22 +++++----- 2 files changed, 66 insertions(+), 66 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2013-02-24 14:29:20 UTC (rev 84776) +++ PKGBUILD 2013-02-24 14:29:30 UTC (rev 84777) @@ -1,55 +0,0 @@ -# $Id$ -# Maintainer: Bartłomiej Piotrowski <nos...@bpiotrowski.pl> -# Contributor: Martin Panter <vadmium+...@gmail.com> -# Contributor: Stéphane Gaudreault <steph...@archlinux.org> - -pkgname=mplayer2 -pkgver=20130126 -pkgrel=1 -pkgdesc='Advanced general-purpose media player. A fork of the original MPlayer project' -arch=('i686' 'x86_64') -license=('GPL') -url="http://www.mplayer2.org/" -install=$pkgname.install -depends=('a52dec' 'aalib' 'cdparanoia' 'desktop-file-utils' 'enca' 'faad2' 'ffmpeg' - 'fontconfig' 'freetype2' 'jack' 'ladspa' 'lame' 'libass' 'libbluray' - 'libcaca' 'libcdio-paranoia' 'libdca' 'libdvdcss' 'libdvdnav' 'libdvdread' - 'libgl' 'libjpeg' 'libmad' 'libpulse' 'libquvi' 'libtheora' 'libvdpau' - 'libxinerama' 'libxss' 'libxv' 'libxxf86dga' 'libxxf86vm' 'lirc-utils' - 'mpg123' 'ncurses' 'sdl' 'ttf-dejavu') -makedepends=('mesa' 'unzip' 'yasm' 'python' 'python-docutils') -backup=('etc/mplayer/codecs.conf' 'etc/mplayer/input.conf') -provides=('mplayer') -conflicts=('mplayer') -options=(!emptydirs) -source=(ftp://ftp.archlinux.org/other/community/$pkgname/$pkgname-$pkgver.tar.xz) -sha256sums=('53faf18a1bedb76e980255410b56e59ea4cd5f69984832fc5e942e15dc89622b') - -build() { - cd $srcdir/$pkgname-$pkgver - - sed 's/gmplayer/mplayer/g' -i etc/mplayer.desktop - find -type f -exec sed -e 's/python3/python/' -i {} \; - - ./configure --prefix=/usr --confdir=/etc/mplayer \ - --enable-translation --language=all \ - --enable-runtime-cpudetection \ - --enable-joystick \ - --disable-speex \ - --disable-openal \ - --disable-libdv \ - --disable-musepack - make -} - -package() { - cd $srcdir/$pkgname-$pkgver - make DESTDIR=$pkgdir install - - install -Dm644 etc/{codecs.conf,input.conf,example.conf} $pkgdir/etc/mplayer/ - install -dm755 $pkgdir/usr/share/mplayer/ - ln -s /usr/share/fonts/TTF/DejaVuSans.ttf $pkgdir/usr/share/mplayer/subfont.ttf - - install -dm755 $pkgdir/usr/share/applications/ - install -m 644 etc/mplayer.desktop $pkgdir/usr/share/applications/ -} Copied: mplayer2/repos/community-i686/PKGBUILD (from rev 84776, mplayer2/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2013-02-24 14:29:30 UTC (rev 84777) @@ -0,0 +1,55 @@ +# $Id$ +# Maintainer: Bartłomiej Piotrowski <nos...@bpiotrowski.pl> +# Contributor: Martin Panter <vadmium+...@gmail.com> +# Contributor: Stéphane Gaudreault <steph...@archlinux.org> + +pkgname=mplayer2 +pkgver=20130126 +pkgrel=1 +pkgdesc='Advanced general-purpose media player. A fork of the original MPlayer project' +arch=('i686' 'x86_64') +license=('GPL') +url="http://www.mplayer2.org/" +install=$pkgname.install +depends=('a52dec' 'aalib' 'cdparanoia' 'desktop-file-utils' 'enca' 'faad2' 'ffmpeg' + 'fontconfig' 'freetype2' 'jack' 'ladspa' 'lame' 'libass' 'libbluray' + 'libcaca' 'libcdio-paranoia' 'libdca' 'libdvdcss' 'libdvdnav' 'libdvdread' + 'libgl' 'libjpeg' 'libmad' 'libpulse' 'libquvi' 'libtheora' 'libvdpau' + 'libxinerama' 'libxss' 'libxv' 'libxxf86dga' 'libxxf86vm' 'lirc-utils' + 'mpg123' 'ncurses' 'sdl' 'ttf-dejavu') +makedepends=('mesa' 'mesa-libgl' 'unzip' 'yasm' 'python' 'python-docutils') +backup=('etc/mplayer/codecs.conf' 'etc/mplayer/input.conf') +provides=('mplayer') +conflicts=('mplayer') +options=(!emptydirs) +source=(ftp://ftp.archlinux.org/other/community/$pkgname/$pkgname-$pkgver.tar.xz) +sha256sums=('53faf18a1bedb76e980255410b56e59ea4cd5f69984832fc5e942e15dc89622b') + +build() { + cd $srcdir/$pkgname-$pkgver + + sed 's/gmplayer/mplayer/g' -i etc/mplayer.desktop + find -type f -exec sed -e 's/python3/python/' -i {} \; + + ./configure --prefix=/usr --confdir=/etc/mplayer \ + --enable-translation --language=all \ + --enable-runtime-cpudetection \ + --enable-joystick \ + --disable-speex \ + --disable-openal \ + --disable-libdv \ + --disable-musepack + make +} + +package() { + cd $srcdir/$pkgname-$pkgver + make DESTDIR=$pkgdir install + + install -Dm644 etc/{codecs.conf,input.conf,example.conf} $pkgdir/etc/mplayer/ + install -dm755 $pkgdir/usr/share/mplayer/ + ln -s /usr/share/fonts/TTF/DejaVuSans.ttf $pkgdir/usr/share/mplayer/subfont.ttf + + install -dm755 $pkgdir/usr/share/applications/ + install -m 644 etc/mplayer.desktop $pkgdir/usr/share/applications/ +} Deleted: mplayer2.install =================================================================== --- mplayer2.install 2013-02-24 14:29:20 UTC (rev 84776) +++ mplayer2.install 2013-02-24 14:29:30 UTC (rev 84777) @@ -1,11 +0,0 @@ -post_install() { - update-desktop-database -q -} - -post_upgrade() { - post_install -} - -post_remove() { - post_install -} Copied: mplayer2/repos/community-i686/mplayer2.install (from rev 84776, mplayer2/trunk/mplayer2.install) =================================================================== --- mplayer2.install (rev 0) +++ mplayer2.install 2013-02-24 14:29:30 UTC (rev 84777) @@ -0,0 +1,11 @@ +post_install() { + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +}