summaryrefslogtreecommitdiff
path: root/libre/mplayer-libre
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2011-03-30 20:04:16 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2011-03-30 20:04:16 -0300
commitc557f30216ad480236f6718f7f4a52a288976963 (patch)
tree819aee5b3ccc698f89c721bf0560a35d3e700346 /libre/mplayer-libre
parent3d59f3d46e196f99205ace6fb358497a55bccb72 (diff)
parent6dc47c0ff1fc23829857a07b801a78b86047f686 (diff)
downloadabslibre-c557f30216ad480236f6718f7f4a52a288976963.tar.gz
abslibre-c557f30216ad480236f6718f7f4a52a288976963.tar.bz2
abslibre-c557f30216ad480236f6718f7f4a52a288976963.zip
Merge git://delta.yobicore.org/abslibre
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
+}