summaryrefslogtreecommitdiff
path: root/libre/mplayer-libre
diff options
context:
space:
mode:
authorSorin-Mihai Vârgolici <smv@yobicore.org>2011-03-30 23:31:13 +0300
committerSorin-Mihai Vârgolici <smv@yobicore.org>2011-03-30 23:31:13 +0300
commitb0bc002fab7222d3693f6cf15a8c82ee3912d728 (patch)
treec735299a9a1d938c7ed96f0edafa6237dcd95bfe /libre/mplayer-libre
parente26adb29beba0e6db3f4eae2d095da120148a198 (diff)
update
Diffstat (limited to 'libre/mplayer-libre')
-rw-r--r--libre/mplayer-libre/PKGBUILD15
-rw-r--r--libre/mplayer-libre/mplayer.desktop2
-rw-r--r--libre/mplayer-libre/mplayer.install11
3 files changed, 19 insertions, 9 deletions
diff --git a/libre/mplayer-libre/PKGBUILD b/libre/mplayer-libre/PKGBUILD
index 2d988c976..87139f7fa 100644
--- a/libre/mplayer-libre/PKGBUILD
+++ b/libre/mplayer-libre/PKGBUILD
@@ -4,21 +4,24 @@
# Maintainer for Parabola GNU/Linux: Omar Botta <omarbotta@gnulinuxlibre.net>
pkgname=mplayer-libre
-pkgver=32792
+pkgver=33159
pkgrel=1
pkgdesc="A movie player for linux. Libre version without faac."
arch=('i686' 'x86_64')
depends=('libxxf86dga' 'libxxf86vm' 'libmad' 'cdparanoia' 'libxinerama' 'sdl' 'lame' 'libtheora' 'xvidcore' 'libmng' 'libxss'
- 'libgl' 'smbclient' 'aalib' 'jack' 'libcaca' 'x264' 'lirc-utils' 'ttf-dejavu' 'libxvmc' 'enca' 'libvdpau>=0.4'
- 'opencore-amr' 'libdca' 'a52dec' 'schroedinger' 'libvpx' 'libpulse' 'speex')
+ 'libgl' 'smbclient' 'aalib' 'jack' 'libcaca' 'x264' 'lirc-utils' 'ttf-dejavu' 'libxvmc' 'enca' 'libvdpau'
+ 'opencore-amr' 'libdca' 'a52dec' 'schroedinger' 'libvpx' 'libpulse' 'speex' 'fribidi' 'desktop-file-utils')
license=('GPL')
url="http://www.mplayerhq.hu/"
-makedepends=('unzip' 'mesa' 'live-media>=2010.01.13' 'yasm')
+makedepends=('unzip' 'mesa' 'live-media' 'yasm')
backup=('etc/mplayer/codecs.conf' 'etc/mplayer/input.conf')
source=(ftp://ftp.archlinux.org/other/${pkgname%-libre}/${pkgname%-libre}-${pkgver}.tar.xz mplayer.desktop mplayer.png)
provides=("mplayer=$pkgver")
conflicts=('mplayer')
replaces=("mplayer=$pkgver")
+md5sums=('caedcdc1e50b5575c38c2a85f9c53afc'
+ '647b9f4ab5284a7fef3f84f992214e77'
+ 'd00874ccc644b7f43d6ef1c942fcef28')
build() {
# Custom CFLAGS break the mplayer build
@@ -33,7 +36,6 @@ build() {
--disable-liblzo \
--enable-speex \
--disable-openal \
- --disable-fribidi \
--disable-libdv \
--disable-musepack \
--disable-esd \
@@ -55,6 +57,3 @@ build() {
install -Dm644 ${srcdir}/mplayer.desktop ${pkgdir}/usr/share/applications/mplayer.desktop
install -Dm644 ${srcdir}/mplayer.png ${pkgdir}/usr/share/pixmaps/mplayer.png
}
-md5sums=('a48845de4b410ab7799ee87a038dd58e'
- 'c0d6ef795cf6de48e3b87ff7c23f0319'
- 'd00874ccc644b7f43d6ef1c942fcef28')
diff --git a/libre/mplayer-libre/mplayer.desktop b/libre/mplayer-libre/mplayer.desktop
index 07acea13f..e3229d042 100644
--- a/libre/mplayer-libre/mplayer.desktop
+++ b/libre/mplayer-libre/mplayer.desktop
@@ -14,7 +14,7 @@ Comment[zh]=多媒体播放器
Comment[pl]=Odtwarzaj filmy i muzykę
Icon=mplayer
TryExec=mplayer
-Exec=mplayer %F
+Exec=mplayer -really-quiet %F
Terminal=false
NoDisplay=true
Categories=GTK;AudioVideo;Audio;Video;Player;TV;
diff --git a/libre/mplayer-libre/mplayer.install b/libre/mplayer-libre/mplayer.install
new file mode 100644
index 000000000..660593cf5
--- /dev/null
+++ b/libre/mplayer-libre/mplayer.install
@@ -0,0 +1,11 @@
+post_install() {
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}