summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/mplayer/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-02-18 04:45:40 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-02-18 04:45:40 (GMT)
commit6912c0c8754f2668f3ec0dfde621f70e4fe04f79 (patch)
treed33cd05debaacee90971b789ed05b4f4d363d0c5 /abs/core-testing/mplayer/PKGBUILD
parentb3a2223ff84b6b0026c79a4766b2eb46324d8525 (diff)
parent110ffb1327b2f5e1a47373973efbae923456a38d (diff)
downloadlinhes_pkgbuild-6912c0c8754f2668f3ec0dfde621f70e4fe04f79.zip
linhes_pkgbuild-6912c0c8754f2668f3ec0dfde621f70e4fe04f79.tar.gz
linhes_pkgbuild-6912c0c8754f2668f3ec0dfde621f70e4fe04f79.tar.bz2
Merge branch 'HEAD' of ssh://jams@knoppmyth.net/mount/repository/LinHES-PKGBUILD.git
Diffstat (limited to 'abs/core-testing/mplayer/PKGBUILD')
-rw-r--r--abs/core-testing/mplayer/PKGBUILD9
1 files changed, 7 insertions, 2 deletions
diff --git a/abs/core-testing/mplayer/PKGBUILD b/abs/core-testing/mplayer/PKGBUILD
index 612c790..724a8cf 100644
--- a/abs/core-testing/mplayer/PKGBUILD
+++ b/abs/core-testing/mplayer/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=mplayer
pkgver=28347
-pkgrel=2
+pkgrel=3
pkgdesc="A movie player for linux"
arch=('i686' 'x86_64')
depends=('libxxf86dga' 'libxv' 'libmad' 'giflib' 'cdparanoia' 'gtk2'
@@ -13,7 +13,7 @@ depends=('libxxf86dga' 'libxv' 'libmad' 'giflib' 'cdparanoia' 'gtk2'
license=('GPL')
url="http://www.mplayerhq.hu/"
makedepends=('libcaca' 'unzip' 'live-media' 'libdca' 'mesa')
-backup=('etc/mplayer/codecs.conf' 'etc/mplayer/input.conf')
+backup=('etc/mplayer/codecs.conf' 'etc/mplayer/input.conf' 'etc/mplayer/mplayer.conf')
source=(ftp://ftp.archlinux.org/other/mplayer/${pkgname}-${pkgver}.tar.bz2
http://www.mplayerhq.hu/MPlayer/skins/Blue-1.7.tar.bz2)
md5sums=('41fb540025a51930d318e99728a19c66'
@@ -39,6 +39,11 @@ build() {
make || return 1
make -j1 DESTDIR=${pkgdir} install || return 1
cp etc/{codecs.conf,input.conf,example.conf} ${pkgdir}/etc/mplayer/
+ if [ ! -e ${pkgdir}/etc/mplayer/mplayer.conf ]; then
+ echo "# Write your default config options here" > ${pkgdir}/etc/mplayer/mplayer.conf
+ echo "" >> ${pkgdir}/etc/mplayer/mplayer.conf
+ fi
+
ln -s /usr/share/fonts/TTF/DejaVuSans.ttf ${pkgdir}/usr/share/mplayer/subfont.ttf
rm -rf ${pkgdir}/usr/share/mplayer/font
mv ${srcdir}/Blue ${pkgdir}/usr/share/mplayer/skins/default