[arch-commits] Commit in mplayer/trunk (PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Tue Apr 2 22:17:58 UTC 2019


    Date: Tuesday, April 2, 2019 @ 22:17:57
  Author: anthraxx
Revision: 349712

upgpkg: mplayer 38125-4 (extended and explicit deps)

Modified:
  mplayer/trunk/PKGBUILD

----------+
 PKGBUILD |   46 +++++++++++++++++++++++++++++++++-------------
 1 file changed, 33 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-02 21:05:36 UTC (rev 349711)
+++ PKGBUILD	2019-04-02 22:17:57 UTC (rev 349712)
@@ -6,15 +6,24 @@
 pkgbase=mplayer
 pkgname=('mplayer' 'mencoder')
 pkgver=38125
-pkgrel=3
+pkgrel=4
 pkgdesc='Media player for Linux'
 url='http://www.mplayerhq.hu/'
 arch=('x86_64')
 license=('GPL')
-makedepends=('libxxf86dga' 'libmad' 'libxinerama' 'libmng' 'libxss' 'smbclient' 'aalib' 'jack'
-             'libcaca' 'faac' 'faad2' 'lirc'  'libxvmc' 'enca' 'libdca' 'a52dec' 'libvpx' 'unzip'
-             'mesa' 'live-media' 'yasm' 'git' 'mpg123' 'ladspa' 'libcdio-paranoia' 'subversion'
-             'x264' 'rtmpdump' 'libdvdcss' 'libdvdread' 'libdvdnav' 'ffmpeg')
+makedepends=('libxxf86dga' 'libxxf86vm' 'libmad' 'libxinerama' 'libmng' 'libxss'
+             'smbclient' 'aalib' 'jack' 'libcaca' 'faac' 'faad2' 'lirc' 'libxv'
+             'libxvmc' 'enca' 'libdca' 'a52dec' 'libvpx' 'unzip' 'mesa'
+             'live-media' 'yasm' 'git' 'mpg123' 'ladspa' 'libcdio' 'zlib'
+             'libcdio-paranoia' 'subversion' 'x264' 'libx264.so' 'rtmpdump'
+             'libdvdcss' 'libdvdread' 'libdvdnav' 'ffmpeg' 'giflib' 'libgif.so'
+             'libbs2b' 'fribidi' 'opus' 'libvorbis' 'libvorbis.so' 'gsm'
+             'libpulse' 'alsa-lib' 'glibc' 'libass' 'libass.so' 'libjpeg'
+             'libpng' 'libogg' 'libtheora' 'libbluray' 'libbluray.so'
+             'xvidcore' 'libxvidcore.so' 'ncurses' 'libncursesw.so'
+             'fontconfig' 'freetype2' 'libx11' 'libxext' 'libvdpau' 'libgl'
+             'lame' 'desktop-file-utils' 'ttf-font' 'openal' 'speex'
+             'libmpeg2')
 options=('!emptydirs')
 source=(${pkgbase}-${pkgver}::"svn://svn.mplayerhq.hu/mplayer/trunk#revision=${pkgver}"
         mplayer.desktop
@@ -45,8 +54,6 @@
     --disable-gui \
     --disable-arts \
     --disable-liblzo \
-    --disable-speex \
-    --disable-openal \
     --disable-libdv \
     --disable-musepack \
     --disable-esd \
@@ -60,7 +67,7 @@
     --enable-smb \
     --language=all \
     --confdir=/etc/mplayer \
-    --extra-cflags="${CFLAGS}" \
+    --extra-cflags="${CFLAGS} ${CPPFLAGS}" \
     --extra-ldflags="${LDFLAGS}"
   [[ "${CARCH}" = "i686" ]] && sed 's|-march=i486|-march=i686|g' -i config.mak
   make
@@ -68,11 +75,18 @@
 
 package_mplayer() {
   pkgdesc='Media player for Linux'
-  backup=('etc/mplayer/codecs.conf' 'etc/mplayer/input.conf')
+  backup=('etc/mplayer/codecs.conf'
+          'etc/mplayer/input.conf')
   depends=('desktop-file-utils' 'ttf-font' 'enca' 'libxss' 'a52dec' 'libvpx'
            'lirc' 'x264' 'libmng' 'libdca' 'aalib' 'libxinerama' 'smbclient'
-           'jack' 'libmad' 'libcaca' 'libxxf86dga' 'faac' 'faad2' 'libxvmc' 'mpg123'
-           'libcdio-paranoia' 'rtmpdump' 'libdvdnav' 'ffmpeg')
+           'jack' 'libmad' 'libcaca' 'libxxf86dga' 'libxxf86vm' 'faac' 'faad2'
+           'libxv' 'libxvmc' 'mpg123' 'libx11' 'libcdio' 'libcdio-paranoia'
+           'rtmpdump' 'libdvdread' 'libdvdnav' 'ffmpeg' 'libbs2b' 'alsa-lib'
+           'giflib' 'libgif.so' 'glibc' 'libass' 'libass.so' 'zlib' 'libjpeg'
+           'libpng' 'libpulse' 'libogg' 'fribidi' 'libtheora' 'libvorbis'
+           'libvorbis.so' 'libbluray' 'libbluray.so' 'xvidcore'
+           'libxvidcore.so' 'ncurses' 'libncursesw.so' 'fontconfig' 'freetype2'
+           'libxext' 'libvdpau' 'libgl' 'openal' 'speex' 'libmpeg2')
 
   cd ${pkgbase}-${pkgver}
   make DESTDIR="${pkgdir}" install-mplayer install-mplayer-man
@@ -84,8 +98,14 @@
 
 package_mencoder() {
   pkgdesc='Free command line video decoding, encoding and filtering tool'
-  depends=('enca' 'a52dec' 'libvpx' 'x264' 'libmng' 'libdca' 'smbclient' 'libmad'
-           'faac' 'faad2' 'mpg123' 'libcdio-paranoia' 'rtmpdump' 'libdvdnav' 'ffmpeg')
+  depends=('glibc' 'enca' 'a52dec' 'libvpx' 'x264' 'libx264.so' 'libmng' 'libdca'
+           'smbclient' 'libmad' 'faac' 'faad2' 'mpg123' 'libcdio'
+           'libcdio-paranoia' 'rtmpdump' 'libdvdread' 'libdvdnav' 'ffmpeg'
+           'libbs2b' 'ncurses' 'libncursesw.so' 'zlib' 'alsa-lib' 'fontconfig'
+           'freetype2' 'fribidi' 'giflib' 'libgif.so' 'libvorbis'
+           'libvorbis.so' 'libpng' 'libjpeg' 'libass' 'libass.so' 'lame'
+           'libbluray' 'libbluray.so' 'libtheora' 'xvidcore' 'libxvidcore.so'
+           'openal' 'speex' 'libmpeg2')
 
   make -C ${pkgbase}-${pkgver} DESTDIR="${pkgdir}" install-mencoder install-mencoder-man
   find "${pkgdir}/usr/share/man" -name mplayer.1 -exec rename mplayer.1 mencoder.1 {} +


More information about the arch-commits mailing list