[arch-commits] Commit in mplayer2/repos (6 files)

Bartłomiej Piotrowski bpiotrowski at nymeria.archlinux.org
Mon Apr 29 11:14:11 UTC 2013


    Date: Monday, April 29, 2013 @ 13:14:10
  Author: bpiotrowski
Revision: 89416

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  mplayer2/repos/community-staging-i686/
  mplayer2/repos/community-staging-i686/PKGBUILD
    (from rev 89415, mplayer2/trunk/PKGBUILD)
  mplayer2/repos/community-staging-i686/mplayer2.install
    (from rev 89415, mplayer2/trunk/mplayer2.install)
  mplayer2/repos/community-staging-x86_64/
  mplayer2/repos/community-staging-x86_64/PKGBUILD
    (from rev 89415, mplayer2/trunk/PKGBUILD)
  mplayer2/repos/community-staging-x86_64/mplayer2.install
    (from rev 89415, mplayer2/trunk/mplayer2.install)

-------------------------------------------+
 community-staging-i686/PKGBUILD           |   59 ++++++++++++++++++++++++++++
 community-staging-i686/mplayer2.install   |   11 +++++
 community-staging-x86_64/PKGBUILD         |   59 ++++++++++++++++++++++++++++
 community-staging-x86_64/mplayer2.install |   11 +++++
 4 files changed, 140 insertions(+)

Copied: mplayer2/repos/community-staging-i686/PKGBUILD (from rev 89415, mplayer2/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2013-04-29 11:14:10 UTC (rev 89416)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer:  Bartłomiej Piotrowski <nospam at bpiotrowski.pl>
+# Contributor: Martin Panter <vadmium+aur at gmail.com>
+# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
+
+pkgname=mplayer2
+pkgver=20130309
+pkgrel=2
+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{,.sig})
+sha256sums=('03aeccbd82b3598e0656b54ae6ab60c79afdb78eabe1b2915e7912db7efbd343'
+            'SKIP')
+
+prepare() {
+  cd $pkgname-$pkgver
+  sed 's/gmplayer/mplayer/g' -i etc/mplayer.desktop
+  find -type f -exec sed -e 's/python3/python/' -i {} \;
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  ./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 $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-staging-i686/mplayer2.install (from rev 89415, mplayer2/trunk/mplayer2.install)
===================================================================
--- community-staging-i686/mplayer2.install	                        (rev 0)
+++ community-staging-i686/mplayer2.install	2013-04-29 11:14:10 UTC (rev 89416)
@@ -0,0 +1,11 @@
+post_install() {
+    update-desktop-database -q
+}
+
+post_upgrade() {
+    post_install
+}
+
+post_remove() {
+    post_install
+}

Copied: mplayer2/repos/community-staging-x86_64/PKGBUILD (from rev 89415, mplayer2/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2013-04-29 11:14:10 UTC (rev 89416)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer:  Bartłomiej Piotrowski <nospam at bpiotrowski.pl>
+# Contributor: Martin Panter <vadmium+aur at gmail.com>
+# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
+
+pkgname=mplayer2
+pkgver=20130309
+pkgrel=2
+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{,.sig})
+sha256sums=('03aeccbd82b3598e0656b54ae6ab60c79afdb78eabe1b2915e7912db7efbd343'
+            'SKIP')
+
+prepare() {
+  cd $pkgname-$pkgver
+  sed 's/gmplayer/mplayer/g' -i etc/mplayer.desktop
+  find -type f -exec sed -e 's/python3/python/' -i {} \;
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  ./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 $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-staging-x86_64/mplayer2.install (from rev 89415, mplayer2/trunk/mplayer2.install)
===================================================================
--- community-staging-x86_64/mplayer2.install	                        (rev 0)
+++ community-staging-x86_64/mplayer2.install	2013-04-29 11:14:10 UTC (rev 89416)
@@ -0,0 +1,11 @@
+post_install() {
+    update-desktop-database -q
+}
+
+post_upgrade() {
+    post_install
+}
+
+post_remove() {
+    post_install
+}




More information about the arch-commits mailing list